pipeless-ai / pipeless

An open-source computer vision framework to build and deploy apps in minutes
https://pipeless.ai
Apache License 2.0
688 stars 31 forks source link

[FEATURE_REQUEST]: Select video source for v4l2 #117

Closed miguelaeh closed 5 months ago

miguelaeh commented 5 months ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] This is equivalent to ask yourself why you want this feature.

When you have several cameras connected, v4l2 will select the one with fd 0 by default. We should allow an option to specify the device to use.

Describe the solution you'd like A clear and concise description of what you want to happen.

Add a discriminator when providing the input URI like v4l2:/dev/device1