Changes for page AI Image Sensor Calibration
Last modified by Karry Zhuang on 2025/07/03 11:59
From version 58.4
edited by Karry Zhuang
on 2024/04/20 16:52
on 2024/04/20 16:52
Change comment:
There is no comment for this version
To version 47.1
edited by Karry Zhuang
on 2024/04/20 15:23
on 2024/04/20 15:23
Change comment:
Uploaded new attachment "image-20240420152258-9.jpeg", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 11 removed)
Details
- Page properties
-
- Content
-
... ... @@ -18,11 +18,6 @@ 18 18 19 19 = 2. Calibrate Digits Readings = 20 20 21 - 22 -The data cable should be connected to the AIS (note: there is no camera on this side), while the computer should be connected on the other side. 23 - 24 -[[image:image-20240420164123-15.jpeg]] [[image:image-20240420164123-16.jpeg]] 25 - 26 26 == 2.1 Calibrate a Water Meter == 27 27 28 28 === 2.1.1 Introduce === ... ... @@ -39,7 +39,7 @@ 39 39 40 40 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. 41 41 42 -[[image:image-202404 20154605-14.jpeg||height="903" width="903"]](% title="Click and drag to resize" %)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" %) 43 43 44 44 45 45 === 2.1.3 Calibration === ... ... @@ -46,8 +46,6 @@ 46 46 47 47 Perform a power reset on the EVB board, making sure to close the ota.exe program before opening HMX_FT4222H_GUI.exe. 48 48 49 -Choose the largest number of serial port, for example, here shows 13 and 14, then choose 14. 50 - 51 51 (% class="box warningmessage" %) 52 52 ((( 53 53 (% 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. ... ... @@ -71,7 +71,7 @@ 71 71 72 72 (% 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" %) 73 73 74 -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. 75 75 76 76 (% 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" %) 77 77 ... ... @@ -112,8 +112,11 @@ 112 112 113 113 (% title="Click and drag to resize" %) 114 114 115 -== 2.2 Calibration PowerMeter ==108 +== 2.2 Calibration power meter == 116 116 110 + 111 +== 2.1 Calibrate a Water Meter == 112 + 117 117 === 2.2.1 Introduce === 118 118 119 119 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. ... ... @@ -135,8 +135,6 @@ 135 135 136 136 Perform a power reset on the EVB board, making sure to close the ota.exe program before opening HMX_FT4222H_GUI.exe. 137 137 138 -Choose the largest number of serial port, for example, here shows 13 and 14, then choose 14. 139 - 140 140 (% class="box warningmessage" %) 141 141 ((( 142 142 (% 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. ... ... @@ -146,7 +146,7 @@ 146 146 147 147 Next, select a Baud rate of 921600 and click on "start". Then, click on "show full image" to display the camera screen. 148 148 149 -(% 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"]] 150 150 151 151 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. 152 152 ... ... @@ -158,9 +158,9 @@ 158 158 159 159 (% 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"]] 160 160 161 -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. 162 162 163 -[[image:image-202404201 53316-11.png||height="569" width="755"]]157 +[[image:image-20240420134851-2.jpeg||height="626" width="837"]] 164 164 165 165 (% id="cke_bm_67462S" style="display:none" %) (%%)Click the "ROI setting" button in "HIMAX_AMR_PC_Tool" and three options will pop up 166 166 ... ... @@ -197,90 +197,16 @@ 197 197 [[image:1713595371004-125.png]] 198 198 199 199 200 -== 2.3 Calibration GasMeter ==194 +== 2.3 Calibration gas meter == 201 201 202 -=== 2.3.1 Introduce === 203 203 204 -This gas meter uses G2.5 membrane gas meter. It features eight dial numbers for measurement accuracy. 205 205 206 -=== 2.3.2 Fix Sensor to a Gas Meter === 207 207 208 -Do the following with EVB_Board 209 -Debug Board SW12=[off on] : FT4222H SPI Slave mode 210 -AIoT Board SW123456=[off off off off off off] 211 211 212 -(% 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" %) 213 213 214 -Use a hot glue gun and several sticks to attach for stabilizing the AIS. Adjust the height of the sticks so that the AIS can clearly view the numbers on the gas meter. 215 215 216 -[[image:image-20240420152258-9.jpeg||height="931" width="698"]] 217 217 218 -(% title="Click and drag to resize" %) 219 219 220 -=== 2.1.3 Calibration === 221 - 222 -Perform a power reset on the EVB board, making sure to close the ota.exe program before opening HMX_FT4222H_GUI.exe. 223 - 224 -Choose the largest number of serial port, for example, here shows 13 and 14, then choose 14. 225 - 226 -(% class="box warningmessage" %) 227 -((( 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. 229 -))) 230 - 231 -(% aria-label="1713519971789-213.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713519971789-213.png||data-widget="image"]](% title="Click and drag to resize" %) 232 - 233 -Next, select a Baud rate of 921600 and click on "start". Then, click on "show full image" to display the camera screen. 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 - 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 - 239 -[[image:1713592384928-500.png||height="494" width="266"]][[image:1713598094208-496.png||height="494" width="790"]] 240 - 241 -This gas meter has eight fields, and the coordinates of the digital roulette wheel are shown in the figure. 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 - 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 - 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 - 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:
- 1713598021017-402.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -92.5 KB - Content
- 1713598094208-496.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.karry - Size
-
... ... @@ -1,1 +1,0 @@ 1 -340.0 KB - Content
- 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