Changes for page AI Image Sensor Calibration
Last modified by Karry Zhuang on 2025/07/03 11:59
From 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}
To version 56.5
edited by Karry Zhuang
on 2024/04/20 16:30
on 2024/04/20 16:30
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 9 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -34,7 +34,7 @@ 34 34 35 35 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. 36 36 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" %)37 +[[image:image-20240420154605-14.jpeg||height="903" width="903"]](% title="Click and drag to resize" %) 38 38 39 39 40 40 === 2.1.3 Calibration === ... ... @@ -41,6 +41,8 @@ 41 41 42 42 Perform a power reset on the EVB board, making sure to close the ota.exe program before opening HMX_FT4222H_GUI.exe. 43 43 44 +Choose the largest number of serial port, for example, here shows 13 and 14, then choose 14 45 + 44 44 (% class="box warningmessage" %) 45 45 ((( 46 46 (% 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. ... ... @@ -64,7 +64,7 @@ 64 64 65 65 (% 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" %) 66 66 67 -The computer's drawing tool shouldbe used to open themostrecent bmp image and get the coordinates of the digital wheel dial, as shownin thepicturebelow.Also, we needtoobtain each coordinate point of the currentdial following the format ofsaid digital wheeldial.It's important to note that the (x,y) coordinate of the mouse on the imagecorrespondstoitsbottom left corner.69 +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. 68 68 69 69 (% 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" %) 70 70 ... ... @@ -108,7 +108,7 @@ 108 108 == 2.2 Calibration power meter == 109 109 110 110 111 -== 2.1 Calibrate a Water Meter ==113 +== 2.1 Calibrate a Power Meter == 112 112 113 113 === 2.2.1 Introduce === 114 114 ... ... @@ -131,6 +131,8 @@ 131 131 132 132 Perform a power reset on the EVB board, making sure to close the ota.exe program before opening HMX_FT4222H_GUI.exe. 133 133 136 +Choose the largest number of serial port, for example, here shows 13 and 14, then choose 14 137 + 134 134 (% class="box warningmessage" %) 135 135 ((( 136 136 (% 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. ... ... @@ -140,7 +140,7 @@ 140 140 141 141 Next, select a Baud rate of 921600 and click on "start". Then, click on "show full image" to display the camera screen. 142 142 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="45 0" width="654"]]147 +(% 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="485" width="706"]] 144 144 145 145 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. 146 146 ... ... @@ -152,9 +152,9 @@ 152 152 153 153 (% 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"]] 154 154 155 -The computer's drawing tool shouldbe used to open themostrecent bmp image and get the coordinates of the digital wheel dial, as shownin thepicturebelow.Also, we needtoobtain each coordinate point of the currentdial following the format ofsaid digital wheeldial.It's important to note that the (x,y) coordinate of the mouse on the imagecorrespondstoitsbottom left corner.159 +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. 156 156 157 -[[image:image-202404201 34851-2.jpeg||height="626" width="837"]]161 +[[image:image-20240420153316-11.png||height="569" width="755"]] 158 158 159 159 (% id="cke_bm_67462S" style="display:none" %) (%%)Click the "ROI setting" button in "HIMAX_AMR_PC_Tool" and three options will pop up 160 160 ... ... @@ -193,14 +193,88 @@ 193 193 194 194 == 2.3 Calibration gas meter == 195 195 200 +=== 2.3.1 Introduce === 196 196 202 +This gas meter uses G2.5 membrane gas meter. It features eight dial numbers for measurement accuracy. 197 197 204 +=== 2.3.2 Fix Sensor to a Gas Meter === 198 198 206 +Do the following with EVB_Board 207 +Debug Board SW12=[off on] : FT4222H SPI Slave mode 208 +AIoT Board SW123456=[off off off off off off] 199 199 210 +(% 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" %) 200 200 212 +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. 201 201 214 +[[image:image-20240420152258-9.jpeg||height="931" width="698"]] 202 202 216 +(% title="Click and drag to resize" %) 203 203 218 +=== 2.1.3 Calibration === 219 + 220 +Perform a power reset on the EVB board, making sure to close the ota.exe program before opening HMX_FT4222H_GUI.exe. 221 + 222 +Choose the largest number of serial port, for example, here shows 13 and 14, then choose 14 223 + 224 +(% class="box warningmessage" %) 225 +((( 226 +(% 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. 227 +))) 228 + 229 +(% 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" %) 230 + 231 +Next, select a Baud rate of 921600 and click on "start". Then, click on "show full image" to display the camera screen. 232 + 233 +(% 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]] 234 + 235 +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. 236 + 237 +[[image:1713592384928-500.png||height="494" width="266"]][[image:1713598094208-496.png||height="494" width="790"]] 238 + 239 +This gas meter has eight fields, and the coordinates of the digital roulette wheel are shown in the figure. 240 + 241 +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. 242 + 243 +(% 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"]] 244 + 245 +(% 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. 246 + 247 +[[image:image-20240420153139-10.png||height="530" width="710"]] 248 + 249 +(% id="cke_bm_67462S" style="display:none" %) (%%)Click the "ROI setting" button in "HIMAX_AMR_PC_Tool" and three options will pop up 250 + 251 +The "Long dial" option is the long hand dial. 252 + 253 +The "Short dial" option is the short pointer and digital wheel dial. 254 + 255 +The "Digit wheel" option is the digital wheel dial. 256 + 257 +Now we are calibrating the digital wheel face of the gas meter. Here we select "digit wheel". 258 + 259 +(% aria-label="1713576691266-408.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713576691266-408.png||data-widget="image"]] 260 + 261 +1: Fill in the coordinates you just got; it's best to get a coordinate and fill in a coordinate. 262 + 263 +2: Fill in the number of number wheel on their dial,eight; 264 + 265 +3: Select the number of short Pointers (currently we don't use short Pointers, the "digit wheelu" option defaults to 0); 266 + 267 +4: Preview whether the setting of their coordinates is accurate; 268 + 269 +5: Click to write all configuration to AIS; 270 + 271 +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. 272 + 273 +[[image:image-20240420154023-12.png||height="436" width="942"]](% title="Click and drag to resize" %) 274 + 275 +The effect can be previewed by clicking the "Preview correction" button as shown below. 276 + 277 +[[image:1713598855240-454.png]] 278 + 279 +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. 280 + 281 + 204 204 == 2.4 Digital wheel dial take point coordinate diagram == 205 205 206 206 4 numbers:
- 1713598021017-402.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +92.5 KB - Content
- 1713598094208-496.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +340.0 KB - Content
- 1713598855240-454.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +152.8 KB - Content
- 1713598887495-423.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +128.5 KB - Content
- image-20240420153139-10.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +270.9 KB - Content
- image-20240420153316-11.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +276.3 KB - Content
- image-20240420154023-12.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +266.8 KB - Content
- image-20240420154559-13.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.9 MB - Content
- image-20240420154605-14.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.9 MB - Content