mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2026-01-30 22:32:51 +03:00
test1
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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":
|
||||
|
||||
14
param-docs/parameter-pages/Alignment/SearchMaxAngle.md
Normal file
14
param-docs/parameter-pages/Alignment/SearchMaxAngle.md
Normal 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.
|
||||
@@ -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).
|
||||
@@ -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).
|
||||
13
param-docs/parameter-pages/TakeImage/CamXclkFreqMhz.md
Normal file
13
param-docs/parameter-pages/TakeImage/CamXclkFreqMhz.md
Normal 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!
|
||||
7
param-docs/parameter-pages/TakeImage/SaveAllFiles.md
Normal file
7
param-docs/parameter-pages/TakeImage/SaveAllFiles.md
Normal 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`
|
||||
Reference in New Issue
Block a user