{"id":95913,"date":"2023-02-22T08:47:51","date_gmt":"2023-02-22T00:47:51","guid":{"rendered":"https:\/\/www.tm-robot.com\/docs\/tm-aiclassification-application-example-ipc-inspection\/"},"modified":"2023-07-12T15:54:26","modified_gmt":"2023-07-12T07:54:26","slug":"tm-aiclassification-application-example-ipc-inspection","status":"publish","type":"docs","link":"https:\/\/www.tm-robot.com\/ja\/docs\/tm-aiclassification-application-example-ipc-inspection\/","title":{"rendered":"TM AI+Classification application example &#8211; IPC inspection"},"content":{"rendered":"<p>The example of this article applies to the following conditions :<\/p>\n<p>Hardware requirements :<\/p>\n<ul>\n<li>Advantech AIR 300 Training server<\/li>\n<li>TM Robot (HW 3.0 and above version)<\/li>\n<li>IPC<\/li>\n<li>Polarizer<\/li>\n<li>Suitable working enviroment<\/li>\n<li>TM calibration plate<\/li>\n<\/ul>\n<p>Software requirements :<\/p>\n<ul>\n<li>Dongle with TM AI license<\/li>\n<\/ul>\n<p>Version requirements:<\/p>\n<ul>\n<li>TMflow version\uff1a 1.88.2200(If you are using the above version, you need to match the relevant version of TM AI+ Training Server )<\/li>\n<li>TM AI+ Training Server 2.12.2200(If you are using the above version, you need to match the relevant version of TMflow)<\/li>\n<\/ul>\n<hr \/>\n<h2>IPC inspection task description<\/h2>\n<h3><strong>Inspection Process :<\/strong><\/h3>\n<p>Use the display panel of the IPC for Pattern matching positioning, and move the robot to the inspection area to inspect the following items in order<\/p>\n<p>1.Is the filter ring installed on the power line<\/p>\n<p>2.Whether the cable is actually inserted into the slot<\/p>\n<p>3.Are the screw holes screws<\/p>\n<p>4.Is the cable alignment method correct<\/p>\n<hr \/>\n<h2><b>Shooting screen adjustment<\/b><\/h2>\n<h3><b>Place the IPC in the working plane<\/b><\/h3>\n<p>Determine the working enviroment is fixed, the IPC placed on the work plane, adjust the shooting angle, and open the light source, you can replace the polarizer to avoid reflections that lead to unclear images.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u96fb\u63a7\u7bb1.png\"><img loading=\"lazy\" class=\"size-full wp-image-85532 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u96fb\u63a7\u7bb1.png\" alt=\"\" width=\"664\" height=\"495\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u96fb\u63a7\u7bb1.png 664w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u96fb\u63a7\u7bb1-300x224.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u96fb\u63a7\u7bb1-360x268.png 360w\" sizes=\"(max-width: 664px) 100vw, 664px\" \/><\/a><\/p>\n<hr \/>\n<h3><strong>Move the robot to select the shooting area<\/strong><\/h3>\n<p>Move the robot to the desired location, use the controller to control the movement of the robot, and observe whether the object to be detected is within the visible range through Vision.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u89c0\u5bdf\u62cd\u651d\u7bc4\u570d.png\"><img loading=\"lazy\" class=\"size-full wp-image-85538 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u89c0\u5bdf\u62cd\u651d\u7bc4\u570d.png\" alt=\"\" width=\"1267\" height=\"583\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u89c0\u5bdf\u62cd\u651d\u7bc4\u570d.png 1267w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u89c0\u5bdf\u62cd\u651d\u7bc4\u570d-300x138.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u89c0\u5bdf\u62cd\u651d\u7bc4\u570d-1024x471.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u89c0\u5bdf\u62cd\u651d\u7bc4\u570d-768x353.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u89c0\u5bdf\u62cd\u651d\u7bc4\u570d-360x166.png 360w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u89c0\u5bdf\u62cd\u651d\u7bc4\u570d-1000x460.png 1000w\" sizes=\"(max-width: 1267px) 100vw, 1267px\" \/><\/a><\/p>\n<hr \/>\n<h3><b>Shooting images and parameter adjustment<\/b><\/h3>\n<p>Determine the field of view to be detected, place a TM calibration plate, open the light source (it is recommended that the use of polarizers to avoid reflections leading to unclear shooting), adjust the parameters of the camera.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u6821\u6b63\u7248\u8abf\u6574\u53c3\u6578.png\"><img loading=\"lazy\" class=\"size-full wp-image-85544 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u6821\u6b63\u7248\u8abf\u6574\u53c3\u6578.png\" alt=\"\" width=\"1263\" height=\"590\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u6821\u6b63\u7248\u8abf\u6574\u53c3\u6578.png 1263w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u6821\u6b63\u7248\u8abf\u6574\u53c3\u6578-300x140.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u6821\u6b63\u7248\u8abf\u6574\u53c3\u6578-1024x478.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u6821\u6b63\u7248\u8abf\u6574\u53c3\u6578-768x359.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u6821\u6b63\u7248\u8abf\u6574\u53c3\u6578-360x168.png 360w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u6821\u6b63\u7248\u8abf\u6574\u53c3\u6578-1000x467.png 1000w\" sizes=\"(max-width: 1263px) 100vw, 1263px\" \/><\/a><\/p>\n<hr \/>\n<h2><strong>How to select the ROI and image collection\u00a0<\/strong><\/h2>\n<h3>Image collection instructions<\/h3>\n<p>When performing AI Classification, the entire screen is not captured, but the features within the detection range must be selected.\u00a0 The following examples show how to select ROI and choose the images to be captured for the following detection contents.<\/p>\n<ul>\n<li>Is equipped with filter ring\n<ul>\n<li>It is &#8220;OK&#8221; to equip with filter ring.<\/li>\n<li>&#8220;NG&#8221; without magnetic ring equipped.<\/li>\n<\/ul>\n<\/li>\n<li>Is the plugin actually inserted\n<ul>\n<li>There is indeed inserted as &#8220;OK&#8221;.<\/li>\n<li>Not really inserted or not inserted as NG.<\/li>\n<\/ul>\n<\/li>\n<li>Whether the screw hole has locking screw attached\n<ul>\n<li>Locking screw for &#8220;OK&#8221;.<\/li>\n<li>Not locked with screws for &#8220;NG&#8221;.<\/li>\n<\/ul>\n<\/li>\n<li>Is the cable alignment method correct\n<ul>\n<li>Cable on and correct is &#8220;OK&#8221;.<\/li>\n<li>Cable not connected as &#8220;NG&#8221;.<\/li>\n<li>Cable interleaved as &#8220;CROSS&#8221;.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<hr \/>\n<h3><strong>Image collection instructions\u00a0&#8211; Is equipped with filter ring<\/strong><\/h3>\n<p>Attach the filter ring first. Because the filter ring is attached to the power line, there will be a certain range of movement. When making a frame selection for the filter ring, the possibility of moving the filter ring must be considered as much as possible. Refer to the following figure<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ferriteroi.png\"><img loading=\"lazy\" class=\"size-full wp-image-85550 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ferriteroi.png\" alt=\"\" width=\"721\" height=\"558\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ferriteroi.png 721w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ferriteroi-300x232.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ferriteroi-360x279.png 360w\" sizes=\"(max-width: 721px) 100vw, 721px\" \/><\/a><\/p>\n<hr \/>\n<p>When collecting OK situations, various possibilities of the movement of the filter ring must be considered, so you can try to move the filter ring more to create various possibilities of the appearance of the filter ring . To ensure that there is enough information, it is recommended to collect about 30 images. The demonstration is as follows.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ferriteOK.png\"><img loading=\"lazy\" class=\"size-full wp-image-85556 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ferriteOK.png\" alt=\"\" width=\"906\" height=\"561\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ferriteOK.png 906w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ferriteOK-300x186.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ferriteOK-768x476.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ferriteOK-360x223.png 360w\" sizes=\"(max-width: 906px) 100vw, 906px\" \/><\/a><\/p>\n<hr \/>\n<p>When collecting NG situations, various possibilities of the power cord must be considered, so you can try to create various possibilities of the power cord. In order to ensure enough information, it is recommended to collect about 30 images, as shown below.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ferriteNG.png\"><img loading=\"lazy\" class=\"size-full wp-image-85562 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ferriteNG.png\" alt=\"\" width=\"938\" height=\"581\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ferriteNG.png 938w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ferriteNG-300x186.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ferriteNG-768x476.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ferriteNG-360x223.png 360w\" sizes=\"(max-width: 938px) 100vw, 938px\" \/><\/a><\/p>\n<hr \/>\n<h3><strong>Image collection instructions\u00a0-Is the plugin actually inserted<\/strong><\/h3>\n<p>Since the position of the plug-in is fixed, the plug-in screen must occupy most of the ROI screen, so as to avoid being affected by the background factors and affecting the AI judgment.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insertroi.png\"><img loading=\"lazy\" class=\"size-full wp-image-85568 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insertroi.png\" alt=\"\" width=\"795\" height=\"615\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insertroi.png 795w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insertroi-300x232.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insertroi-768x594.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insertroi-360x278.png 360w\" sizes=\"(max-width: 795px) 100vw, 795px\" \/><\/a><\/p>\n<hr \/>\n<p>When collecting OK situations, since the plug-in changes little, you can try to change the angle of the wire head. It is recommended to collect about 30 images, or change the ambient light source to adapt to various environmental changes. If you want to change the ambient light source, it is recommended to collect more images to increase the information for AI learning.<br \/>\n<a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insertok.png\"><img loading=\"lazy\" class=\"size-full wp-image-85574 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insertok.png\" alt=\"\" width=\"777\" height=\"516\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insertok.png 777w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insertok-300x199.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insertok-768x510.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insertok-360x239.png 360w\" sizes=\"(max-width: 777px) 100vw, 777px\" \/><\/a><\/p>\n<hr \/>\n<p>When collecting NG cases, you need to collect more possibilities of incomplete insertion, to prevent AI from confusing the cases that are almost inserted and fully inserted. At the same time, you also need to consider the possibility of no insertion at all. It is recommended to collect about 30 images.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insertng.png\"><img loading=\"lazy\" class=\"size-full wp-image-85580 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insertng.png\" alt=\"\" width=\"816\" height=\"524\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insertng.png 816w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insertng-300x193.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insertng-768x493.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insertng-360x231.png 360w\" sizes=\"(max-width: 816px) 100vw, 816px\" \/><\/a><\/p>\n<hr \/>\n<h3><strong>Image collection instructions-whether there is a screw in the screw hole_top shot of the IPC<\/strong><\/h3>\n<p>When selecting the screw hole, the hole position must also occupy more than half of the ROI. Considering that there are various angles or lighting problems when shooting screws, the selection range should not be too narrow, so that it can cope with different situations.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/upscrewroi.png\"><img loading=\"lazy\" class=\"size-full wp-image-85586 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/upscrewroi.png\" alt=\"\" width=\"739\" height=\"571\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/upscrewroi.png 739w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/upscrewroi-300x232.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/upscrewroi-360x278.png 360w\" sizes=\"(max-width: 739px) 100vw, 739px\" \/><\/a><\/p>\n<hr \/>\n<p>Since the state of the screw locking the screw does not change much, and the background is mostly metal surface, we can create additional light sources to increase the information of various environmental changes.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/spotlight.png\"><img loading=\"lazy\" class=\"size-full wp-image-85592 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/spotlight.png\" alt=\"\" width=\"385\" height=\"544\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/spotlight.png 385w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/spotlight-212x300.png 212w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/spotlight-360x509.png 360w\" sizes=\"(max-width: 385px) 100vw, 385px\" \/><\/a><\/p>\n<hr \/>\n<p>The following shows the situation of collecting OK images. It is recommended to collect about 30 images. You can see that each image is affected by different light and shadow.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/upscrewok.png\"><img loading=\"lazy\" class=\"size-full wp-image-85598 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/upscrewok.png\" alt=\"\" width=\"718\" height=\"545\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/upscrewok.png 718w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/upscrewok-300x228.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/upscrewok-360x273.png 360w\" sizes=\"(max-width: 718px) 100vw, 718px\" \/><\/a><\/p>\n<hr \/>\n<p>Whwn collecting NG images, you can also refer to the way of collecting OK images. It is also recommended to collect about 30 images and consider the influence of different light soutces.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/upscrewng.png\"><img loading=\"lazy\" class=\"size-full wp-image-85604 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/upscrewng.png\" alt=\"\" width=\"814\" height=\"556\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/upscrewng.png 814w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/upscrewng-300x205.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/upscrewng-768x525.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/upscrewng-360x246.png 360w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/upscrewng-320x220.png 320w\" sizes=\"(max-width: 814px) 100vw, 814px\" \/><\/a><\/p>\n<hr \/>\n<h3><strong>Image collection instructions &#8211; whether there is a screw in the screw hole_side shot of the IPC<\/strong><\/h3>\n<p>After taking the upper screw, we move the robot to the side of the IPC and check whether the side screws are locked. Since there are various changes in the side shot, you can also create extra light sources to simulate different situations.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u96fb\u63a7\u7bb1.png\"><img loading=\"lazy\" class=\"size-full wp-image-85532 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u96fb\u63a7\u7bb1.png\" alt=\"\" width=\"664\" height=\"495\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u96fb\u63a7\u7bb1.png 664w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u96fb\u63a7\u7bb1-300x224.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u96fb\u63a7\u7bb1-360x268.png 360w\" sizes=\"(max-width: 664px) 100vw, 664px\" \/><\/a><\/p>\n<hr \/>\n<p>The screw hole should also occupy more than half of the ROI range, and the screw hole should be as close to the center of the ROI as possible, to prevent reflection from causing AI information misjudgment.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/sidescrewroi.png\"><img loading=\"lazy\" class=\"size-full wp-image-85610 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/sidescrewroi.png\" alt=\"\" width=\"728\" height=\"563\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/sidescrewroi.png 728w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/sidescrewroi-300x232.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/sidescrewroi-360x278.png 360w\" sizes=\"(max-width: 728px) 100vw, 728px\" \/><\/a><\/p>\n<hr \/>\n<p>Similarly, when collectng OK situations, you can consider different light sources. In order to make AI able to judge more screw, you can add the situation of shooting the upper control box to this situation for training. It is recommended to collect about 30 images, combined with the situation of the upper control box, to cope with various situations.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/top-shot-screw-OK.png\"><img loading=\"lazy\" class=\"alignnone wp-image-95921 size-full\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/top-shot-screw-OK.png\" alt=\"\" width=\"1255\" height=\"556\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/top-shot-screw-OK.png 1255w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/top-shot-screw-OK-300x133.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/top-shot-screw-OK-1024x454.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/top-shot-screw-OK-768x340.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/top-shot-screw-OK-360x159.png 360w\" sizes=\"(max-width: 1255px) 100vw, 1255px\" \/><\/a><\/p>\n<hr \/>\n<p>And when collecting NG situations, you can also add the situation of shooting the upper control box to this situation for training. It is recommended to collect about 30 images, combined with the situation of the upper control box, to cope with various situations.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/top-shot-screw-NG.png\"><img loading=\"lazy\" class=\"alignnone wp-image-95915 size-full\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/top-shot-screw-NG.png\" alt=\"\" width=\"1365\" height=\"609\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/top-shot-screw-NG.png 1365w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/top-shot-screw-NG-300x134.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/top-shot-screw-NG-1024x457.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/top-shot-screw-NG-768x343.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/top-shot-screw-NG-360x161.png 360w\" sizes=\"(max-width: 1365px) 100vw, 1365px\" \/><\/a><\/p>\n<hr \/>\n<h3><b>Image collection instructions &#8211; whether the cable is connected correctly\u00a0<\/b><\/h3>\n<p>The purpose of this task is to confirm whether the cable is properly\u00a0 inserted and inserted in the correct position, and therer should be no wrong or unplugged situations. The entire cable should also occupy most of the ROI range, and try not to have redundant backgrounds that affect AI judgment. We divide the cable into three situations for image collection.<\/p>\n<ul>\n<li>One-to-one correspondence, overlapping lines are also accepted, regarded ad OK<\/li>\n<li>The cable head is properly inserted, but inserted in the wrong hole, regarded as CROSS<\/li>\n<li>The cable head is not properly inserted, regarded as NG<\/li>\n<\/ul>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/cableroi.png\"><img loading=\"lazy\" class=\"size-full wp-image-85629 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/cableroi.png\" alt=\"\" width=\"621\" height=\"532\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/cableroi.png 621w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/cableroi-300x257.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/cableroi-360x308.png 360w\" sizes=\"(max-width: 621px) 100vw, 621px\" \/><\/a><\/p>\n<hr \/>\n<p><b>Image collection instructions &#8211; whether the cable is connected correctly_OK situation<\/b><\/p>\n<p>One-to-one correspondence, overlapping lines are also accepted, make sure the cable head is properly inserted, create some opening and closing situations, and create overlapping cable heads, collect about 30 images, the following are all regarded as OK situations.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/06\/cable.png\"><img loading=\"lazy\" class=\"alignnone wp-image-94840 size-full\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/06\/cable.png\" alt=\"\" width=\"1140\" height=\"566\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/06\/cable.png 1140w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/06\/cable-300x149.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/06\/cable-1024x508.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/06\/cable-768x381.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/06\/cable-360x179.png 360w\" sizes=\"(max-width: 1140px) 100vw, 1140px\" \/><\/a><\/p>\n<hr \/>\n<p><b>Image collection instructions &#8211; whether the cable is connected correctly_CROSS situation<\/b><\/p>\n<p>The cable head is properly inserted, but inserted in the wrong hole, collect the situations of two lines crossing, three line crossing, and four lines crossing, and consider all possible combinations as much as possible. Collect 2 to 3 images for each of the above situations, so a total of about 30 images are collected.<br \/>\n<a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/06\/cable_1.png\"><img loading=\"lazy\" class=\"alignnone wp-image-94847 size-full\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/06\/cable_1.png\" alt=\"\" width=\"1259\" height=\"500\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/06\/cable_1.png 1259w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/06\/cable_1-300x119.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/06\/cable_1-1024x407.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/06\/cable_1-768x305.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/06\/cable_1-360x143.png 360w\" sizes=\"(max-width: 1259px) 100vw, 1259px\" \/><\/a><\/p>\n<hr \/>\n<p><b>Image collection instructions &#8211; whether the cable is connected correctly_NG situation<\/b><\/p>\n<p>The cable head is not properly inserted, collect the situations where there may be four unplugged, three unplugged, two unplugged, or even all unplugged, collect about 30 images.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/cableng.png\"><img loading=\"lazy\" class=\"size-full wp-image-85647 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/cableng.png\" alt=\"\" width=\"605\" height=\"552\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/cableng.png 605w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/cableng-300x274.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/cableng-360x328.png 360w\" sizes=\"(max-width: 605px) 100vw, 605px\" \/><\/a><\/p>\n<hr \/>\n<h3><strong>Image collection instructions &#8211; image storage method<\/strong><\/h3>\n<p>There are two main items for storing images (for detailed storage instructions, please refer to the manual)<\/p>\n<ol>\n<li>Store ROI image in AI Classification\n<ul>\n<li>TM AI+ Training Server Dataset<\/li>\n<li>TM SSD external hard drive<\/li>\n<\/ul>\n<\/li>\n<li>Store Source images when running with Vision Job<\/li>\n<\/ol>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>TM SSD external hard drive<\/li>\n<li>Network Service<\/li>\n<li>Save Image Component<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<hr \/>\n<p>When\u00a0 choosing the\u00a0 second\u00a0 way\u00a0 to\u00a0 store\u00a0 Source\u00a0 images,\u00a0 you can\u00a0 Crop\u00a0 ROI\u00a0 in\u00a0 the\u00a0 Dataset\u00a0 of\u00a0 version 2.12 Training\u00a0 Server<a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/06\/store-image.png\"><img loading=\"lazy\" class=\"alignnone wp-image-94861 size-full\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/06\/store-image.png\" alt=\"\" width=\"1042\" height=\"521\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/06\/store-image.png 1042w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/06\/store-image-300x150.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/06\/store-image-1024x512.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/06\/store-image-768x384.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/06\/store-image-360x180.png 360w\" sizes=\"(max-width: 1042px) 100vw, 1042px\" \/><\/a><\/p>\n<hr \/>\n<p>Open source image<br \/>\n<a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/opensourceimage.png\"><img loading=\"lazy\" class=\"wp-image-95829 size-full aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/opensourceimage.png\" alt=\"\" width=\"1122\" height=\"507\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/opensourceimage.png 1122w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/opensourceimage-300x136.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/opensourceimage-1024x463.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/opensourceimage-768x347.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/opensourceimage-360x163.png 360w\" sizes=\"(max-width: 1122px) 100vw, 1122px\" \/><\/a><\/p>\n<hr \/>\n<p>Crop ROI.\u00a0 The\u00a0 ROI will be labeled as unlabeled after the crop.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/crop_3.png\"><img loading=\"lazy\" class=\"size-full wp-image-86587 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/crop_3.png\" alt=\"\" width=\"944\" height=\"479\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/crop_3.png 944w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/crop_3-300x152.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/crop_3-768x390.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/crop_3-360x183.png 360w\" sizes=\"(max-width: 944px) 100vw, 944px\" \/><\/a><\/p>\n<hr \/>\n<h2><strong>Train models with TM AI+ and import AI models into robot testing<\/strong><\/h2>\n<h3>TM AI+ operation<\/h3>\n<p>Save the images of the inspection processes above into two datasets, one for OK and another for NG, as shown below.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/data.png\"><img loading=\"lazy\" class=\"size-full wp-image-85654 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/data.png\" alt=\"\" width=\"1253\" height=\"573\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/data.png 1253w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/data-300x137.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/data-1024x468.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/data-768x351.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/data-360x165.png 360w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/data-1000x457.png 1000w\" sizes=\"(max-width: 1253px) 100vw, 1253px\" \/><\/a><\/p>\n<hr \/>\n<p>TM AI+ is built on the company&#8217;s internal server. Any device that can connect to the company&#8217;s intranet can use TM AI+ through a browser, and there is no restriction on the system for operation. This article uses TM AI+ Training Server 2.12.2200 as an example.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ailogin.png\"><img loading=\"lazy\" class=\"size-full wp-image-85714 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ailogin.png\" alt=\"\" width=\"996\" height=\"536\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ailogin.png 996w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ailogin-300x161.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ailogin-768x413.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ailogin-360x194.png 360w\" sizes=\"(max-width: 996px) 100vw, 996px\" \/><\/a><\/p>\n<hr \/>\n<p>This is the manegerment screen of the Dataset, where we can import our datasets.<br \/>\n<a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/datasetmanagerment.png\"><img loading=\"lazy\" class=\"alignnone wp-image-95835 size-full\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/datasetmanagerment.png\" alt=\"\" width=\"1045\" height=\"531\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/datasetmanagerment.png 1045w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/datasetmanagerment-300x152.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/datasetmanagerment-1024x520.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/datasetmanagerment-768x390.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/datasetmanagerment-360x183.png 360w\" sizes=\"(max-width: 1045px) 100vw, 1045px\" \/><\/a><\/p>\n<hr \/>\n<p>Create a classification dataset.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/name-and-save.png\"><img loading=\"lazy\" class=\"alignnone wp-image-95841 size-full\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/name-and-save.png\" alt=\"\" width=\"1233\" height=\"585\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/name-and-save.png 1233w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/name-and-save-300x142.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/name-and-save-1024x486.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/name-and-save-768x364.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/name-and-save-360x171.png 360w\" sizes=\"(max-width: 1233px) 100vw, 1233px\" \/><\/a><\/p>\n<hr \/>\n<p>Click Edit to create a dataset.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/click-edit.png\"><img loading=\"lazy\" class=\"alignnone wp-image-95847 size-full\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/click-edit.png\" alt=\"\" width=\"1218\" height=\"585\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/click-edit.png 1218w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/click-edit-300x144.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/click-edit-1024x492.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/click-edit-768x369.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/click-edit-360x173.png 360w\" sizes=\"(max-width: 1218px) 100vw, 1218px\" \/><\/a><\/p>\n<hr \/>\n<p>Create labels and upload the corresponding datasets.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/create-label.png\"><img loading=\"lazy\" class=\"alignnone wp-image-95853 size-full\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/create-label.png\" alt=\"\" width=\"1232\" height=\"591\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/create-label.png 1232w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/create-label-300x144.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/create-label-1024x491.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/create-label-768x368.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/create-label-360x173.png 360w\" sizes=\"(max-width: 1232px) 100vw, 1232px\" \/><\/a><\/p>\n<hr \/>\n<p>This is the project management screen, where you can create our projects.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/add-project.png\"><img loading=\"lazy\" class=\"alignnone wp-image-95883 size-full\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/add-project.png\" alt=\"\" width=\"1198\" height=\"572\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/add-project.png 1198w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/add-project-300x143.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/add-project-1024x489.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/add-project-768x367.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/add-project-360x172.png 360w\" sizes=\"(max-width: 1198px) 100vw, 1198px\" \/><\/a><\/p>\n<hr \/>\n<p>Add a project, name it and select Classification.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/name-project.png\"><img loading=\"lazy\" class=\"alignnone wp-image-95889 size-full\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/name-project.png\" alt=\"\" width=\"1189\" height=\"597\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/name-project.png 1189w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/name-project-300x151.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/name-project-1024x514.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/name-project-768x386.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/name-project-360x181.png 360w\" sizes=\"(max-width: 1189px) 100vw, 1189px\" \/><\/a><\/p>\n<hr \/>\n<p>Choose the appropriate model and dataset according to the task scenario.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/select-model.png\"><img loading=\"lazy\" class=\"alignnone wp-image-95895 size-full\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/select-model.png\" alt=\"\" width=\"1007\" height=\"567\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/select-model.png 1007w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/select-model-300x169.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/select-model-768x432.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/select-model-360x203.png 360w\" sizes=\"(max-width: 1007px) 100vw, 1007px\" \/><\/a><\/p>\n<hr \/>\n<p>After adjusting the parameters, start training the model.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/train-model.png\"><img loading=\"lazy\" class=\"alignnone wp-image-95901 size-full\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/train-model.png\" alt=\"\" width=\"1257\" height=\"602\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/train-model.png 1257w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/train-model-300x144.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/train-model-1024x490.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/train-model-768x368.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/train-model-360x172.png 360w\" sizes=\"(max-width: 1257px) 100vw, 1257px\" \/><\/a><\/p>\n<hr \/>\n<p>After the training is completed, you can use summary to check the performance of the trained model, and use Heatmap to analyze whether the information learned by AI is the feature we want to compare. Then this article will analyze each detection result and perform analysis.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/summary-model.png\"><img loading=\"lazy\" class=\"alignnone wp-image-95907 size-full\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/summary-model.png\" alt=\"\" width=\"1136\" height=\"549\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/summary-model.png 1136w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/summary-model-300x145.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/summary-model-1024x495.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/summary-model-768x371.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/07\/summary-model-360x174.png 360w\" sizes=\"(max-width: 1136px) 100vw, 1136px\" \/><\/a><\/p>\n<hr \/>\n<h3><strong>TM AI+ &#8211; Is equipped with filter ring<\/strong><\/h3>\n<p>Observing the training progress, the accuracy of each training session is almost 100 percent, indicating that the model for detecting the filter ring is more stable.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_ferrite.png\"><img loading=\"lazy\" class=\"size-full wp-image-85720 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_ferrite.png\" alt=\"\" width=\"960\" height=\"507\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_ferrite.png 960w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_ferrite-300x158.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_ferrite-768x406.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_ferrite-360x190.png 360w\" sizes=\"(max-width: 960px) 100vw, 960px\" \/><\/a><\/p>\n<hr \/>\n<p>By using the heatmap, we can see that AI has detected the filter ring on the line, indicating that features learned by AI are reasonable. We import this model into the robot for testing, and it can stably distinguish whether there are filter ring.<\/p>\n<p>Then we switch to another robot and environment for testing and it can also stably distinguish, without changing the model.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ring-heatmap.png\"><img loading=\"lazy\" class=\"alignnone wp-image-95929 size-full\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ring-heatmap.png\" alt=\"\" width=\"1400\" height=\"490\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ring-heatmap.png 1400w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ring-heatmap-300x105.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ring-heatmap-1024x358.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ring-heatmap-768x269.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ring-heatmap-360x126.png 360w\" sizes=\"(max-width: 1400px) 100vw, 1400px\" \/><\/a><\/p>\n<hr \/>\n<h3><strong>TM AI+ &#8211; Is the plugin actually inserted<\/strong><\/h3>\n<p>Observing the training progress, the accuracy of multiple training sessions is 100 percent, indicating that the model for detecting whether the plug is properly inserted is more stable.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_insert.png\"><img loading=\"lazy\" class=\"size-full wp-image-85732 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_insert.png\" alt=\"\" width=\"1004\" height=\"496\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_insert.png 1004w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_insert-300x148.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_insert-768x379.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_insert-360x178.png 360w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_insert-1000x494.png 1000w\" sizes=\"(max-width: 1004px) 100vw, 1004px\" \/><\/a><\/p>\n<hr \/>\n<p>By using the heatmap, we found that the features learned by AI focused on the small black hole at the top. If it is not properly inserted, the black hole at the top will be particularly obvious and will be judged as NG. The result is as we expected. The heatmap of the NG situation also pays attention to whether the black hole at the top is too obvious, or whether the plug is completely detached. After importing the model into the robot, it can also run smoothly in various situation.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insert-compare-1.png\"><img loading=\"lazy\" class=\"alignnone wp-image-95941 size-full\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insert-compare-1.png\" alt=\"\" width=\"1290\" height=\"540\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insert-compare-1.png 1290w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insert-compare-1-300x126.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insert-compare-1-1024x429.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insert-compare-1-768x321.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/insert-compare-1-360x151.png 360w\" sizes=\"(max-width: 1290px) 100vw, 1290px\" \/><\/a><\/p>\n<hr \/>\n<p>Then we switched to another robot and environment for testing, and found that the situation of complete detachment was easily judged as OK. We guessed that the change of light source caused the wiring to be unclear, and mistakenly judged the situatin of the wire head lying flat on the top of socket. So in this environment, we added about 20 more NG situations, and also added about 20 more OK situations to adapt to the environmental changes.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/misjudge-insert.png\"><img loading=\"lazy\" class=\"wp-image-95947 size-full aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/misjudge-insert.png\" alt=\"\" width=\"506\" height=\"490\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/misjudge-insert.png 506w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/misjudge-insert-300x291.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/misjudge-insert-360x349.png 360w\" sizes=\"(max-width: 506px) 100vw, 506px\" \/><\/a><\/p>\n<hr \/>\n<h3><strong>TM AI+ &#8211; whether there is a screw in the screw hole_top shot of the IPC<\/strong><\/h3>\n<p>Observing the training progress, the accuracy of the training session is mostly 100 percent, indicating that the model for detecting whether there are screws in the screw holes under the condition of shooting the IPC from above is stable.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_upscrew.png\"><img loading=\"lazy\" class=\"size-full wp-image-85756 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_upscrew.png\" alt=\"\" width=\"1048\" height=\"514\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_upscrew.png 1048w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_upscrew-300x147.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_upscrew-1024x502.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_upscrew-768x377.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_upscrew-360x177.png 360w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_upscrew-1000x490.png 1000w\" sizes=\"(max-width: 1048px) 100vw, 1048px\" \/><\/a><\/p>\n<hr \/>\n<p>By using the heatmap, we can see that AI can learn the feature of whether there are screws on the holes under any light source. After importing the model into the robot, the test is also very stable.<\/p>\n<p>Then we switched to another robot and environment for testing, and it can also stably distinguish, without changing the model.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_upscrew_new-1.png\"><img loading=\"lazy\" class=\"size-full wp-image-86267 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_upscrew_new-1.png\" alt=\"\" width=\"598\" height=\"446\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_upscrew_new-1.png 598w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_upscrew_new-1-300x224.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_upscrew_new-1-360x268.png 360w\" sizes=\"(max-width: 598px) 100vw, 598px\" \/><\/a><\/p>\n<hr \/>\n<h3><strong>TM AI+ &#8211; whether there is a screw in the screw hole_side shot of the IPC<\/strong><\/h3>\n<p>Observing the training progress, the accuracy of the training sessions is also mostly 100 percent, indicating that the model for detecting whether there are screws in the screw holes under the condition of shooting the IPC from the side is also stable.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_side-1.png\"><img loading=\"lazy\" class=\"size-full wp-image-85768 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_side-1.png\" alt=\"\" width=\"1056\" height=\"521\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_side-1.png 1056w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_side-1-300x148.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_side-1-1024x505.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_side-1-768x379.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_side-1-360x178.png 360w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_side-1-1000x493.png 1000w\" sizes=\"(max-width: 1056px) 100vw, 1056px\" \/><\/a><\/p>\n<hr \/>\n<ul>\n<li>Observing the heatmap, the features that AI focuses on are indeed on whether there are screws in the screw holes. But when importing the model into the robot for testing, some angles of the screw holes are easily affected by the ROI selection and recognized incorrectly, indicating that this model is not stable enough and the data is not enough.<\/li>\n<li>It is recommended to consider the image of screws taken from above and train them together to obtain a relatively stable model. You can also combine the previous data on screw locking to train a more robust model. In this way, this model can be applied to most of the screw holes on this IPC.<\/li>\n<li>Considering the model trained with more data, it can also stably judge whether there are screws in the screw holes after switching the robot and environment.<\/li>\n<\/ul>\n<hr \/>\n<h3><strong>TM AI+ &#8211; whether the cable is connected correctly<\/strong><\/h3>\n<p>Using the above-mentioned image acquisition method for the first training, the training progress is less stable than the previous situations.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable.png\"><img loading=\"lazy\" class=\"size-full wp-image-85774 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable.png\" alt=\"\" width=\"998\" height=\"495\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable.png 998w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable-300x149.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable-768x381.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable-360x179.png 360w\" sizes=\"(max-width: 998px) 100vw, 998px\" \/><\/a><\/p>\n<hr \/>\n<p>Observing the heatmap, we cannot determine whether the situations of OK overlapping and CROSS have been learned by AI. We need to import the robot for actual testing.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_1.png\"><img loading=\"lazy\" class=\"size-full wp-image-85780 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_1.png\" alt=\"\" width=\"625\" height=\"601\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_1.png 625w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_1-300x288.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_1-360x346.png 360w\" sizes=\"(max-width: 625px) 100vw, 625px\" \/><\/a><\/p>\n<hr \/>\n<p>1.After importing the robot testing, we can find that the two crossed lines under CROSS are easy to judge as OK, while the three and four crossed lines have no problem.<\/p>\n<p>2.And under the NG situation, the lines that are not inserted side by side are also easy to be judge as NG.<\/p>\n<p>3.Under the OK situation, if there is overlapping, it is also easy to judge as CROSS.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/wiring-compare.png\"><img loading=\"lazy\" class=\"wp-image-95953 size-full aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/wiring-compare.png\" alt=\"\" width=\"1265\" height=\"455\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/wiring-compare.png 1265w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/wiring-compare-300x108.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/wiring-compare-1024x368.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/wiring-compare-768x276.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/wiring-compare-360x129.png 360w\" sizes=\"(max-width: 1265px) 100vw, 1265px\" \/><\/a><\/p>\n<hr \/>\n<p>After collecting about 20 images of the misjudged situations and retraining, the problem still could not be improved, and even failed to converge to a more correct result.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_3.png\"><img loading=\"lazy\" class=\"size-full wp-image-85792 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_3.png\" alt=\"\" width=\"1116\" height=\"551\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_3.png 1116w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_3-300x148.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_3-1024x506.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_3-768x379.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_3-360x178.png 360w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_3-1000x494.png 1000w\" sizes=\"(max-width: 1116px) 100vw, 1116px\" \/><\/a><\/p>\n<hr \/>\n<p>So we changed the model selection from Regular to Ultra for training, performed data augmentation, and some minor parameter adjustments, to make it consider more variations.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_4.png\"><img loading=\"lazy\" class=\"size-full wp-image-85798 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_4.png\" alt=\"\" width=\"999\" height=\"491\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_4.png 999w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_4-300x147.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_4-768x377.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_4-360x177.png 360w\" sizes=\"(max-width: 999px) 100vw, 999px\" \/><\/a><\/p>\n<hr \/>\n<p>1.Epochs increased from 30 to 100, giving it a chance to find a convergent result.<\/p>\n<p>2.Batch Size is set smaller, so that it will not see too many possibilities at the same time, and cause it to fail to converge.<\/p>\n<p>3.Learning Rate is slightly adjusted lower, so that it has more chance to reach a lower Loss.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_5.png\"><img loading=\"lazy\" class=\"size-full wp-image-85804 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_5.png\" alt=\"\" width=\"1330\" height=\"266\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_5.png 1330w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_5-300x60.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_5-1024x205.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_5-768x154.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_5-360x72.png 360w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_5-1000x200.png 1000w\" sizes=\"(max-width: 1330px) 100vw, 1330px\" \/><\/a><\/p>\n<hr \/>\n<p>After the adjustment, the training progress has found a lower Loss, and some 100 percent Accuracy has appeared, but it is still not certain that the trained model is reasonable.<br \/>\n<a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_6.png\"><img loading=\"lazy\" class=\"size-full wp-image-85810 aligncenter\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_6.png\" alt=\"\" width=\"1050\" height=\"518\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_6.png 1050w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_6-300x148.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_6-1024x505.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_6-768x379.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_6-360x178.png 360w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/ai_cable_6-1000x493.png 1000w\" sizes=\"(max-width: 1050px) 100vw, 1050px\" \/><\/a><\/p>\n<hr \/>\n<p>Then import this model into the robot test, which improved the following issues<\/p>\n<ul>\n<li>NG situations will no longer be misjudged as OK<\/li>\n<li>CROSS situations will no longer be misjudged as OK<\/li>\n<\/ul>\n<p>In OK situations, if there are overlapping issue, they still cannot be recognized.<\/p>\n<p>It is recommended to treat OK situations with overlapping issues as CROSS, they still need to be adjusted by inspection personnel.<\/p>\n<p>Therefore, the problem is reclassified as follows:<\/p>\n<ul>\n<li>One-to-one correspondence, the wires need to be clear, regarded as OK.<\/li>\n<li>The wire head is inserted correctly, but it is crossed or there are nodes, regarded as CROSS.<\/li>\n<li>The wire head is not inserted correctly, regarded as NG<\/li>\n<\/ul>\n<hr \/>\n<p>After readjusting the classification, perform model training and observe the heatmap, and find that AI can correctly learn the nodes caused by the crossing of wires and the holes exposed by not inserting correctly.<\/p>\n<p>Finally, import the robot and change the environment for testing, and it can run stably.<\/p>\n<p><a href=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/final.png\"><img loading=\"lazy\" class=\"alignnone wp-image-95959 size-full\" src=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/final.png\" alt=\"\" width=\"1340\" height=\"605\" srcset=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/final.png 1340w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/final-300x135.png 300w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/final-1024x462.png 1024w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/final-768x347.png 768w, https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/final-360x163.png 360w\" sizes=\"(max-width: 1340px) 100vw, 1340px\" \/><\/a><\/p>\n<hr \/>\n<h2><strong>Tip<\/strong><\/h2>\n<ul>\n<li>When collecting images, you can first collect about 30 images for training, and then import them into the arm test. If there are misjudgment situations, you can collect another 20 images of the error situations for testing.<\/li>\n<li>If the model training result is not satisfactory, you can use the Ultra model for training, and adjust the augmentation appropriately, considering that the object may have symmetry or scaling situations.<\/li>\n<li>If the model training is unstable, you can increase the Epoch to 50 to 100, so that it has a chance to find a convergent result. Learning can be lowered to about 0.00008, so that it has a chance to find a lower Loss.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The example of this article applies to the following conditions : Hardware requirements : Advantech AIR 300 Tr [&hellip;]<\/p>\n","protected":false},"author":7791,"featured_media":0,"parent":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"doc_category":[4586],"doc_tag":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>TM AI+Classification application example - IPC inspection | Techman Robot<\/title>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"TM AI+Classification application example - IPC inspection | Techman Robot\" \/>\n<meta property=\"og:description\" content=\"The example of this article applies to the following conditions : Hardware requirements : Advantech AIR 300 Tr [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.tm-robot.com\/ja\/docs\/tm-aiclassification-application-example-ipc-inspection\/\" \/>\n<meta property=\"og:site_name\" content=\"Techman Robot\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-12T07:54:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u96fb\u63a7\u7bb1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.tm-robot.com.cn\/de\/#organization\",\"name\":\"Techman Robot\",\"url\":\"https:\/\/www.tm-robot.com.cn\/de\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.tm-robot.com.cn\/de\/#logo\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2018\/09\/logo.png\",\"contentUrl\":\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2018\/09\/logo.png\",\"width\":221,\"height\":196,\"caption\":\"Techman Robot\"},\"image\":{\"@id\":\"https:\/\/www.tm-robot.com.cn\/de\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.tm-robot.com.cn\/de\/#website\",\"url\":\"https:\/\/www.tm-robot.com.cn\/de\/\",\"name\":\"Techman Robot\",\"description\":\"Intelligent Cobots for a World of Applications\",\"publisher\":{\"@id\":\"https:\/\/www.tm-robot.com.cn\/de\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.tm-robot.com.cn\/de\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.tm-robot.com\/ja\/docs\/tm-aiclassification-application-example-ipc-inspection\/#primaryimage\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\\u96fb\\u63a7\\u7bb1.png\",\"contentUrl\":\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\\u96fb\\u63a7\\u7bb1.png\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.tm-robot.com\/ja\/docs\/tm-aiclassification-application-example-ipc-inspection\/#webpage\",\"url\":\"https:\/\/www.tm-robot.com\/ja\/docs\/tm-aiclassification-application-example-ipc-inspection\/\",\"name\":\"TM AI+Classification application example - IPC inspection | Techman Robot\",\"isPartOf\":{\"@id\":\"https:\/\/www.tm-robot.com.cn\/de\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.tm-robot.com\/ja\/docs\/tm-aiclassification-application-example-ipc-inspection\/#primaryimage\"},\"datePublished\":\"2023-02-22T00:47:51+00:00\",\"dateModified\":\"2023-07-12T07:54:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.tm-robot.com\/ja\/docs\/tm-aiclassification-application-example-ipc-inspection\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.tm-robot.com\/ja\/docs\/tm-aiclassification-application-example-ipc-inspection\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.tm-robot.com\/ja\/docs\/tm-aiclassification-application-example-ipc-inspection\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.tm-robot.com\/ja\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\/\/www.tm-robot.com\/ja\/docs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"TM AI+Classification application example &#8211; IPC inspection\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"TM AI+Classification application example - IPC inspection | Techman Robot","robots":{"index":"noindex","follow":"follow"},"og_locale":"ja_JP","og_type":"article","og_title":"TM AI+Classification application example - IPC inspection | Techman Robot","og_description":"The example of this article applies to the following conditions : Hardware requirements : Advantech AIR 300 Tr [&hellip;]","og_url":"https:\/\/www.tm-robot.com\/ja\/docs\/tm-aiclassification-application-example-ipc-inspection\/","og_site_name":"Techman Robot","article_modified_time":"2023-07-12T07:54:26+00:00","og_image":[{"url":"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u96fb\u63a7\u7bb1.png"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/www.tm-robot.com.cn\/de\/#organization","name":"Techman Robot","url":"https:\/\/www.tm-robot.com.cn\/de\/","sameAs":[],"logo":{"@type":"ImageObject","@id":"https:\/\/www.tm-robot.com.cn\/de\/#logo","inLanguage":"ja","url":"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2018\/09\/logo.png","contentUrl":"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2018\/09\/logo.png","width":221,"height":196,"caption":"Techman Robot"},"image":{"@id":"https:\/\/www.tm-robot.com.cn\/de\/#logo"}},{"@type":"WebSite","@id":"https:\/\/www.tm-robot.com.cn\/de\/#website","url":"https:\/\/www.tm-robot.com.cn\/de\/","name":"Techman Robot","description":"Intelligent Cobots for a World of Applications","publisher":{"@id":"https:\/\/www.tm-robot.com.cn\/de\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.tm-robot.com.cn\/de\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"ImageObject","@id":"https:\/\/www.tm-robot.com\/ja\/docs\/tm-aiclassification-application-example-ipc-inspection\/#primaryimage","inLanguage":"ja","url":"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u96fb\u63a7\u7bb1.png","contentUrl":"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2023\/02\/\u96fb\u63a7\u7bb1.png"},{"@type":"WebPage","@id":"https:\/\/www.tm-robot.com\/ja\/docs\/tm-aiclassification-application-example-ipc-inspection\/#webpage","url":"https:\/\/www.tm-robot.com\/ja\/docs\/tm-aiclassification-application-example-ipc-inspection\/","name":"TM AI+Classification application example - IPC inspection | Techman Robot","isPartOf":{"@id":"https:\/\/www.tm-robot.com.cn\/de\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.tm-robot.com\/ja\/docs\/tm-aiclassification-application-example-ipc-inspection\/#primaryimage"},"datePublished":"2023-02-22T00:47:51+00:00","dateModified":"2023-07-12T07:54:26+00:00","breadcrumb":{"@id":"https:\/\/www.tm-robot.com\/ja\/docs\/tm-aiclassification-application-example-ipc-inspection\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.tm-robot.com\/ja\/docs\/tm-aiclassification-application-example-ipc-inspection\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.tm-robot.com\/ja\/docs\/tm-aiclassification-application-example-ipc-inspection\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.tm-robot.com\/ja\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/www.tm-robot.com\/ja\/docs\/"},{"@type":"ListItem","position":3,"name":"TM AI+Classification application example &#8211; IPC inspection"}]}]}},"_links":{"self":[{"href":"https:\/\/www.tm-robot.com\/ja\/wp-json\/wp\/v2\/docs\/95913"}],"collection":[{"href":"https:\/\/www.tm-robot.com\/ja\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.tm-robot.com\/ja\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.tm-robot.com\/ja\/wp-json\/wp\/v2\/users\/7791"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tm-robot.com\/ja\/wp-json\/wp\/v2\/comments?post=95913"}],"version-history":[{"count":0,"href":"https:\/\/www.tm-robot.com\/ja\/wp-json\/wp\/v2\/docs\/95913\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tm-robot.com\/ja\/wp-json\/wp\/v2\/media?parent=95913"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.tm-robot.com\/ja\/wp-json\/wp\/v2\/doc_category?post=95913"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.tm-robot.com\/ja\/wp-json\/wp\/v2\/doc_tag?post=95913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}