example-object-tracker icon indicating copy to clipboard operation
example-object-tracker copied to clipboard

Coral Dev Mini Support - PVR Error

Open chunyeow opened this issue 4 years ago • 4 comments

Description

I have tried to modify the gstreamer pipeline using examples-camera/gstreamer as follow:

            scale_caps = 'video/x-raw,format=BGRA,width={w},height={h}'.format(w=src_size[0], h=src_size[1])
            PIPELINE += """ ! decodebin ! queue ! v4l2convert ! {scale_caps} !
              glupload ! glcolorconvert ! video/x-raw(memory:GLMemory),format=RGBA !
              tee name=t
                t. ! queue ! glfilterbin filter=glbox name=glbox ! queue ! {sink_caps} ! {sink_element}
                t. ! queue ! glsvgoverlay name=gloverlay sync=false ! glimagesink fullscreen=true
                     qos=false sync=false
            """

However, when running the "python3 detect.py --tracker sort", the following error occurred:

(1795) PVR:(Error): ScheduleTA: Skipping render from different gc/thread! [ :0 ]

Any ideas on the PVR error?

Click to expand!

Issue Type

Support

Operating System

Mendel Linux

Coral Device

Dev Board Mini

Other Devices

No response

Programming Language

Python 3.7

Relevant Log Output

$ python3 detect.py --tracker sort

(detect.py:1778): dconf-WARNING **: 08:32:48.406: Unable to open /usr/local/share/dconf/profile/user: Not a directory
Loading ../models/mobilenet_ssd_v2_coco_quant_postprocess_edgetpu.tflite with ../models/coco_labels.txt labels.
Gstreamer pipeline:
 v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480,framerate=30/1 ! decodebin ! queue ! v4l2convert ! video/x-raw,format=BGRA,width=640,height=480 !
              glupload ! glcolorconvert ! video/x-raw(memory:GLMemory),format=RGBA !
              tee name=t
                t. ! queue ! glfilterbin filter=glbox name=glbox ! queue ! video/x-raw,format=RGB,width=300,height=300 ! appsink name=appsink emit-signals=true max-buffers=1 drop=true
                t. ! queue ! glsvgoverlay name=gloverlay sync=false ! glimagesink fullscreen=true
                     qos=false sync=false
            
(1795) PVR:(Error): ScheduleTA: Skipping render from different gc/thread! [ :0 ]

chunyeow avatar Oct 20 '21 08:10 chunyeow

@chunyeow Can you please let me know what is the objective of this pipeline change ?

manoj7410 avatar Oct 21 '21 13:10 manoj7410

@manoj7410 Currently, it is not able to support Coral Dev Mini, nope?

chunyeow avatar Oct 22 '21 06:10 chunyeow

@chunyeow yes, this demo doesn't currently work on Dev Board mini. I have made some modifications locally but yet to test them. will try to merge the changes soon and will notify you.

manoj7410 avatar Oct 22 '21 06:10 manoj7410

@manoj7410 mind to share over the branch, I can do the testing as well.

chunyeow avatar Oct 22 '21 14:10 chunyeow