Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

An exception occurs when running anonymizer.py on the Raspberry Pi 4B&USB Accelerator #69

Open
3344393853 opened this issue Jul 9, 2021 · 5 comments
Assignees
Labels
comp:demo Demo related isssues Hardware:USB Accelerator Coral USB Accelerator issues subtype:Mendel Linux Mendel Linux Build/installation issues type:bug Bug

Comments

@3344393853
Copy link

During the operation of anonymizer.py, when everyone re-entered the screen, there was a problem: the body line drawing in each frame before will not disappear, and it has been piled up in the screen.

@hjonnala hjonnala self-assigned this Jul 12, 2021
@hjonnala
Copy link

Hi, please provide the following details:

  1. python version
  2. Operating system
  3. steps to reproduce the issue.

@3344393853
Copy link
Author

Hi
raspi4B + ubuntu Mate20.04 + Coral USB Accelerator + python3.8.8

aaa@aaa:~/work/coral/00_posenet$ python3 anonymizer.py
/home/aaa/work/coral/00_posenet/gstreamer.py:15: PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import GLib, GObject, Gst, GstBase, GstVideo, Gtk
/home/aaa/work/coral/00_posenet/gstreamer.py:15: PyGIWarning: GstBase was imported without specifying a version first. Use gi.require_version('GstBase', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import GLib, GObject, Gst, GstBase, GstVideo, Gtk
/home/aaa/work/coral/00_posenet/gstreamer.py:15: PyGIWarning: GstVideo was imported without specifying a version first. Use gi.require_version('GstVideo', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import GLib, GObject, Gst, GstBase, GstVideo, Gtk
/home/aaa/work/coral/00_posenet/gstreamer.py:15: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import GLib, GObject, Gst, GstBase, GstVideo, Gtk
Loading model: models/mobilenet/posenet_mobilenet_v1_075_481_641_quant_decoder_edgetpu.tflite
Gstreamer pipeline: v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480,framerate=30/1 ! decodebin ! videoflip method=clockwise video-direction=identity ! tee name=t
t. ! queue max-size-buffers=1 leaky=downstream ! videoconvert ! freezer name=freezer ! rsvgoverlay name=overlay
! videoconvert ! autovideosink
t. ! queue max-size-buffers=1 leaky=downstream ! videoconvert ! videoscale ! video/x-raw,width=641,height=480 ! videobox name=box autocrop=true
! video/x-raw,format=RGB,width=641,height=481 ! appsink name=appsink emit-signals=true max-buffers=1 drop=true

Waiting for everyone to leave the frame...
Waiting for everyone to leave the frame...
Waiting for everyone to leave the frame...
Waiting for everyone to leave the frame...
Waiting for everyone to leave the frame...
Waiting for everyone to leave the frame...
Waiting for everyone to leave the frame...
Waiting for everyone to leave the frame...
Waiting for everyone to leave the frame...
Waiting for everyone to leave the frame...
Waiting for everyone to leave the frame...
Waiting for everyone to leave the frame...
Waiting for everyone to leave the frame...
Waiting for everyone to leave the frame...
Waiting for everyone to leave the frame...
Background set.

The result on the screen is like this:
2021-07-13 13-48-53 创建的截图

@hjonnala
Copy link

@3344393853 try the following command let us know still you are facing issues.

python3 anonymizer.py --mirror

@hjonnala hjonnala added comp:demo Demo related isssues Hardware:USB Accelerator Coral USB Accelerator issues stat:awaiting response Status - Awaiting response from author subtype:Mendel Linux Mendel Linux Build/installation issues type:support Support question or issue labels Aug 3, 2021
@hjonnala hjonnala added type:bug Bug and removed type:support Support question or issue labels Aug 16, 2021
@yishinhung
Copy link

yishinhung commented Aug 24, 2021

@3344393853 try the following command let us know still you are facing issues.

python3 anonymizer.py --mirror

@hjonnala I try the following command still encounter the issue
python3 anonymizer.py --mirror

@hjonnala
Copy link

hjonnala commented Aug 24, 2021

@yishinhung Thanks for confirming. It is a bug on our side, we are working on it. Will let you know once it is resolved.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
comp:demo Demo related isssues Hardware:USB Accelerator Coral USB Accelerator issues subtype:Mendel Linux Mendel Linux Build/installation issues type:bug Bug
Projects
None yet
Development

No branches or pull requests

4 participants