Closed wombat70 closed 1 month 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
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 themonitor.py
script, namely:filetype
instead ofimghdr
, because the latter is being deprecated ref. PEP 594.results.ims
instead ofresults.imgs
, because the yolov5Detections
class renamed its image-list property in ultralytics/yolov5#9024.Hope this helps! I'm looking forward to receiving any comments/suggestions or questions. :-)
Tom