device service usb camera access /dev/video* through docker-compose #90
Unanswered
dipshirajput
asked this question in
Q&A
Replies: 2 comments 4 replies
-
My offhand thought is that /dev/video0 is going to get you access to the screen buffer of your video display, not your USB device. Look at https://github.com/edgexfoundry/edgex-compose/blob/main/compose-builder/add-device-usb-camera.yml. device_cgroup_rules:
- 'c 81:* rw' # c:character device 81:device major number(81=webcam) *:device minor number rw:read/write
volumes:
- /dev:/dev
- /run/udev:/run/udev:ro |
Beta Was this translation helpful? Give feedback.
2 replies
-
Why is the EdgeX Device USB Camera service no sufficient for your needs? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I have developed a device service which is specifically for usb camera in order to capture images.
while creating its container, i have defined the following in docker-compose.yml file,
also tried with the following,
but still the container is unable to open this port.
please let me know for suggestions. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions