Changes for page AI Image Sensor Calibration
Last modified by Karry Zhuang on 2025/07/03 11:59
From version 164.1
edited by Karry Zhuang
on 2024/05/16 16:36
on 2024/05/16 16:36
Change comment:
Uploaded new attachment "image-20240516163622-6.png", version {1}
To version 177.1
edited by Karry Zhuang
on 2024/05/16 17:26
on 2024/05/16 17:26
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 8 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -3,15 +3,10 @@ 3 3 4 4 5 5 6 -**Table of Contents:** 7 7 8 -{{toc/}} 9 9 10 10 11 11 12 - 13 - 14 - 15 15 = 1. Overview = 16 16 17 17 AIS is a video photo recognition sensor, the sensor can be used in electricity meters, gas meters, water meters, pressure gauges and other types of meters. Accurately identify the number of the current dial or upload the picture of the current dial for comparison, which can replace people to go to the door to read the meter, and is more accurate and energy-saving than the meter. The first thing to do is to fix the AIS sensor, the end direction needs to be aligned with the object that needs to be identified, you can check whether the object all appears in the lens range through the upper computer, and then calibrate, Chapter 2 will explain the calibration method of different tables. ... ... @@ -18,7 +18,10 @@ 18 18 19 19 = 2. Calibrate Digits Readings = 20 20 16 +According to the requirements to upgrade the firmware to correct the reading, respectively:[[Digital wheel dial firmware>>url:https://www.dropbox.com/scl/fi/nxa0nw0k2qhbpcxzfsz03/Digital-table-wheel-firmware.rar?rlkey=u9wqmilfwu899fhc9i2jfcwou&st=ftsl46f5&dl=0]],[[Pointer dial firmware>>url:https://www.dropbox.com/scl/fi/y03feisk7ztq1ey6pmhqb/Pointer-dial-firmware.rar?rlkey=knlx67m1g26xukrthcum1kk23&st=5m196s89&dl=0]]. 21 21 18 +Firmware upgrade Reference:[[Update Firmware for the AI Sensors>>http://wiki.dragino.com/xwiki/bin/view/Main/Update%20Firmware%20for%20AI%20Sensor/]]. 19 + 22 22 == 2.1 Calibrate a Water Meter == 23 23 24 24 === 2.1.1 Introduce === ... ... @@ -60,7 +60,7 @@ 60 60 61 61 Open the software [[HMX_FT4222H_GUI.exe>>https://www.dropbox.com/scl/fi/yktibns4o33oh0lqitqjl/HIMAX_AMR_PC_Tool.7z?rlkey=94d637ntx152idhw8vij39icv&st=4lsq8xf9&dl=0]]. Please ensure that the firmware upgrade software ota.exe is closed before opening HMX_FT4222H_GUI.exe. 62 62 63 - Choose the largestnumber of serial port, for example, Select the corresponding serial port number, here 14.61 +For example, Select the corresponding serial port number, here 14. 64 64 65 65 (% class="box warningmessage" %) 66 66 ((( ... ... @@ -142,7 +142,7 @@ 142 142 143 143 Open the software [[HMX_FT4222H_GUI.exe>>https://www.dropbox.com/scl/fi/yktibns4o33oh0lqitqjl/HIMAX_AMR_PC_Tool.7z?rlkey=94d637ntx152idhw8vij39icv&st=4lsq8xf9&dl=0]]. Please ensure that the firmware upgrade software ota.exe is closed before opening HMX_FT4222H_GUI.exe. 144 144 145 - Choose the largestnumber of serial port, for example, Select the corresponding serial port number, here 14.143 +For example, Select the corresponding serial port number, here 14. 146 146 147 147 (% class="box warningmessage" %) 148 148 ((( ... ... @@ -221,7 +221,7 @@ 221 221 222 222 Open the software [[HMX_FT4222H_GUI.exe>>https://www.dropbox.com/scl/fi/yktibns4o33oh0lqitqjl/HIMAX_AMR_PC_Tool.7z?rlkey=94d637ntx152idhw8vij39icv&st=4lsq8xf9&dl=0]]. Please ensure that the firmware upgrade software ota.exe is closed before opening HMX_FT4222H_GUI.exe. 223 223 224 - Choose the largestnumber of serial port, for example, Select the corresponding serial port number, here 14.222 +For example, Select the corresponding serial port number, here 14. 225 225 226 226 (% class="box warningmessage" %) 227 227 ((( ... ... @@ -302,9 +302,89 @@ 302 302 303 303 8 numbers: 304 304 305 -(% aria-label="image-20240420094632-15.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240420094632-15.png||data-widget="image"]](% 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" %)303 +(% aria-label="image-20240420094632-15.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240420094632-15.png||data-widget="image"]](% 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"]] 306 306 305 +(% title="Click and drag to resize" %) 307 307 307 +== 2.5 Pressure Pointer Meter Calibration == 308 + 309 +=== 2.5.1 Introduce === 310 + 311 +The pressure pointer meter of the example is 1.6MPa range 312 + 313 +=== 2.5.2 Fix Sensor to a Power Meter === 314 + 315 +You can utilize a couple of pea clips or other suitable fixtures to securely fasten the AIS sensor and ensure precise alignment of the camera with the pressure pointer meter. 316 + 317 +[[image:image-20240516163229-1.jpeg||height="595" width="446"]] 318 + 319 +=== 2.5.3 Calibration === 320 + 321 +Open the software [[HMX_FT4222H_GUI.exe>>https://www.dropbox.com/scl/fi/yktibns4o33oh0lqitqjl/HIMAX_AMR_PC_Tool.7z?rlkey=94d637ntx152idhw8vij39icv&st=4lsq8xf9&dl=0]]. Please ensure that the firmware upgrade software ota.exe is closed before opening HMX_FT4222H_GUI.exe. 322 + 323 +For example, Select the corresponding serial port number, here 14. 324 + 325 +(% class="box warningmessage" %) 326 +((( 327 +(% 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>>https://www.dropbox.com/scl/fi/mzqx6ld5a4zkcecntqjjg/VisualCppRedist_AIO_x86_x64_v42.rar?rlkey=9fuzodmed1fg9ulquh22h0dtr&st=ph6ozi4d&dl=0]] configuration environment. Otherwise, an error pop-up window occurs when running software. 328 +))) 329 + 330 +[[image:image-20240516163338-2.png||height="455" width="733"]] 331 + 332 + 333 +Next, select a Baud rate of 921600 and click on "start". Then, click on "show full image" to display the camera screen. 334 + 335 +[[image:image-20240516163423-3.png]] 336 + 337 + 338 +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. 339 + 340 +[[image:image-20240516163501-4.png||height="482" width="694"]] 341 + 342 +[[image:image-20240516163528-5.png||height="336" width="696"]] 343 + 344 + 345 +The computer's drawing tool can be used to open the latest bmp image and get the coordinates of the pressure pointer meter, as shown below. 346 + 347 +The coordinates of the pressure pointer table are located as shown below. 348 + 349 +1 is the start point, 2 is the center point, and 3 is the end point. 350 + 351 +The (x,y) coordinate on the image is located at the bottom left corner. 352 + 353 +[[image:image-20240516163622-6.png||height="648" width="666"]] 354 + 355 + 356 +Click on the ROI settingbutton in himax_amr_pc_tool. it will have three optionsThe long dial" option is a long dial dial.The "short dial" option is a short pointer and a number of wheel dial.The digit wheeler option is the digital wheel dial.Now the calibration is the pressure pointer table, which is long dialon." 357 + 358 +[[image:image-20240516163910-7.png]] 359 + 360 + 361 +Fill in the values of the coordinates you just got, and it's best to get one and write one 362 + 363 +1 Coordinates of the starting point of the scale 364 + 365 +2 Coordinates of the center point of the dial 366 + 367 +3 Coordinates of the end of the scale 368 + 369 +4 Starting scale value 370 + 371 +5 End point scale value *100 372 + 373 +After filling in the data, click "send ROI" to save the Settings and click "Cancel" to exit. 374 + 375 +[[image:image-20240516164128-13.png||height="410" width="889"]] 376 + 377 + 378 +After the calibration process is completed, The AIS cannot move thereafter to avoid misreading. 379 + 380 +it can be observed that the obtained reading aligns consistently with the numerical value displayed on the digital wheel dial. 381 + 382 +[[image:image-20240516164153-14.png]] 383 + 384 + 385 + 308 308 = (% title="Click and drag to resize" %)3. Get Sensor Data.(%%) = 309 309 310 310
- image-20240516163910-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.8 MB - Content
- image-20240516163955-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.3 MB - Content
- image-20240516164007-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.3 MB - Content
- image-20240516164028-10.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +300.5 KB - Content
- image-20240516164052-11.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.3 MB - Content
- image-20240516164111-12.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.3 MB - Content
- image-20240516164128-13.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +297.7 KB - Content
- image-20240516164153-14.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.karry - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.9 MB - Content