Need help with openCV + v4l2 + python + monochrome camera
Budget: €30 – €250 EUR
Hi
I have a monochrome camera which I need to be able to use in openCV in python.
supported pixel format bellow.
I am looking for someone who knows how to use open CV with v4l2 and is able to help me to write this "snippet" of code.
code:
- init camera
- take photo
- show it
-take another photo
- show it
$ v4l2-ctl --device /dev/video2 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: 'GREY' (8-bit Greyscale)
Size: Discrete 2592x1944
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.009s (112.000 fps)
[1]: 'Y12 ' (12-bit Greyscale)
Size: Discrete 2592x1944
Interval: Discrete 0.071s (14.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.009s (112.000 fps)
I have a monochrome camera which I need to be able to use in openCV in python.
supported pixel format bellow.
I am looking for someone who knows how to use open CV with v4l2 and is able to help me to write this "snippet" of code.
code:
- init camera
- take photo
- show it
-take another photo
- show it
$ v4l2-ctl --device /dev/video2 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: 'GREY' (8-bit Greyscale)
Size: Discrete 2592x1944
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.009s (112.000 fps)
[1]: 'Y12 ' (12-bit Greyscale)
Size: Discrete 2592x1944
Interval: Discrete 0.071s (14.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.009s (112.000 fps)