depthai icon indicating copy to clipboard operation
depthai copied to clipboard

AttributeError: 'depthai.Pipeline' object has no attribute 'createUVC'

Open rsing92 opened this issue 3 years ago • 6 comments

Hello. I'm trying to make image operations on the video output of ColorCamera. I'm following this example: https://github.com/luxonis/depthai/blob/main/apps/uvc/main.py But I get the error: AttributeError: 'depthai.Pipeline' object has no attribute 'createUVC' This is a separate issue from: https://github.com/luxonis/depthai/issues/730

I'm using latest release, 2.16.0.0

rsing92 avatar Jul 06 '22 10:07 rsing92

Hi @rsing92 , That's because UVC (webcam) support isn't mainline yet. You need to run the uvc app like this: python depthai_demo.py --app uvc. Thanks, Erik

Erol444 avatar Jul 07 '22 11:07 Erol444

@Erol444 I tried using on image_manip_refactor, but same error. How can I combine them? Related to this issue: https://github.com/luxonis/depthai/issues/730

rsing92 avatar Jul 08 '22 11:07 rsing92

@rsing92 Currently you can't - as we haven't yet merged those functionalities together (UVC and imageManip refactor). But we plan to merge image_manip_refactor to develop this week (or start of the next one), and we might update UVC branch. Thoughts?

Erol444 avatar Jul 08 '22 14:07 Erol444

CC: @alex-luxonis ^

Luxonis-Brandon avatar Jul 08 '22 23:07 Luxonis-Brandon

@rsing92 Currently you can't - as we haven't yet merged those functionalities together (UVC and imageManip refactor). But we plan to merge image_manip_refactor to develop this week (or start of the next one), and we might update UVC branch. Thoughts?

Hello. Do you know when this feature will be merged?

rsing92 avatar Sep 08 '22 09:09 rsing92

@Erol444 sorry, I forgot to tag you. Do you know when this feature will be merged?

rsing92 avatar Sep 15 '22 18:09 rsing92

Hi Guys,

Just checking when this feature will be merged. I am trying to run a program to use the mono cameras to do inference and the RGB camera as a webcam. I don't think it is possible at the moment without ImageManip and UVC working together.

Raveen-Senanayake avatar Feb 06 '23 02:02 Raveen-Senanayake

Hi @Raveen-Senanayake, ImageManip refactor branch (image_manip_refactor) has been merged a long time ago, and we have recently updated UVC with the latest mainline version. So the gen2_uvc branch should work as expected - if it doesn't please create a new Issue. Thanks, Erik

Erol444 avatar Feb 06 '23 13:02 Erol444