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

This example doesn't work too

Open easy-and-simple opened this issue 2 years ago • 5 comments

Description

This example doesn't work too ModuleNotFoundError: No module named 'gi' It is installed on miniconda, gi module is there but it can't find it Yolo also uses gstream but it works

Click to expand!

Issue Type

Bug, Build/Install, Support, Documentation Feature Request, Documentation Bug

Operating System

Ubuntu

Coral Device

M.2 Accelerator A+E

Other Devices

No response

Programming Language

Python 3.9

Relevant Log Output

ModuleNotFoundError: No module named 'gi'

easy-and-simple avatar May 28 '23 17:05 easy-and-simple

Hi @easy-and-simple please try runnig bash install_requiremnets.sh.

hjonnala avatar May 30 '23 16:05 hjonnala

So you think I am moron so I didn't run it? This stupid script is not working! Module gi is installed and it is there, but stupid coral code can't find and load it It is very annoying that no body cares about that nothing works. Coral documentation is very bad and useless

easy-and-simple avatar Jun 09 '23 22:06 easy-and-simple

I installed older ubuntu version with python3.9 without any clue because google scripts and examples don't work. Anything working here???????????? Any support here?????????????????????? Google scripts don't have any explanations or at least useful comments that explains what does the code. Only your stupid and useless classification example works, nothing more

gstreamer# python3 detect.py --tracker sort No protocol specified Unable to init server: Could not connect: Connection refused No protocol specified Unable to init server: Could not connect: Connection refused 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 ! tee name=t t. ! queue max-size-buffers=1 leaky=downstream ! videoconvert ! videoscale ! video/x-raw,width=300,height=225 ! videobox name=box autocrop=true ! video/x-raw,format=RGB,width=300,height=300 ! appsink name=appsink emit-signals=true max-buffers=1 drop=true t. ! queue max-size-buffers=1 leaky=downstream ! videoconvert ! rsvgoverlay name=overlay ! videoconvert ! ximagesink sync=false

No protocol specified Error: gst-resource-error-quark: Could not initialise X output (10): ../sys/ximage/ximagesink.c(867): gst_x_image_sink_xcontext_get (): /GstPipeline:pipeline0/GstXImageSink:ximagesink0: Could not open display

easy-and-simple avatar Jun 13 '23 19:06 easy-and-simple

For anyone else with the ModuleNotFoundError: No module named 'gi' issue pip install PyGObject.

Hecto-r avatar Nov 24 '23 00:11 Hecto-r

For anyone else with the ModuleNotFoundError: No module named 'gi' issue pip install PyGObject.

I have same issue too. I install in raspberry pi I kept getting No module named 'gi' Also pip install PyGObject is kept getting failed too

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

sangyo1 avatar Mar 21 '24 22:03 sangyo1