diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2016-02-16 13:42:27 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2016-02-16 13:42:27 +0100 |
commit | badc0cac8bd6c1997ac89b05bfe51976fe81d60a (patch) | |
tree | e0a758f7931ed6fa62fea94014a7fa77c741b21e | |
parent | 816babd47ffe25842f68144f9197cfef73759796 (diff) | |
download | uca-net-badc0cac8bd6c1997ac89b05bfe51976fe81d60a.tar.gz uca-net-badc0cac8bd6c1997ac89b05bfe51976fe81d60a.tar.bz2 uca-net-badc0cac8bd6c1997ac89b05bfe51976fe81d60a.tar.xz uca-net-badc0cac8bd6c1997ac89b05bfe51976fe81d60a.zip |
Update README
-rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -20,3 +20,14 @@ 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()) +``` |