It is possible to use the ethoscope to track a recorded video rather than the real-time stream coming from the pi camera. This is the easiest option but also the slowest because it can go as fast as an ethoscope can go.
To do so:
MovieVirtualCamera. This will open a choice of videos found on the device. Pick the one you want to track. If you cannot find it there yet it is probably because the conversion has not finished yet.
A virtual ethoscope (or virtuascope) is an ethoscope that runs on a computer that is not a PI. It is possible to run an ethoscope on the node, for instance, and this will appear in the list along with the other ethoscopes. It can be conveniently used to track offline videos. This is how to do it.
On the node:
# install some necessary dependencies # this step is not needed if you are using a version of the node disc newer than Dec '21 sudo pacman -Sy python-scipy python-opencv fmt
# prepare the system for the virtuascope. In alternative to doing all this you may want # to simply install the package from AUR: # yay -S ethoscope-virtuascope sudo su echo "Set up mysql database" mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql systemctl start mysqld.service && sleep 2 mysql -u root -e "CREATE USER 'ethoscope'@'localhost' IDENTIFIED BY 'ethoscope'" mysql -u root -e "CREATE USER 'ethoscope'@'%' IDENTIFIED BY 'ethoscope'" mysql -u root -e "GRANT ALL PRIVILEGES ON *.* TO 'ethoscope'@'localhost' WITH GRANT OPTION"; mysql -u root -e "GRANT ALL PRIVILEGES ON *.* TO 'ethoscope'@'%' WITH GRANT OPTION"; chown -R mysql:mysql /var/lib/mysql echo "setup mariadb configuration" echo '[server]' > /etc/my.cnf.d/server.cnf echo 'log-bin=mysql-bin' >> /etc/my.cnf.d/server.cnf echo 'binlog_format=mixed' >> /etc/my.cnf.d/server.cnf echo 'expire_logs_days = 10' >> /etc/my.cnf.d/server.cnf echo 'max_binlog_size = 100M' >> /etc/my.cnf.d/server.cnf #create the python package for the ethoscope cd /opt/ethoscope-node/src/ python setup.py develop echo "enable the virtuascope and mysqldb services" cp /opt/ethoscope-node/scripts/virtuascope.service /usr/lib/systemd/system/ systemctl enable virtuascope systemctl enable mysqld systemctl start virtuascope
The virtuascope should appear on your node.
You will be able to turn it off and on directly from the node.