Closed GuyYaacov closed 3 months ago
Problem solved:
Just had to edit get_pipeline_string
method:
def get_pipeline_string(self):
if (self.source_type == "rpi"):
source_element = f"libcamerasrc name=src_0 auto-focus-mode=AfModeManual ! "
source_element += f"video/x-raw, format=RGB, width=1088, height=1088 ! "
source_element += QUEUE("queue_src_scale")
source_element += f"videoscale ! "
source_element += f"video/x-raw, format={self.network_format}, width={self.network_width}, height={self.network_height}, framerate=60/1 ! "
#the rest is the same
Hello everyone,
I encountered an issue when running the
basic_pipelines/detection.py
script from thehailo-rpi5-examples
repository on my Raspberry Pi. The script fails with an error I'm trying to resolve.My hardwere:
Additional Information:
rpicam-hello works fine and I can get an output
Listing the cameras via
sudo rpicam-vid --list-cameras
:Steps to Reproduce:
hailo-rpi5-examples
as per the provided instructions inpython basic_pipelines/detection.py --input rpi
Observed output:
Thank you!