I’m building a Tauri application that runs on a Raspberry Pi with a Hailo 8 hat. What’s the best way to setup the Pis so that I can run my own python scripts for object detection?
Currently the rpi5 examples require you to run the .install.sh and then activate an environment. Ideally I’d like to not use an environment and just pre-setup the pi - unless there is a better way to launch an install process without a venv?
Is there a way that I can run the installer and then not have to use the `setup_env.sh`?
You don’t need to use a virtual environment if you don’t want to. The venv in the examples is just for convenience and isolation. You can run the installer normally and install the required Python packages system-wide, and your scripts should work without sourcing setup_env.sh. Just make sure the HailoRT libraries and Python packages are available in your system environment.
Hi off course you can run your own code w/o the hailo-apps repo.
This repo should be a helpful tool and supply good implementation infrastructure allowing you to concentrate on you code.
Note that it can be pip installed into your project env.
If you are aiming to a high performance pipeline which should run in realtime I suggest you to reuse our pipelines and just connect to output using a callback to your code.