andrw3000 / vespai

Other
9 stars 4 forks source link

Adding a simple Ansible playbook and some updated notes/requirements, for easy deployment of monitor_run.py #3

Closed wombat70 closed 1 month ago

wombat70 commented 2 months ago

I've written a basic Ansible playbook to automate (and document) some of the setup/configuration steps required to get the monitor_run.py script running on a Raspberry Pi with the provided yolov5 model. There is also a short README which outlines how to run the playbook.

For those who prefer to configure things manually, the playbook YAML file together with the revised requirements.txt file effectively documents the steps/tasks and required dependencies. This may also help resolve/workaround issue #1.

All the new files are in a new deploy directory and I've only made minor changes to the monitor.py script, namely:

Hope this helps! I'm looking forward to receiving any comments/suggestions or questions. :-)

Tom

spienz commented 2 months ago

Hy,

works so far with Rasbian 64, but: SSH Key Config should be getting a better description.

And with ansible the installation of opencv won't work. We had to install it manually with pip "opencv-python-headless" Then it works fine so far. We should implement a test picture function. And also document the way to geat an IP Camerea working. We solved it for us.

Regards

Walter & Sebastian