Skip to content

Commit 728b910

Browse files
committed
Installation of executables described
1 parent 06747f3 commit 728b910

File tree

1 file changed

+34
-5
lines changed

1 file changed

+34
-5
lines changed

README.md

Lines changed: 34 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,52 @@ The middle line indicates the center of the image, if it is in the x.0 position.
3838

3939
### Read the images
4040

41+
### Read the images
42+
43+
44+
45+
#### Install collectmeterdigits
46+
47+
The [releases](https://github.com/haverland/collectmeterdigits/releases) contains downloads for Windows, Linux and MacOS. But the prefered install is via python's pip.
48+
49+
##### Python
50+
4151
This is mostly the easiest part, if you have installed python on your computer. If not you need to install it ( <https://www.python.org/downloads/> ).
4252

4353
Open a terminal and type in:
4454

4555
pip install git+https://github.com/haverland/collectmeterdigits
4656

57+
On mac and windows the prediction is not available. It shows everytime a -1. You can manually install it by
58+
59+
pip install tensorflow-macos
60+
or
61+
62+
pip install tensorflow
63+
64+
The application is called via console
65+
4766
python3 -m collectmeterdigits --collect=<your-esp32name> --days=3
4867

4968
It downloads now all images in a "data" subfolder. The image names will be hashed for your privacy.
5069
Be patiant. It will takes a while.
5170

5271
After it the duplicates will be automaticly removed and finally you have a folder named data/labled with the images.
5372

73+
##### Windows, MacOS, Linux
74+
75+
The executables are console applications. You can use it like python
76+
77+
Windows-collectmeterdigits.exe --collect=<your-esp32name> --days=3
78+
,
79+
80+
Linux-collectmeterdigits --collect=<your-esp32name> --days=3
81+
or
82+
83+
collectmeterdigits --collect=<your-esp32name> --days=3
84+
85+
Windows and MacOS excecutables have no prediction, because the tflite-runtime is only available for linux and the complete tensorflow library is to big (600MB) for a single application.
86+
5487
### Label the images
5588

5689
Now you can label the images. After reading the images it opens a window.
@@ -60,11 +93,7 @@ update. If not use the slider to adjust it.
6093

6194
The yellow and blue lines helps you. Look at the gap between the digits. At left scale you read the value. Don't worry, it must not 100% right. And sometimes it's not easy to choose the value.
6295

63-
The prediction on the left side can help you to identify the digit. But beware the model can be only a help for you. Don't trust the recognition!
64-
On mac the prediction is not available. It shows everytime a -1. You can manually install it by
65-
66-
pip install tensorflow-macos
67-
96+
The prediction on the left side can help you to identify the digit. But beware the model can be only a help for you. Don't trust the recognition!
6897

6998
![labeling](images/Labeling3.png)
7099

0 commit comments

Comments
 (0)