This commit is contained in:
michael
2026-01-17 02:49:32 +01:00
parent a1ccda2e88
commit 4905663933
283 changed files with 32074 additions and 15759 deletions

View File

@@ -1,5 +1,6 @@
SaveAllFiles
WaitBeforeTakingPicture
CamFrameSize
CamXclkFreqMhz
CamGainceiling
CamQuality
CamAutoSharpness
@@ -24,24 +25,28 @@ CamZoom
CamZoomSize
CamZoomOffsetX
CamZoomOffsetY
demo
Demo
SearchFieldX
SearchFieldY
SearchMaxAngle
Antialiasing
AlignmentAlgo
CNNGoodThreshold
PreValueAgeStartup
ErrorMessage
MaxFlowRate
ProcessAlgoNew
CACert
ClientCert
ClientKey
ValidateServerCert
IO0
IO1
IO3
IO4
IO12
IO13
AutoStart
TimeServer
Hostname
RSSIThreshold
TimeServer
CACert
ValidateServerCert
ClientCert
ClientKey
CPUFrequency

View File

@@ -8,7 +8,6 @@ import os
import configparser
import urllib.request
configFileUrl = "https://raw.githubusercontent.com/jomjol/AI-on-the-edge-device/rolling/sd-card/config/config.ini"
parameterDocsFolder = "parameter-pages"
@@ -16,7 +15,6 @@ parameterTemplateFile = "./templates/parameter.md"
expertParameterListFile = "./expert-params.txt"
hiddenInUiParameterListFile = "./hidden-in-ui.txt"
# Fetch default config file from URL
print("Fetching %r..." % configFileUrl)
with urllib.request.urlopen(configFileUrl) as response:
@@ -39,7 +37,6 @@ with open(expertParameterListFile) as f:
with open(hiddenInUiParameterListFile) as f:
hiddenInUiParameters = f.read().splitlines()
config = configparser.ConfigParser(allow_no_value=True)
config.optionxform = str # Make it case-insensitive
config.read_string(content)
@@ -51,7 +48,6 @@ if not os.path.exists(parameterDocsFolder):
with open(parameterTemplateFile, 'r') as parameterTemplateFileHandle:
parameterTemplate = parameterTemplateFileHandle.read()
print("For each section/parameter, check if there is already a documentation page in the folder %r..." % (os.getcwd() + "/" + parameterDocsFolder))
for section in config:
if section != "DEFAULT":

View File

@@ -0,0 +1,14 @@
# Parameter `SearchMaxAngle`
Default Value: `45`
Unit: Degrees
!!! Warning
This is an **Expert Parameter**! Only change it if you understand what it does!
Angle, by which the reference is max rotated when searching (`0` .. `180`).
!!! Note
Since the alignment is one of the steps using a lot of computation time,
the max angle should be as small as possible.
The calculation time goes quadratic with the angle.

View File

@@ -1,11 +0,0 @@
# Parameter `CheckDigitIncreaseConsistency`
Default Value: `false`
!!! Warning
This is an **Expert Parameter**! Only change it if you understand what it does!
An additional consistency check.
It especially improves the zero crossing check between digits.
!!! Note
If you edit the config file manually, you must prefix this parameter with `<NUMBER>` followed by a dot (eg. `main.CheckDigitIncreaseConsistency`). The reason is that this parameter is specific for each `<NUMBER>` (`<NUMBER>` is the name of the number sequence defined in the ROI's).

View File

@@ -0,0 +1,13 @@
# Parameter `MaxFlowValue`
Default Value: `4,0`
Only the relevant ROI's are evaluated (which change with `PreValue` +/- `MaxFlowValue`), the remaining ROI's retain the old value.
!!! Warning
Experimental function, description will come later.
!!! Warning
This is an **Expert Parameter**! Only change it if you understand what it does!
!!! Note
If you edit the config file manually, you must prefix this parameter with `<NUMBER>` followed by a dot (eg. `main.MaxFlowValue`). The reason is that this parameter is specific for each `<NUMBER>` (`<NUMBER>` is the name of the number sequence defined in the ROI's).

View File

@@ -0,0 +1,13 @@
# Parameter `CamXclkFreqMhz`
**Camera xclk Frequenz in Mhz**
- Set the **Camera xclk Frequenz in Mhz**.
Default Value: `20`
See [here](../datasheets/Camera.ov2640_ds_1.8_.pdf) for the ov2640 camera datasheet.<br>
See [here](../datasheets/OV5640_datasheet.pdf) for the ov5640 camera datasheet.
!!! Warning
After changing this parameter you need to update your reference image and alignment markers!

View File

@@ -0,0 +1,7 @@
# Parameter `SaveAllFiles`
**Save all files**
- When **true**, all images that arise during processing are saved on the SD card.
Default Value: `false`