Need help in customizing hailo code for person detection

Hello, I really need help ASAP because I have a thesis project for passenger counting but I cant modify the detection.py or any sample project from hailo-8L on raspi 5. I need to save that passenger counts and identify whose sitting and standing to a firebase database. There is error or rejected code and only the sample project is working so please help me.

Hi @user688 ,

Can you please share the error?

If the sample project is working - that’s a good sign indicating installation is successful and environment is set up correctly.

A good starting point would be: hailo-apps/doc/developer_guide/app_development.md at main · hailo-ai/hailo-apps · GitHub

Thanks,

(venv_hailo_apps) raspi5@raspi5:~/hailo-apps $ source setup_env.sh && hailo-passenger-monitor --input /dev/video0
Setting up the environment…
Checking kernel version…
Project directory added to PYTHONPATH for this session:
/home/raspi5/hailo-apps
Virtual environment ‘venv_hailo_apps’ activated
Environment variables loaded from /usr/local/hailo/resources/.env
Traceback (most recent call last):
File “/home/raspi5/hailo-apps/venv_hailo_apps/bin/hailo-passenger-monitor”, line 3, in
from hailo_apps.python.pipeline_apps.passenger_monitor.passenger_counter import main
File “/home/raspi5/hailo-apps/hailo_apps/python/pipeline_apps/passenger_monitor/passenger_counter.py”, line 12, in
from hailo_apps.python.core.main_utils import parse_arguments, get_network_info
ModuleNotFoundError: No module named ‘hailo_apps.python.core.main_utils’