google-coral / example-object-tracker

Apache License 2.0
105 stars 32 forks source link

This example doesn't work too #28

Open easy-and-simple opened 1 year ago

easy-and-simple commented 1 year ago

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 ```shell ModuleNotFoundError: No module named 'gi' ```
hjonnala commented 1 year ago

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

easy-and-simple commented 1 year ago

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 commented 1 year ago

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

Hecto-r commented 8 months ago

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

sangyo1 commented 4 months ago

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