Motion detector for a narrow runway
Project description
Walkway - motion detector
Capture high-framerate videos of a custom-made, CatWalk-like setup for mice using FLIR's BlackFly cameras. A video is saved to disk every time motion is detected.
Installation
- Install SpinView (Latest Spinnaker Web Installer)
- Install Python version 3.8
- Open
cmd
- Run
pip install walkway
orpython -m pip install walkway
.
Usage overview
- Power on IR ligth source.
- Plug in camera to computer.
- Setup camera using SpinView, if necessary:
- Start acquisition.
- Adjust camera aperture and focus to view region of interest under the light conditions expected during the experiment.
- Adjust image format to limit the view to the apparatus' walkway.
- Stop acquisition.
- Open
cmd
- Run
python -m walkway
- Press
q
on the GUI orctrl+c
on the command window when done. - Video files are saved to the working directory of
cmd
(defaults toC:/Users/<your username>
in Windows).
Version History
- 0.0.1: Initial release. Scripts are multi-threaded so as to not lag during writing operations to disk.
License
© 2021 Leonardo Molina
This project is licensed under the GNU GPLv3 License.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
walkway-0.0.4.tar.gz
(21.9 kB
view hashes)