Skip to content

Measure using OCR

Below you'll find instructions how to use the OCR method.

Installation

Running the OCR stream

From the utils/measure directory in a command line:

python ocr/main.py -t '{tesseract_binary}'

Where tesseract_binary is the location of the tesseract executable On my machine:

python ocr/main.py -t '/opt/homebrew/Cellar/tesseract/5.1.0/bin/tesseract'

Running the measure tool

Set POWER_METER in the .env to ocr, and run as usual either native or with docker. See measure

Tested power meters

The OCR tool is tested with Zhurui PR10. Probably others could also work.