Changes for page AI Image Sensor Calibration
Last modified by Karry Zhuang on 2025/07/03 11:59
From version 77.3
edited by Karry Zhuang
on 2024/04/24 16:32
on 2024/04/24 16:32
Change comment:
There is no comment for this version
To version 49.1
edited by Karry Zhuang
on 2024/04/20 15:28
on 2024/04/20 15:28
Change comment:
Uploaded new attachment "1713598094208-496.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 16 removed)
- 1713598855240-454.png
- 1713598887495-423.png
- image-20240420153139-10.png
- image-20240420153316-11.png
- image-20240420154023-12.png
- image-20240420154559-13.jpeg
- image-20240420154605-14.jpeg
- image-20240420164123-15.jpeg
- image-20240420164123-16.jpeg
- image-20240422092251-1.png
- image-20240422092350-2.png
- image-20240422092640-1.jpeg
- image-20240422092731-2.png
- image-20240424163117-1.png
- image-20240424163158-2.gif
- image-20240424163213-3.jpeg
Details
- Page properties
-
- Content
-
... ... @@ -18,12 +18,6 @@ 18 18 19 19 = 2. Calibrate Digits Readings = 20 20 21 -The AI Sensors and UART are connected and then connected to the PC. 22 - 23 - [[image:image-20240424163117-1.png||height="520" width="450"]] 24 - 25 -[[image:image-20240424163158-2.gif]][[image:image-20240424163213-3.jpeg||height="360" width="480"]] 26 - 27 27 == 2.1 Calibrate a Water Meter == 28 28 29 29 === 2.1.1 Introduce === ... ... @@ -36,11 +36,11 @@ 36 36 Debug Board SW12=[off on] : FT4222H SPI Slave mode 37 37 AIoT Board SW123456=[off off off off off off] 38 38 39 -(% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(%%) (% title="Click and drag to resize" %) 33 +(% aria-label="image-20240419174248-4.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419174248-4.png||data-widget="image" height="419" width="419"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(%%) (% aria-label="image-20240419174159-3.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419174159-3.png||data-widget="image" height="420" width="556"]](% title="Click and drag to resize" %) 40 40 41 41 Use a hot glue gun and several sticks to attach a triangle for stabilizing the AIS. Adjust the height of the sticks so that the AIS can clearly view the numbers on the water meter. 42 42 43 -[[image:image-202404 22092251-1.png]]37 +(% aria-label="image-20240419173432-1.jpeg image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419173432-1.jpeg||data-widget="image" height="757" width="757"]](% title="Click and drag to resize" %) 44 44 45 45 46 46 === 2.1.3 Calibration === ... ... @@ -47,8 +47,6 @@ 47 47 48 48 Perform a power reset on the EVB board, making sure to close the ota.exe program before opening HMX_FT4222H_GUI.exe. 49 49 50 -Choose the largest number of serial port, for example, here shows 13 and 14, then choose 14. 51 - 52 52 (% class="box warningmessage" %) 53 53 ((( 54 54 (% class="mark" %)Note: before you start the software (%%)HMX_FT4222H_GUI.exe(% class="mark" %). you must pre-install the visualcppredist_aio_x6_x64_v42.exe configuration environment. Otherwise, an error pop-up window occurs when running software. ... ... @@ -72,7 +72,7 @@ 72 72 73 73 (% aria-label="1713573839396-314.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713573839396-314.png||data-widget="image" height="198" width="649"]](% title="Click and drag to resize" %) 74 74 75 -The computer's drawing tool canbe used to open thelatest bmp image and get the coordinates of the digital wheel dial, as shownbelow. Based on theformatof thedigital wheeldial, wecan obtain each coordinate point of the currentuse dial.The (x,y) coordinate on the imageis locatedat thebottom left corner.67 +The computer's drawing tool should be used to open the most recent bmp image and get the coordinates of the digital wheel dial, as shown in the picture below. Also, we need to obtain each coordinate point of the current dial following the format of said digital wheel dial. It's important to note that the (x,y) coordinate of the mouse on the image corresponds to its bottom left corner. 76 76 77 77 (% aria-label="1713574859715-722.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713574859715-722.png||data-widget="image" height="481" width="576"]](% title="Click and drag to resize" %) 78 78 ... ... @@ -113,23 +113,26 @@ 113 113 114 114 (% title="Click and drag to resize" %) 115 115 116 -== 2.2 Calibration PowerMeter ==108 +== 2.2 Calibration power meter == 117 117 110 + 111 +== 2.1 Calibrate a Power Meter == 112 + 118 118 === 2.2.1 Introduce === 119 119 120 120 This power meter is designed in accordance with the Chinese standard for Electricity metering equipment, GB/T 17215.321-2008. It features six dial numbers for measurement accuracy. 121 121 122 -=== 2.2.2 Fix Sensor to a Power Meter ===117 +=== 2.2.2 Fix Sensor to a Water Meter === 123 123 124 124 Do the following with EVB_Board 125 125 Debug Board SW12=[off on] : FT4222H SPI Slave mode 126 126 AIoT Board SW123456=[off off off off off off] 127 127 128 -(% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(%%) (% title="Click and drag to resize" %) 123 +(% aria-label="image-20240419174248-4.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419174248-4.png||data-widget="image" height="419" width="419"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(%%) (% aria-label="image-20240419174159-3.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419174159-3.png||data-widget="image" height="420" width="556"]](% title="Click and drag to resize" %) 129 129 130 130 Use a hot glue gun and several sticks to attach a triangle for stabilizing the AIS. Adjust the height of the sticks so that the AIS can clearly view the numbers on the power meter. 131 131 132 -[[image:image-2024042 2092350-2.png]](% title="Click and drag to resize" %)127 +[[image:image-20240420134742-1.jpeg||height="909" width="909"]](% title="Click and drag to resize" %) 133 133 134 134 135 135 === 2.2.3 Calibration === ... ... @@ -136,8 +136,6 @@ 136 136 137 137 Perform a power reset on the EVB board, making sure to close the ota.exe program before opening HMX_FT4222H_GUI.exe. 138 138 139 -Choose the largest number of serial port, for example, here shows 13 and 14, then choose 14. 140 - 141 141 (% class="box warningmessage" %) 142 142 ((( 143 143 (% class="mark" %)Note: before you start the software (%%)HMX_FT4222H_GUI.exe(% class="mark" %). you must pre-install the visualcppredist_aio_x6_x64_v42.exe configuration environment. Otherwise, an error pop-up window occurs when running software. ... ... @@ -147,7 +147,7 @@ 147 147 148 148 Next, select a Baud rate of 921600 and click on "start". Then, click on "show full image" to display the camera screen. 149 149 150 -(% aria-label="image-20240419174908-5.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419174908-5.png||data-widget="image" height="491" width="406"]][[image:image-20240420135207-3.png||height="4 85" width="706"]]143 +(% aria-label="image-20240419174908-5.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419174908-5.png||data-widget="image" height="491" width="406"]][[image:image-20240420135207-3.png||height="450" width="654"]] 151 151 152 152 Click "enable Raw" and save the BMP image in the "Save" folder. This step is necessary to obtain the coordinate points of the watch face. 153 153 ... ... @@ -159,9 +159,9 @@ 159 159 160 160 (% aria-label="image-20240420094632-13.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240420094632-13.png||data-widget="image" height="148" width="588"]] 161 161 162 -The computer's drawing tool canbe used to open thelatest bmp image and get the coordinates of the digital wheel dial, as shownbelow. Based on theformatof thedigital wheeldial, wecan obtain each coordinate point of the currentuse dial.The (x,y) coordinate on the imageis locatedat thebottom left corner.155 +The computer's drawing tool should be used to open the most recent bmp image and get the coordinates of the digital wheel dial, as shown in the picture below. Also, we need to obtain each coordinate point of the current dial following the format of said digital wheel dial. It's important to note that the (x,y) coordinate of the mouse on the image corresponds to its bottom left corner. 163 163 164 -[[image:image-202404201 53316-11.png||height="569" width="755"]]157 +[[image:image-20240420134851-2.jpeg||height="626" width="837"]] 165 165 166 166 (% id="cke_bm_67462S" style="display:none" %) (%%)Click the "ROI setting" button in "HIMAX_AMR_PC_Tool" and three options will pop up 167 167 ... ... @@ -198,7 +198,7 @@ 198 198 [[image:1713595371004-125.png]] 199 199 200 200 201 -== 2.3 Calibration GasMeter ==194 +== 2.3 Calibration gas meter == 202 202 203 203 === 2.3.1 Introduce === 204 204 ... ... @@ -210,19 +210,18 @@ 210 210 Debug Board SW12=[off on] : FT4222H SPI Slave mode 211 211 AIoT Board SW123456=[off off off off off off] 212 212 213 -(% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(%%) (% title="Click and drag to resize" %) 206 +(% aria-label="image-20240419174248-4.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419174248-4.png||data-widget="image" height="419" width="419"]](% style="background-image: url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background: rgba(220, 220, 220, 0.5); display: none; background-image: url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background: rgba(220, 220, 220, 0.5); display: none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)(%%) (% aria-label="image-20240419174159-3.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419174159-3.png||data-widget="image" height="420" width="556"]](% title="Click and drag to resize" %) 214 214 215 -Use a hot glue gun and several sticks to attach gasmeter.208 +Use a hot glue gun and several sticks to attach a triangle for stabilizing the AIS. Adjust the height of the sticks so that the AIS can clearly view the numbers on the water meter. 216 216 217 - (% title="Click and drag to resize" %)[[image:image-20240422092731-2.png||height="693" width="518"]]210 +[[image:image-20240420152258-9.jpeg||height="931" width="698"]] 218 218 212 +(% title="Click and drag to resize" %) 219 219 220 -=== 2. 3.3 Calibration ===214 +=== 2.1.3 Calibration === 221 221 222 222 Perform a power reset on the EVB board, making sure to close the ota.exe program before opening HMX_FT4222H_GUI.exe. 223 223 224 -Choose the largest number of serial port, for example, here shows 13 and 14, then choose 14. 225 - 226 226 (% class="box warningmessage" %) 227 227 ((( 228 228 (% class="mark" %)Note: before you start the software (%%)HMX_FT4222H_GUI.exe(% class="mark" %). you must pre-install the visualcppredist_aio_x6_x64_v42.exe configuration environment. Otherwise, an error pop-up window occurs when running software. ... ... @@ -232,55 +232,13 @@ 232 232 233 233 Next, select a Baud rate of 921600 and click on "start". Then, click on "show full image" to display the camera screen. 234 234 235 -(% aria-label="image-20240419174908-5.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419174908-5.png||data-widget="image" height="491" width="406"]][[image:1713598021017-402.png]] 236 236 237 -Click "enable Raw" and save the BMP image in the "Save" folder. This step is necessary to obtain the coordinate points of the watch face. 238 238 239 -[[image:1713592384928-500.png||height="494" width="266"]][[image:1713598094208-496.png||height="494" width="790"]] 240 240 241 -This gas meter has eight fields, and the coordinates of the digital roulette wheel are shown in the figure. 242 242 243 -If your device's digital scroll wheel dial does not match these eight fields, you can try the other field dial coordinate dot plots in 2.4. 244 244 245 -(% aria-label="image-20240420094632-15.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240420094632-15.png||data-widget="image" height="113" width="542"]] 246 246 247 -(% id="cke_bm_196694S" style="display:none" %) (%%)The computer's drawing tool can be used to open the latest bmp image and get the coordinates of the digital wheel dial, as shown below. Based on the format of the digital wheel dial, we can obtain each coordinate point of the current use dial. The (x,y) coordinate on the image is located at the bottom left corner. 248 248 249 -[[image:image-20240420153139-10.png||height="530" width="710"]] 250 - 251 -(% id="cke_bm_67462S" style="display:none" %) (%%)Click the "ROI setting" button in "HIMAX_AMR_PC_Tool" and three options will pop up 252 - 253 -The "Long dial" option is the long hand dial. 254 - 255 -The "Short dial" option is the short pointer and digital wheel dial. 256 - 257 -The "Digit wheel" option is the digital wheel dial. 258 - 259 -Now we are calibrating the digital wheel face of the gas meter. Here we select "digit wheel". 260 - 261 -(% aria-label="1713576691266-408.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713576691266-408.png||data-widget="image"]] 262 - 263 -1: Fill in the coordinates you just got; it's best to get a coordinate and fill in a coordinate. 264 - 265 -2: Fill in the number of number wheel on their dial,eight; 266 - 267 -3: Select the number of short Pointers (currently we don't use short Pointers, the "digit wheelu" option defaults to 0); 268 - 269 -4: Preview whether the setting of their coordinates is accurate; 270 - 271 -5: Click to write all configuration to AIS; 272 - 273 -6: Click the exit configuration interface, at this time, there will be a readout. If the Reading of "reading" is consistent with the watch face, the calibration is successful. The AIS cannot move thereafter to avoid misreading. 274 - 275 -[[image:image-20240420154023-12.png||height="436" width="942"]](% title="Click and drag to resize" %) 276 - 277 -The effect can be previewed by clicking the "Preview correction" button as shown below. 278 - 279 -[[image:1713598855240-454.png]] 280 - 281 -After the calibration process is completed, it can be observed that the obtained reading aligns consistently with the numerical value displayed on the digital wheel dial. 282 - 283 - 284 284 == 2.4 Digital wheel dial take point coordinate diagram == 285 285 286 286 4 numbers:
- 1713598855240-454.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -152.8 KB - Content
- 1713598887495-423.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -128.5 KB - Content
- image-20240420153139-10.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -270.9 KB - Content
- image-20240420153316-11.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -276.3 KB - Content
- image-20240420154023-12.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -266.8 KB - Content
- image-20240420154559-13.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -1.9 MB - Content
- image-20240420154605-14.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -1.9 MB - Content
- image-20240420164123-15.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -229.3 KB - Content
- image-20240420164123-16.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -142.6 KB - Content
- image-20240422092251-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -1.0 MB - Content
- image-20240422092350-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -714.7 KB - Content
- image-20240422092640-1.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -2.1 MB - Content
- image-20240422092731-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -1.4 MB - Content
- image-20240424163117-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -2.2 MB - Content
- image-20240424163158-2.gif
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -1.5 MB - Content
- image-20240424163213-3.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -3.1 MB - Content