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

pose_camera Buffer pool activation failed #99

Open
skemp117 opened this issue Sep 30, 2023 · 0 comments
Open

pose_camera Buffer pool activation failed #99

skemp117 opened this issue Sep 30, 2023 · 0 comments
Labels
comp:model Model related isssues comp:thirdparty Thirdparty related issues Hardware:USB Accelerator Coral USB Accelerator issues subtype:ubuntu/linux Ubuntu/Linux Build/installation issues type:bug Bug

Comments

@skemp117
Copy link

skemp117 commented Sep 30, 2023

Description

Hello,

I am new to this space, so I don't know too much about this error. I have been trying for a few days to get some of the posenet examples running. I am able to modify the simple pose example to take an image from the raspberry pi camera I am using, but I cannot run pose_camera.py without the error I'm attaching below.

I did have a few issues with other coral projects because I am using VNC, and I am NOT using the legacy raspberry Pi camera libraries. I am stubbornly using the new ones (Picamera2 instead of PiCamera).

I am having this same error with the object tracking using gstreamer: https://github.com/google-coral/example-object-tracker/tree/master/

Picamera 2 info: https://datasheets.raspberrypi.com/camera/picamera2-manual.pdf?_gl=1*u2e7je*_ga*MTUyODQ5OTE2OC4xNjk1NzUyNjY5*_ga_22FD70LWDS*MTY5NTg0ODU0My4yLjEuMTY5NTg0OTM5OC4wLjAuMA..

Click to expand!

Issue Type

Bug

Operating System

Linux

Coral Device

USB Accelerator

Other Devices

Rapsberry Pi 4

Programming Language

Python 3.9

Relevant Log Output

python pose_camera.py --res 640x480

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 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
            

(pose_camera.py:3207): GStreamer-CRITICAL **: 17:44:52.618: The created element should be floating, this is probably caused by faulty bindings
Error: gst-resource-error-quark: Failed to allocate required memory. (13): ../sys/v4l2/gstv4l2src.c(659): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Buffer pool activation failed
@google-coral-bot google-coral-bot bot added comp:model Model related isssues comp:thirdparty Thirdparty related issues Hardware:USB Accelerator Coral USB Accelerator issues subtype:ubuntu/linux Ubuntu/Linux Build/installation issues type:bug Bug labels Sep 30, 2023
@skemp117 skemp117 changed the title pose_camera will not run pose_camera Buffer pool activation failed Sep 30, 2023
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:USB Accelerator Coral USB Accelerator issues subtype:ubuntu/linux Ubuntu/Linux Build/installation issues type:bug Bug
Projects
None yet
Development

No branches or pull requests

1 participant