mirror of
https://github.com/jomjol/AI-on-the-edge-device-docs.git
synced 2025-12-06 19:46:56 +03:00
updated model selection page and images
This commit is contained in:
@@ -10,75 +10,78 @@ For more technical/deeper explanations have a look on [Neural-Network-Types](Neu
|
||||
|
||||
## Digit Models
|
||||
|
||||
For digits on water meters, gas-meters or power meters you can select between two main types of models.
|
||||
For digits on water meters, gas-meters or power meters you can select between two main types of models:
|
||||
|
||||
### dig-class11
|
||||
- `dig-class11`
|
||||
- `dig-class100` and `dig-cont`
|
||||
|
||||
This model can recognize full digits. It was the first model version. All intermediate states shown a "N" for not a number. But in post process it uses older values to fill up the "N" values if possible.
|
||||
### `dig-class11`
|
||||
|
||||
This model can recognize **full digits**. It was the first model version. All intermediate states shown a `N` for not a number. But in post process it uses older values to fill up the `N` values if possible.
|
||||
|
||||
{: style="width:300px"}
|
||||
|
||||
It's possibly a good fallback, if `dig-cont/dig-class100` results are not good.
|
||||
It's possibly a good fallback, if `dig-cont` or `dig-class100` results are not good.
|
||||
|
||||
#### Main features
|
||||
Main features:
|
||||
|
||||
* well suited for LCD digits
|
||||
* the ExtendedResolution option is not supported. (Only in conjunction with ana-class100 / ana-cont)
|
||||
* the ExtendedResolution option is not supported. (Only in conjunction with `ana-class100` or `ana-cont`)
|
||||
|
||||
### `dig-class100` and `dig-cont`
|
||||
|
||||
### dig-class100 / dig-cont
|
||||
|
||||
These models are used to get a continuous reading with intermediate states. To see what the models are doing, you can go to the Recognition page.
|
||||
These models are used to get a **continuous reading** with intermediate states. To see what the models are doing, you can go to the Recognition page of your device.
|
||||
|
||||
{: style="width:300px"}
|
||||
|
||||
|
||||
#### Main features
|
||||
Main features:
|
||||
|
||||
* suitable for all digit displays.
|
||||
* Advantage over dig-class11 that results continue to be calculated in the transition between digits.
|
||||
* Advantage over `dig-class11` that results continue to be calculated in the transition between digits.
|
||||
* With the ExtendedResolution option, higher accuracy is possible by adding another digit.
|
||||
|
||||
The difference between `dig-class100` and `dig-cont` is in the internal processing.
|
||||
The `dig-class100` is a standard classification model. Each tenth step is an output.
|
||||
`dig-cont` uses two outputs and arctangent to get the result. You see very complicated.
|
||||
|
||||
!!! Note
|
||||
Try both models on your device and take the one that gives you the best results.
|
||||
|
||||
Look [here](https://jomjol.github.io/neural-network-digital-counter-readout) for a list of digit images used for the training.
|
||||
|
||||
#### dig-class100 vs. dig-cont
|
||||
The difference is in the internal processing.
|
||||
|
||||
The dig-class100 is a standard classification model. Each tenth step is an output.
|
||||
|
||||
dig-cont uses two outputs and arctangent to get the result. You see very complicated.
|
||||
|
||||
Try both models on your device and take the one that gives you the best results.
|
||||
|
||||
## Analog pointer models
|
||||
|
||||
### ana-class100 / ana-cont
|
||||
### `ana-class100` and `ana-cont`
|
||||
|
||||
For pointers on water meters use the analog models. You can only choose between ana-class100 and ana-cont. Both do mainly the same.
|
||||
For pointers on water meters use the analog models:
|
||||
|
||||
{: style="width:250px"}
|
||||
|
||||
#### Main features
|
||||
You can choose between two models:
|
||||
|
||||
- `ana-class100`
|
||||
- `ana-cont`
|
||||
|
||||
Both do mainly the same.
|
||||
|
||||
Main features:
|
||||
|
||||
* for all analogue pointers, especially for water meters.
|
||||
* With the ExtendedResolution option, higher accuracy is possible by adding another digit.
|
||||
|
||||
Again, the difference between `ana-class100` and `ana-cont` is in the internal processing.
|
||||
|
||||
!!! Note
|
||||
Take the one that gives you the best results. Both models learn from the same data.
|
||||
|
||||
Look [here](https://jomjol.github.io/neural-network-analog-needle-readout/) for a list of pointer images used for the training
|
||||
|
||||
#### ana-class100 vs. ana-cont
|
||||
|
||||
The difference is in the internal processing.
|
||||
|
||||
Take the one that gives you the best results. Both models learn from the same data.
|
||||
|
||||
|
||||
|
||||
## Different types of models (normal vs. quantized)
|
||||
|
||||
The normally trained network is calculating with internal floating point numbers. The saving of floating point numbers naturally takes more space than an integer type. Often the increased accuracy is not needed. Therefore there is the option, to "quantize" a neural network. In this case the internal values are rescaled to integer values, which is called "quantization". The stored tflite files are usually much smaller and runs faster on the edgeAI-device.
|
||||
Usually the models are distrusted therefore in both versions. They can be distinguished by a "-q" at the end of the logfile.
|
||||
Usually the models are distrusted therefore in both versions. They can be distinguished by a `q` at the end of the logfile.
|
||||
|
||||
#### Example:
|
||||
Example:
|
||||
|
||||
| Type | Name |
|
||||
| :-------- | --------------------------- |
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 49 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 50 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 48 KiB |
Reference in New Issue
Block a user