Changes for page AI Image Sensor Calibration
Last modified by Karry Zhuang on 2024/12/13 11:31
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,15 +4,36 @@ 4 4 5 5 **Table of Contents:** 6 6 7 -{{toc/}} 7 +(% aria-label="macro:toc widget" contenteditable="false" role="region" tabindex="-1" %) 8 +((( 9 +(% class="macro" data-macro="startmacro:toc|-|" data-widget="xwiki-macro" %) 10 +((( 11 +(% class="macro-placeholder hidden" %) 12 +((( 13 +macro:toc 14 +))) 8 8 16 +* [[1. Overview>>doc:null||anchor="H1.Overview"]] 17 +* [[2. Calibrate Digits Readings>>doc:null||anchor="H2.CalibrateDigitsReadings"]] 18 +** [[2.1 Calibrate a Water Meter>>doc:null||anchor="H2.1CalibrateaWaterMeter"]] 19 +*** [[2.1.1 Introduce>>doc:null||anchor="H2.1.1Introduce"]] 20 +*** [[2.1.2 Fix Sensor to a Water Meter>>doc:null||anchor="H2.1.2FixSensortoaWaterMeter"]] 21 +*** [[2.1.3 校准>>doc:null||anchor="H2.1.3682151C6"]] 22 +** [[2.2 校准功率计>>doc:null||anchor="H2.2682151C6529F73878BA1"]] 23 +** [[2.3 校准燃气表>>doc:null||anchor="H2.3682151C671C36C148868"]] 24 +** [[2.4 数字轮刻度盘取点坐标图>>doc:null||anchor="H2.465705B578F6E523B5EA676D853D670B95750680756FE"]] 25 +))) 9 9 27 +(% style="background:url(~"http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||height="15" role="presentation" title="Click and drag to move" width="15"]] 28 +))) 10 10 11 11 12 12 32 + 33 + 13 13 = 1. Overview = 14 14 15 -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. 36 +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. 16 16 17 17 = 2. Calibrate Digits Readings = 18 18 ... ... @@ -28,99 +28,99 @@ 28 28 Debug Board SW12=[off on] : FT4222H SPI Slave mode 29 29 AIoT Board SW123456=[off off off off off off] 30 30 31 -[[image:image-20240419174248-4.png||height="419" width="419"]] [[image:image-20240419174159-3.png||height="420" width="556"]] 52 +(% 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"]](% style="background:url(~"http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[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" %) 32 32 33 33 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. 34 34 35 -[[image:image-20240419173432-1.jpeg||height="757" width="757"]] 56 +(% 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"]](% style="background:url(~"http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[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" %) 36 36 37 37 38 -=== 2.1.3 校准===59 +=== 2.1.3 Calibration === 39 39 40 - 在EVB板上执行电源复位,确保在打开HMX_FT4222H_GUI.exe之前关闭ota.exe程序。61 +Perform a power reset on the EVB board, making sure to close the ota.exe program before opening HMX_FT4222H_GUI.exe. 41 41 42 42 (% class="box warningmessage" %) 43 43 ((( 44 -(% class="mark" %) 注意:在启动软件“HMX_FT4222H_GUI.exe”之前,必须预安装VisualCppRedist_AIO_x86_x64_v42.exe配置环境。否则将导致在运行软件时出现错误弹出窗口。65 +(% class="mark" %)Note: before you start the software hmx_ft4222h_gi.exe. you must pre-install the visualcppredist_aio_x6_x64_v42.exe configuration environment. Otherwise, an error pop-up window occurs when running software. 45 45 ))) 46 46 47 -[[image:1713519971789-213.png]] 68 +(% aria-label="1713519971789-213.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713519971789-213.png||data-widget="image"]](% style="background:url(~"http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[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" %) 48 48 49 - 接下来,选择波特率921600,然后单击“开始”。然后,单击“显示完整图像”以显示相机屏幕。70 +Next, select a Baud rate of 921600 and click on "start". Then, click on "show full image" to display the camera screen. 50 50 51 -[[image:image-20240419174908-5.png||height="491" width="406"]][[image:image-20240419175103-7.png||height="489" width="632"]] 72 +(% 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"]](% 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-20240419175103-7.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419175103-7.png||data-widget="image" height="489" width="632"]](% style="background:url(~"http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[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" %) 52 52 53 - 单击“启用Raw”并将BMP图像保存在“保存”文件夹中。此步骤对于获取表盘的坐标点是必需的。74 +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. 54 54 55 -[[image:image-20240419175324-8.png||height="637" width="911"]] 76 +(% aria-label="image-20240419175324-8.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419175324-8.png||data-widget="image" height="637" width="911"]](% style="background:url(~"http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[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" %) 56 56 57 -[[image:image-20240419175324-9.png||height="348" width="913"]] 78 +(% aria-label="image-20240419175324-9.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240419175324-9.png||data-widget="image" height="348" width="913"]](% style="background:url(~"http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[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" %) 58 58 59 - 这款水表只有五个字段,数字轮盘的坐标点如图所示。80 +This water meter has only five fields, and the coordinates of the digital roulette wheel are shown in the figure. 60 60 61 - 如果您的设备数字滚轮拨盘不符合这五个字段,您可以尝试2.4中的其他字段拨盘坐标点图。82 +If your device's digital scroll wheel dial does not match these five fields, you can try the other field dial coordinate dot plots in 2.4. 62 62 63 -[[image:1713573839396-314.png||height="198" width="649"]] 84 +(% aria-label="1713573839396-314.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713573839396-314.png||data-widget="image" height="198" width="649"]](% style="background:url(~"http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[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" %) 64 64 86 +The computer's drawing tool should be utilized to open the most recent bmp image and extract the coordinates of the digital wheel dial, as depicted in the accompanying illustration. Additionally, each coordinate point of the current dial should be obtained following the format specified for the digital wheel dial. 65 65 66 - 应使用计算机的绘图工具打开最新的bmp图像并提取数字滚轮表盘的坐标。如附图所示,当前表盘的每个坐标点都可以根据坐标点的格式获得。鼠标指针在图像上的(X,Y)位置对应于图像的左下角。88 +(% aria-label="1713574859715-722.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713574859715-722.png||data-widget="image" height="481" width="576"]](% style="background:url(~"http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[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" %) 67 67 68 -[[image:1713574859715-722.png||height="481" width="576"]] 90 +Click the "ROI setting" button in "HIMAX_AMR_PC_Tool" and three options will pop up 91 +The "Long dial" option is the long hand dial. 92 +The "Short dial" option is the short pointer and digital wheel dial. 93 +The "Digit wheel" option is the digital wheel dial. 94 +Now we are calibrating the digital wheel face of the water meter. Here we select "digit wheel". 69 69 70 - 点击“HIMAX_AMR_PC_Tool”中的“ROI设置”按钮,会出现三个选项。96 +(% aria-label="1713576691266-408.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713576691266-408.png||data-widget="image"]](% style="background:url(~"http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[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" %) 71 71 72 - 名为“长表盘”的选项代表长指针表盘。98 +1:Fill in the coordinates you just got; it's best to get a coordinate and fill in a coordinate. 73 73 74 - 名为“短拨盘”的选项是指短指针和数字滚轮拨盘。100 +2: fill in the number of number wheel on their dial; 75 75 76 - 标有“数字滚轮”的选项表示数字滚轮拨盘。102 +3: Select the number of short Pointers (currently we don't use short Pointers, the "digit wheelu" option defaults to 0); 77 77 78 - 目前,我们正在校准水表的数字轮面,因此我们应该选择“数字轮”选项。104 +4: Preview whether the setting of their coordinates is accurate; 79 79 80 - [[image:1713576691266-408.png]]106 +5: Click to write all configuration to AIS; 81 81 82 -1:填写刚刚得到的坐标,最好得到一个坐标并填写一个坐标; 83 -2:填写自己表盘上的数字轮号; 84 -3:选择短指针的数量(目前我们不使用短指针,“数字轮”选项默认为 0)。 85 -4:预览其坐标设置是否准确; 86 -5:点击将所有配置写入AIS 87 -6:点击退出配置界面,此时会出现读数,如下图所示,如果读数与表盘一致,则校准成功。此后,AIS无法移动,以避免误读。 108 +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. 88 88 89 -[[image:1713576930301-479.png]] 110 +(% aria-label="1713576930301-479.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713576930301-479.png||data-widget="image"]](% style="background:url(~"http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[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" %) 90 90 91 - 可以通过单击“预览校正”按钮来预览效果,如下所示。112 +The effect can be previewed by clicking the "Preview correction" button as shown below. 92 92 93 -[[image:1713577029535-253.png]] 114 +(% aria-label="1713577029535-253.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713577029535-253.png||data-widget="image" height="748" width="1069"]](% style="background:url(~"http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[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" %) 94 94 95 95 96 - 校准过程完成后,可以观察到获得的读数与数字滚轮刻度盘上显示的数值一致。117 +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. 97 97 98 -[[image:1713577072196-132.png]] 119 +(% aria-label="1713577072196-132.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1713577072196-132.png||data-widget="image" height="751" width="1073"]](% style="background:url(~"http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" %)[[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" %) 99 99 100 -== 2.2 校准功率计==121 +== 2.2 Calibration power meter == 101 101 102 -== 2.3 校准燃气表==123 +== 2.3 Calibration gas meter == 103 103 104 -== 2.4 数字轮刻度盘取点坐标图==125 +== 2.4 Digital wheel dial take point coordinate diagram == 105 105 106 -4 个数字:127 +4 numbers: 107 107 108 -[[image:image-20240420094632-11.png||height="134" width="410"]] 129 +(% aria-label="image-20240420094632-11.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240420094632-11.png||data-widget="image" height="134" width="410"]](% 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" %) 109 109 110 -5 个数字:131 +5 numbers: 111 111 112 -[[image:image-20240420094632-12.png||height="130" width="427"]] 133 +(% aria-label="image-20240420094632-12.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240420094632-12.png||data-widget="image" height="130" width="427"]](% 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" %) 113 113 114 -6 个数字:135 +6 numbers: 115 115 116 -[[image:image-20240420094632-13.png||height="112" width="444"]] 137 +(% aria-label="image-20240420094632-13.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240420094632-13.png||data-widget="image" height="112" width="444"]](% 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" %) 117 117 118 -7 个数字:139 +7 numbers: 119 119 120 -[[image:image-20240420094632-14.png||height="111" width="454"]] 141 +(% aria-label="image-20240420094632-14.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20240420094632-14.png||data-widget="image" height="111" width="454"]](% 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" %) 121 121 122 -8 个数字:143 +8 numbers: 123 123 124 -[[image:image-20240420094632-15.png]] 145 +(% 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" %) 125 125 126 126