Skip to content
Update getting started with image streams authored by Vsevolod Vlaskine's avatar Vsevolod Vlaskine
...@@ -8,6 +8,10 @@ If your laptop or desktop has a webcam, try: ...@@ -8,6 +8,10 @@ If your laptop or desktop has a webcam, try:
``` ```
**view;null** above means: view image stream, then output nothing to stdout. **view;null** above means: view image stream, then output nothing to stdout.
If you don't have a webcam, pick some video and use **--file some-video.mp4** instead of **camera** in all subsequent examples:
```
> cv-cat --file some-video.mp4 "view;null"
```
# basic input/output and image filters # basic input/output and image filters
If you don't specify **null** the images **cv-cat** reads from your camera will be output to stdout in a simple binary format (see **image data format** section below). Try: If you don't specify **null** the images **cv-cat** reads from your camera will be output to stdout in a simple binary format (see **image data format** section below). Try:
...@@ -48,7 +52,11 @@ Now, let's play back **images.bin** in real time: ...@@ -48,7 +52,11 @@ Now, let's play back **images.bin** in real time:
``` ```
cat images.bin | csv-play --binary t,3ui,s[921600] | cv-cat "timestamp;view;null" cat images.bin | csv-play --binary t,3ui,s[921600] | cv-cat "timestamp;view;null"
``` ```
## image data format details ## binary image format
**snark** uses a custom image format. However, don't be disturbed by that for several reasons:
- **snark** image format is **very** simple and compatible with other image and non-image data representations
- **snark** image format is **optional**
- there are easy ways to convert **snark** image format from/to common image, video, and data formats
... ...
# potentially unmaintained documentation at other repository fork: # potentially unmaintained documentation at other repository fork:
... ...
......