A simple computer vision prototype to read meter displays
Python 3
ffmpeg
- install ffmpeg
sudo apt-get install ffmpeg
(Linux only) - install python3 dependencies
pip3 install -r requirements.txt
Edit config.ini
file to change video and result filenames
Run in terminal python3 main.py
Frame from video: console output and result.csv:
22-05-2018 13:05:05,1003,418,0.00
22-05-2018 13:05:06,1003,418,0.00
22-05-2018 13:05:07,1003,418,0.00
22-05-2018 13:05:08,1003,418,0.00
22-05-2018 13:05:09,1003,419,0.00
22-05-2018 13:05:10,1003,419,0.25
22-05-2018 13:05:11,1004,420,0.25
22-05-2018 13:05:12,1004,420,0.25
22-05-2018 13:05:13,1004,420,0.25
22-05-2018 13:05:14,1004,421,0.25
22-05-2018 13:05:15,1004,421,0.25
22-05-2018 13:05:16,1005,421,0.25
22-05-2018 13:05:17,1005,421,0.25
22-05-2018 13:05:18,1004,422,0.25
22-05-2018 13:05:19,1005,422,0.25
22-05-2018 13:05:20,1005,422,0.25
22-05-2018 13:05:21,1005,422,0.25
22-05-2018 13:05:22,1005,423,0.25
22-05-2018 13:05:23,1006,423,0.25
22-05-2018 13:05:24,1006,423,0.25
...