|
|
@@ -7,6 +7,8 @@ pip3 install -r requirements.txt
|
|
|
pip3 install -U numpy
|
|
|
git clone https://github.com/arturaugusto/display_ocr
|
|
|
sudo cp display_ocr/letsgodigital/* /usr/share/tesseract-ocr/4.00/tessdata/
|
|
|
+git clone https://github.com/adrianlazaro8/Tesseract_sevenSegmentsLetsGoDigital && cd Tesseract_sevenSegmentsLetsGoDigital
|
|
|
+sudo mv 'Trained data'/* /usr/share/tesseract-ocr/4.00/tessdata/
|
|
|
docker-compose up -d
|
|
|
(crontab -l 2>/dev/null; echo "@reboot python3 /home/pi/solar-monitor/data-writer.py") | crontab -
|
|
|
# python3 data-writer.py
|
|
|
@@ -14,7 +16,5 @@ echo "Reboot pi to complete setup and start the data job or run 'python3 /home/p
|
|
|
|
|
|
|
|
|
# UNSORTED
|
|
|
-git clone https://github.com/adrianlazaro8/Tesseract_sevenSegmentsLetsGoDigital && cd Tesseract_sevenSegmentsLetsGoDigital
|
|
|
-sudo mv 'Trained data'/* /usr/share/tesseract-ocr/4.00/tessdata/
|
|
|
git clone https://github.com/ljk53/pytorch-rpi && cd pytorch-rpi
|
|
|
LIBTORCH_VARIANT=armv7l-cxx11-abi-shared-without-deps ./build_libtorch.sh
|