summaryrefslogtreecommitdiffstats
path: root/README.md
blob: c27e6828c3989657d1d059521243ac51417d5c7f (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
## uca-net

A transparent TCP-based network bridge camera for remote access of libuca
cameras.

### Installation and usage

The only dependency is libuca itself and any camera you wish to access. Build
the server and client with

    $ mkdir build && cd build
    $ cmake ..
    $ make && (sudo) make install

Now, you can start a server on a remote machine with

    $ ucad mock

and connect to it from any other machine, e.g.

    $ uca-grab -n 10 net            # grab ten frames
    $ uca-camera-control -c net     # control graphically

or from [Concert](https://github.com/ufo-kit/concert)

```python
from concert.devices.cameras.uca import Camera

camera = Camera('net', {'host': 'foo.bar:1234'})

with camera.recording():
    print(camera.grab())
```