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

No pose is detected when executing on CPU using Rpi3 #97

Open
suyash-narain opened this issue Jul 10, 2023 · 1 comment
Open

No pose is detected when executing on CPU using Rpi3 #97

suyash-narain opened this issue Jul 10, 2023 · 1 comment
Labels
comp:model Model related isssues comp:thirdparty Thirdparty related issues Hardware:Dev Board Coral Dev Board issues subtype:ubuntu/linux Ubuntu/Linux Build/installation issues type:support Support question or issue

Comments

@suyash-narain
Copy link

suyash-narain commented Jul 10, 2023

Description

Hi,
I am trying to run posenet project on aarch64 device (raspberry pi 3) on CPU. I am using gstreamer. But on running the pose_camera.py script, no pose is detected. No line drawings can be seen as well. I have a USB camera connected as /dev/video0. Condifence scores for keypoints remains at 0;

When I switch over to using opencv, I get accurate pose detections with non-zero confidence scores.

My input command is:
$python3 pose_camera.py --model model.tflite --videosrc /dev/video0

my model.tflite is downloaded from https://raw.githubusercontent.com/google-coral/test_data/master/posenet/posenet_mobilenet_v1_075_353_481_16_quant_decoder.tflite

On running, I see the video on the screen, with live fps and NPoses=1, but i don't see any actual pose detected using the drawn lines.
If i use it using opencv, i get pose outputs, but not using gstreamer. I even installed the posenet_decoder.so

How do I run this project on CPU using the CPU based models?

As a follow- up, how can I port it to run on movenets, using gstreamer? I can run movenet using opencv, but would like to use gstreamer without opencv.

thanks

Click to expand!

Issue Type

Support

Operating System

Ubuntu

Coral Device

Dev Board

Other Devices

Raspberry Pi 3

Programming Language

Python 3.9

Relevant Log Output

No response

@google-coral-bot google-coral-bot bot added comp:model Model related isssues comp:thirdparty Thirdparty related issues Hardware:Dev Board Coral Dev Board issues subtype:ubuntu/linux Ubuntu/Linux Build/installation issues type:support Support question or issue labels Jul 10, 2023
@suyash-narain suyash-narain changed the title No pose is detected when executing on CPU No pose is detected when executing on CPU using Rpi3 Jul 10, 2023
@suyash-narain
Copy link
Author

I get the same issue when i try to run with a movenet model sourced from tfhub: https://tfhub.dev/google/lite-model/movenet/singlepose/lightning/tflite/int8/4

I am using movenet lightning int8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
comp:model Model related isssues comp:thirdparty Thirdparty related issues Hardware:Dev Board Coral Dev Board issues subtype:ubuntu/linux Ubuntu/Linux Build/installation issues type:support Support question or issue
Projects
None yet
Development

No branches or pull requests

1 participant