You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "bird_classify.py", line 174, in
main()
File "bird_classify.py", line 170, in main
result = gstreamer.run_pipeline(user_callback)
File "/home/mendel/coral/project-birdfeeder/gstreamer.py", line 94, in run_pipeline
pipeline = Gst.parse_launch(pipeline)
gi.repository.GLib.Error: gst_parse_error: no element "ximagesink" (1)
The text was updated successfully, but these errors were encountered:
I run this code:
sudo apt-get install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-tools gstreamer1.0-x
but I've got an next error.
Error: gst-resource-error-quark: Could not initialise X output (10): ximagesink.c(860): gst_x_image_sink_xcontext_get (): /GstPipeline:pipeline0/GstXImageSink:ximagesink0:
Could not open display
$ sh birdfeeder.sh
Loading models/mobilenet_v2_1.0_224_quant_edgetpu.tflite with labels/imagenet_labels.txt labels.
Gstreamer pipeline: v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480,framerate=30/1 ! queue max-size-buffers=1 leaky=downstream ! tee name=t
t. ! queue max-size-buffers=1 leaky=downstream ! videoconvert ! videoscale ! video/x-raw,format=RGB,width=320,height=180 ! appsink name=appsink sync=false emit-signals=true max-buffers=1 drop=true
t. ! queue max-size-buffers=1 leaky=downstream ! videoconvert
! rsvgoverlay name=overlay ! videoconvert ! ximagesink
Traceback (most recent call last):
File "bird_classify.py", line 174, in
main()
File "bird_classify.py", line 170, in main
result = gstreamer.run_pipeline(user_callback)
File "/home/mendel/coral/project-birdfeeder/gstreamer.py", line 94, in run_pipeline
pipeline = Gst.parse_launch(pipeline)
gi.repository.GLib.Error: gst_parse_error: no element "ximagesink" (1)
The text was updated successfully, but these errors were encountered: