Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gi.repository.GLib.Error #3

Open
taboopython opened this issue Sep 21, 2021 · 3 comments
Open

gi.repository.GLib.Error #3

taboopython opened this issue Sep 21, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@taboopython
Copy link
Owner

$ sh birdfeeder_pycoral.sh
bird_classify_pycoraltest.py:32: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
Loading /home/mendel/coral/pycoral/test_data/mobilenet_v2_1.0_224_quant_edgetpu.tflite with /home/mendel/coral/pycoral/test_data/ImageNetLabels.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_pycoraltest.py", line 171, in
main()
File "bird_classify_pycoraltest.py", line 168, in main
result = gstreamer.run_pipeline(user_callback)
File "/home/mendel/coral/project-birdfeeder-master/gstreamer.py", line 94, in run_pipeline
pipeline = Gst.parse_launch(pipeline)
gi.repository.GLib.Error: gst_parse_error: no element "ximagesink" (1)

@taboopython taboopython added the bug Something isn't working label Sep 21, 2021
@taboopython taboopython self-assigned this Sep 21, 2021
@taboopython
Copy link
Owner Author

@taboopython
Copy link
Owner Author

already done but,no avail.

sudo apt-get install -y gstreamer1.0-plugins-bad gstreamer1.0-plugins-good python3-gst-1.0 python3-gi gir1.2-gtk-3.0
python3 -m pip install svgwrite

@emingenc
Copy link

I solved with these installs

sudo apt-get install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-tools gstreamer1.0-x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants