summaryrefslogtreecommitdiffstats
path: root/docs/uca-net.rst
blob: e6ec1c5a1873e5c3a1f6baf7be38d8b090d401a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
TCP-based network bridge camera
===============================

`uca-net`_ is a transparent TCP-based network bridge camera for remote access of ``libuca``
cameras.

.. _uca-net: https://github.com/ufo-kit/uca-net


Installation
------------

The only dependency is libuca itself and any camera you wish to access.

Clone the repository::

    $ git clone https://github.com/ufo-kit/uca-net.git

and create a new build directory inside::

    $ cd uca-net/
    $ mkdir build

The installation process is the same as by ``libuca``::

    $ cd build/
    $ cmake ..
    $ make
    $ sudo make install


Usage
-----

You can start a server on a remote machine with::

    $ ucad camera-model

and connect to it from any other machine, for example::

    $ UCA_NET_HOST=foo.bar.com:4567 uca-grab -n 10 net  # grab ten frames
    $ uca-camera-control -c net     # control graphically