Extracts digits from timestamped images.
.
├── media
│ ├── left.mp4
│ ├── README.md
│ ├── right.mp4
│ └── test_data
│ ├── README.md
│ ├── test1.png
│ └── test.png
├── print_timestamps.py
├── README.md
├── requirements.txt
├── synchronize.py
├── test.png
└── timestamp.py
- Crop the pixels of the timestamp data from the right corner of the image. To do so, read the image with cv2.imread(), crop appropriate area with array slicing. An image can be treated like a 2D matrix of RGB tuples of (R, G, B) values. An example can be found here.
- The pytesseract API is then used to read the digits.
- Invoke the following to view timestamps.
python print_timestamps.py # Format: left: <Left Timestamp> \t\t\tright: <Right Timestamp>
- The readings are extremely nosisy.
- Create a script called accuracy.py which prints the correctly read values against the incorrect values.
- Use a linux pipeline to feed in data or any other tool you can use.
- The final file should print currently correctly detect:
right / (right + wrong)
and the same in % values.