I have the Google Coral Dev Board Mini with the Coral Camera attached. The camera demos work well. However, the Coral BodyPix demo produces the following Gstreamer error:
(bodypix_gl_imx.py:1491): dconf-WARNING **: 01:11:30.405: Unable to open /usr/local/share/dconf/profile/user: Not a directory
Model: models/bodypix_mobilenet_v1_075_1024_768_16_quant_decoder_edgetpu.tflite
Heatmap size: (65, 49)
Stride: 16 (65, 49)
Inference size: (1024, 768)
Source size: (640, 480)
Toggle mode keys:
Toggle skeletons: s
Toggle bounding boxes: b
Toggle anonymizer mode: a
Toggle heatmaps: h
Toggle bodyparts: p
Gstreamer pipeline:
aggregator name=agg ! glsvgoverlaysink name=overlaysink
v4l2src device=/dev/video1 ! video/x-raw,width=640,height=480,framerate=30/1
! queue max-size-buffers=1 leaky=downstream ! identity ! glupload ! glvideoflip video-direction=identity ! tee name=t
t. ! queue max-size-buffers=1 ! glfilterbin filter=glbox name=glbox ! video/x-raw,format=RGB,width=1024,height=768 !
queue max-size-buffers=1 ! inference name=inf ! agg.
t. ! queue max-size-buffers=1 ! agg.
Traceback (most recent call last):
File "bodypix_gl_imx.py", line 1021, in <module>
main()
File "bodypix_gl_imx.py", line 1018, in main
mirror=args.mirror)
File "bodypix_gl_imx.py", line 980, in run_pipeline
pipeline = GstPipeline(pipeline, cb)
File "bodypix_gl_imx.py", line 644, in __init__
self.pipeline = Gst.parse_launch(pipeline)
gi.repository.GLib.Error: gst_parse_error: could not link gluploadelement1 to glvideoflip0 (3)
This issue has been raised on GitHub but no response yet. It seems there is a known issue with implementing this on the Google Coral Dev Board Mini.
I'm familiar with OpenCV but have zero experience with Gstreamer. I'm having a hard time understanding this Gstreamer error as I attempt to implement this on the Mini.