CN112905440A - Test module and test method of artificial intelligence quality inspection system - Google Patents

Test module and test method of artificial intelligence quality inspection system Download PDF

Info

Publication number
CN112905440A
CN112905440A CN201911226615.5A CN201911226615A CN112905440A CN 112905440 A CN112905440 A CN 112905440A CN 201911226615 A CN201911226615 A CN 201911226615A CN 112905440 A CN112905440 A CN 112905440A
Authority
CN
China
Prior art keywords
test
artificial intelligence
inspection system
quality inspection
intelligence quality
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911226615.5A
Other languages
Chinese (zh)
Other versions
CN112905440B (en
Inventor
许中华
张丹丹
鲁异
陶宗杰
李宏泽
尚宇航
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TE Connectivity Services GmbH
Tyco Electronics Shanghai Co Ltd
Original Assignee
TE Connectivity Services GmbH
Tyco Electronics Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TE Connectivity Services GmbH, Tyco Electronics Shanghai Co Ltd filed Critical TE Connectivity Services GmbH
Priority to CN201911226615.5A priority Critical patent/CN112905440B/en
Publication of CN112905440A publication Critical patent/CN112905440A/en
Application granted granted Critical
Publication of CN112905440B publication Critical patent/CN112905440B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a test module of an artificial intelligence quality inspection system, which comprises a first test mode and a second test mode. The test module is arranged to select a first test mode or a second test mode to test the artificial intelligence quality inspection system. When the first test mode is selected, the artificial intelligence quality inspection system reads the product picture from the test folder under the appointed project path in the memory, and analyzes and calculates the read product picture to judge whether the quality of the detected product is qualified. When the second test mode is selected, the artificial intelligence quality inspection system reads the product pictures shot in real time from the camera, and analyzes and calculates the read product pictures to judge whether the quality of the detected product is qualified. Therefore, developers can select to directly read the product pictures from the test folders under the specified project paths in the memory to test the artificial intelligence quality inspection system, and the test efficiency of the artificial intelligence quality inspection system is greatly improved.

Description

Test module and test method of artificial intelligence quality inspection system
Technical Field
The invention relates to a test module of an artificial intelligence quality inspection system and a test method of the artificial intelligence quality inspection system.
Background
In order to improve the quality inspection efficiency of products, artificial intelligence quality inspection systems, which generally include a camera and an artificial intelligence module, have been used in the prior art. The camera shoots a product picture in real time, and the artificial intelligence module processes and analyzes the shot product picture to judge whether the detected product is qualified. In the development stage, developers need to test whether the function and the precision of the artificial intelligence quality inspection system meet the preset requirements. During testing, developers need to provide a camera and place a product sample under the lens of the camera to obtain a product picture, and the testing mode is inconvenient and low in efficiency.
Disclosure of Invention
An object of the present invention is to solve at least one of the above problems and disadvantages in the prior art.
According to an aspect of the present invention, there is provided a test module of an artificial intelligence quality inspection system, comprising: a first test mode; and a second test mode, different from the first test mode. The testing module of the artificial intelligence quality testing system is set to select the first testing mode or the second testing mode to test the artificial intelligence quality testing system. When the first test mode is selected, the artificial intelligence quality inspection system reads the product picture from the test folder under the appointed project path in the memory, and analyzes and calculates the read product picture to judge whether the quality of the detected product is qualified. When the second test mode is selected, the artificial intelligence quality inspection system reads the product picture shot in real time from the camera, and analyzes and calculates the read product picture to judge whether the quality of the detected product is qualified.
According to an exemplary embodiment of the present invention, when the test folder is stored under a specified project path in the memory and the product picture is stored in the test folder, the test module of the artificial intelligence quality inspection system selects the first test mode to test the artificial intelligence quality inspection system.
According to another exemplary embodiment of the present invention, when the test folder is not stored under a specified project path in the memory or the product picture is not stored in the test folder, the test module of the artificial intelligence quality inspection system selects the second test mode to test the artificial intelligence quality inspection system.
According to another exemplary embodiment of the present invention, the test module of the artificial intelligence quality inspection system is configured to initiate the first test mode by establishing the test folder under a specified project path in memory and storing the product picture in the test folder.
According to another exemplary embodiment of the present invention, the test module of the artificial intelligence quality inspection system is arranged to cancel the first test mode by deleting the test folder under a specified project path in memory or deleting the product picture in the test folder.
According to another exemplary embodiment of the present invention, the test folder is a hidden folder to prevent visibility by persons not involved in the development of the artificial intelligence quality inspection system.
According to another aspect of the present invention, there is provided a testing method of an artificial intelligence quality inspection system, comprising the steps of:
s10: judging whether a test folder is stored under the specified project path in the memory, if so, executing the following step S100, and if not, executing the following step S200;
s100: entering the test folder, and judging whether the test folder stores the product picture, if so, executing the following step S110, and if not, executing the following step S200;
s110: reading the stored product pictures from the test folder, and analyzing and calculating the read product pictures by using the artificial intelligence quality inspection system to judge whether the detected product is qualified or not;
s200: and reading the product pictures shot in real time from the camera, and analyzing and calculating the read product pictures by using the artificial intelligence quality inspection system to judge whether the detected product is qualified.
In the foregoing exemplary embodiments according to the present invention, a developer of the artificial intelligence quality inspection system may select to directly read a product picture from a test folder in a specified project path in the memory to test the artificial intelligence quality inspection system, so that the testing efficiency of the artificial intelligence quality inspection system may be greatly improved.
Other objects and advantages of the present invention will become apparent from the following description of the invention which refers to the accompanying drawings, and may assist in a comprehensive understanding of the invention.
Drawings
FIG. 1 shows a schematic diagram of a test folder with product pictures stored in the folder under a specified project path in memory, according to an example embodiment of the present invention;
FIG. 2 shows a schematic diagram of a testing process of an artificial intelligence quality inspection system according to an example embodiment of the invention.
Detailed Description
The technical scheme of the invention is further specifically described by the following embodiments and the accompanying drawings. In the specification, the same or similar reference numerals denote the same or similar components. The following description of the embodiments of the present invention with reference to the accompanying drawings is intended to explain the general inventive concept of the present invention and should not be construed as limiting the invention.
Furthermore, in the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. In other instances, well-known structures and devices are shown in schematic form in order to simplify the drawing.
According to a general technical concept of the present invention, there is provided a test module of an artificial intelligence quality inspection system, including: a first test mode; and a second test mode, different from the first test mode. The testing module of the artificial intelligence quality testing system is set to select the first testing mode or the second testing mode to test the artificial intelligence quality testing system. When the first test mode is selected, the artificial intelligence quality inspection system reads the product picture from the test folder under the appointed project path in the memory, and analyzes and calculates the read product picture to judge whether the quality of the detected product is qualified. When the second test mode is selected, the artificial intelligence quality inspection system reads the product picture shot in real time from the camera, and analyzes and calculates the read product picture to judge whether the quality of the detected product is qualified.
FIG. 1 shows a schematic diagram of a test folder with product pictures stored in the memory under a specified project path according to an example embodiment of the present invention. FIG. 2 shows a schematic diagram of a testing process of an artificial intelligence quality inspection system according to an example embodiment of the invention.
As shown in FIGS. 1 and 2, in the illustrated embodiment, the test module of the artificial intelligence quality inspection system includes a first test mode and a second test mode. The second test mode is different from the first test mode.
As shown in fig. 1 and 2, in the illustrated embodiment, the testing module of the artificial intelligence quality inspection system is configured to select either the first testing mode or the second testing mode to test the artificial intelligence quality inspection system.
As shown in fig. 1, in the illustrated embodiment, the Test folder Test is stored under the specified project path Proj/Proj _ 1/and the sample Picture Test Picture is stored in the Test folder Test.
As shown in fig. 1 and 2, in the illustrated embodiment, when the first Test mode is selected, the artificial intelligence quality inspection system reads a product Picture Test Picture from a Test folder Test under a specified project path Proj s/Proj — 1/in the memory, and analyzes and calculates the read product Picture to determine whether the detected product quality is acceptable.
As shown in fig. 1 and 2, in the illustrated embodiment, when the second test mode is selected, the artificial intelligence quality inspection system reads a product picture taken in real time from the camera, and analyzes and calculates the read product picture to determine whether the quality of the detected product is qualified.
As shown in fig. 1 and 2, in the illustrated embodiment, when a test folder is stored under a specified project path in the memory and a product picture is stored in the test folder, the test module of the artificial intelligence quality inspection system selects a first test mode to test the artificial intelligence quality inspection system.
As shown in fig. 1 and 2, in the illustrated embodiment, when no test folder is stored under the specified project path in the memory or no product picture is stored in the test folder, the test module of the artificial intelligence quality inspection system selects the second test mode to test the artificial intelligence quality inspection system.
As shown in fig. 1 and 2, in the illustrated embodiment, the Test module of the artificial intelligence quality inspection system is configured to initiate the first Test mode by establishing a Test folder Test under a specified project path in the memory and storing a product Picture Test Picture in the Test folder Test.
As shown in fig. 1 and 2, in the illustrated embodiment, the Test module of the artificial intelligence quality inspection system is configured to cancel the first Test mode by deleting the Test folder Test in the specified item path in the memory or deleting the product Picture Test Picture in the Test folder Test.
As shown in FIGS. 1 and 2, in the illustrated embodiment, the test folder is a hidden folder to prevent visibility by personnel unrelated to the development of an artificial intelligence quality inspection system. For example, an end user of the artificial intelligence quality inspection system may be prevented from seeing.
The following will describe in detail the testing method of the artificial intelligence quality inspection system of the present invention with reference to fig. 2, and the testing method mainly includes the following steps:
s10: judging whether a test folder is stored under the specified project path in the memory, if so, executing the following step S100, and if not, executing the following step S200;
s100: entering a test folder, judging whether a product picture is stored in the test folder or not, if so, executing the following step S110, and if not, executing the following step S200;
s110: reading the stored product pictures from the test folder, and analyzing and calculating the read product pictures by using an artificial intelligence quality inspection system to judge whether the detected product is qualified or not;
s200: and reading the product pictures shot in real time from the camera, and analyzing and calculating the read product pictures by using an artificial intelligence quality inspection system to judge whether the detected product is qualified.
It will be appreciated by those skilled in the art that the embodiments described above are exemplary and can be modified by those skilled in the art, and that the structures described in the various embodiments can be freely combined without conflict in structure or principle.
Although the present invention has been described in connection with the accompanying drawings, the embodiments disclosed in the drawings are intended to be illustrative of preferred embodiments of the present invention and should not be construed as limiting the invention.
Although a few embodiments of the present general inventive concept have been shown and described, it will be appreciated by those skilled in the art that changes may be made in these embodiments without departing from the principles and spirit of the general inventive concept, the scope of which is defined in the appended claims and their equivalents.
It should be noted that the word "comprising" does not exclude other elements or steps, and the words "a" or "an" do not exclude a plurality. Furthermore, any reference signs in the claims shall not be construed as limiting the scope of the invention.

Claims (7)

1. A test module of an artificial intelligence quality inspection system, comprising:
a first test mode; and
a second test mode, different from the first test mode,
the testing module of the artificial intelligence quality testing system is set to select the first testing mode or the second testing mode to test the artificial intelligence quality testing system,
when the first test mode is selected, the artificial intelligence quality inspection system reads the product picture from the test folder under the appointed project path in the memory, analyzes and calculates the read product picture to judge whether the quality of the detected product is qualified or not,
when the second test mode is selected, the artificial intelligence quality inspection system reads the product picture shot in real time from the camera, and analyzes and calculates the read product picture to judge whether the quality of the detected product is qualified.
2. The testing module of the artificial intelligence quality inspection system of claim 1, wherein:
and when the test folder is stored under the appointed project path in the memory and the product picture is stored in the test folder, the test module of the artificial intelligence quality inspection system selects the first test mode to test the artificial intelligence quality inspection system.
3. The testing module of the artificial intelligence quality inspection system of claim 1, wherein:
and when the test folder is not stored under the appointed project path in the memory or the product picture is not stored in the test folder, the test module of the artificial intelligence quality inspection system selects the second test mode to test the artificial intelligence quality inspection system.
4. The testing module of the artificial intelligence quality inspection system of claim 1, wherein:
the test module of the artificial intelligence quality inspection system is configured to initiate the first test mode by establishing the test folder under a specified project path in memory and storing the product picture in the test folder.
5. The testing module of the artificial intelligence quality inspection system of claim 1, wherein:
the test module of the artificial intelligence quality inspection system is configured to cancel the first test mode by deleting the test folder in a specified project path in memory or deleting the product picture in the test folder.
6. The testing module of the artificial intelligence quality inspection system of claim 1, wherein:
the test folder is a hidden folder to prevent visibility by personnel unrelated to the development of the artificial intelligence quality inspection system.
7. A testing method of an artificial intelligence quality inspection system comprises the following steps:
s10: judging whether a test folder is stored under the specified project path in the memory, if so, executing the following step S100, and if not, executing the following step S200;
s100: entering the test folder, and judging whether the test folder stores the product picture, if so, executing the following step S110, and if not, executing the following step S200;
s110: reading the stored product pictures from the test folder, and analyzing and calculating the read product pictures by using the artificial intelligence quality inspection system to judge whether the detected product is qualified or not;
s200: and reading the product pictures shot in real time from the camera, and analyzing and calculating the read product pictures by using the artificial intelligence quality inspection system to judge whether the detected product is qualified.
CN201911226615.5A 2019-12-04 2019-12-04 Test module and test method of artificial intelligent quality inspection system Active CN112905440B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911226615.5A CN112905440B (en) 2019-12-04 2019-12-04 Test module and test method of artificial intelligent quality inspection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911226615.5A CN112905440B (en) 2019-12-04 2019-12-04 Test module and test method of artificial intelligent quality inspection system

Publications (2)

Publication Number Publication Date
CN112905440A true CN112905440A (en) 2021-06-04
CN112905440B CN112905440B (en) 2023-11-14

Family

ID=76104548

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911226615.5A Active CN112905440B (en) 2019-12-04 2019-12-04 Test module and test method of artificial intelligent quality inspection system

Country Status (1)

Country Link
CN (1) CN112905440B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609340A (en) * 2011-01-25 2012-07-25 鸿富锦精密工业(深圳)有限公司 Test data cleansing system and method
WO2015096661A1 (en) * 2013-12-26 2015-07-02 北京奇虎科技有限公司 Project creation method and device based on configuration system, project test method and device, and background test method and device for configuration system
KR20180000376A (en) * 2016-06-22 2018-01-03 주식회사 탑 엔지니어링 System for testing camera module
CN108320278A (en) * 2018-01-09 2018-07-24 北京百度网讯科技有限公司 Product defects detect localization method, device, equipment and computer-readable medium
CN110108726A (en) * 2019-05-05 2019-08-09 中山易美杰智能科技有限公司 A kind of Full-automatic optical detecting system for chip detection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609340A (en) * 2011-01-25 2012-07-25 鸿富锦精密工业(深圳)有限公司 Test data cleansing system and method
WO2015096661A1 (en) * 2013-12-26 2015-07-02 北京奇虎科技有限公司 Project creation method and device based on configuration system, project test method and device, and background test method and device for configuration system
KR20180000376A (en) * 2016-06-22 2018-01-03 주식회사 탑 엔지니어링 System for testing camera module
CN108320278A (en) * 2018-01-09 2018-07-24 北京百度网讯科技有限公司 Product defects detect localization method, device, equipment and computer-readable medium
CN110108726A (en) * 2019-05-05 2019-08-09 中山易美杰智能科技有限公司 A kind of Full-automatic optical detecting system for chip detection

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王俐;: "缺陷分析在软件系统测试中的应用", 铁路通信信号工程技术, no. 05 *

Also Published As

Publication number Publication date
CN112905440B (en) 2023-11-14

Similar Documents

Publication Publication Date Title
US11263116B2 (en) Champion test case generation
US9465724B2 (en) Method, program, and system for generating test cases
CN101454798B (en) Red-eye detecting apparatus and red-eye detecting method
CN110554957B (en) Method and device for testing user interface, electronic equipment and readable storage medium
US11465282B2 (en) System and method for multi-goal path planning
CN114692823A (en) Operator fusion method and device, storage medium and electronic equipment
CN114648302B (en) Data processing method and device for collaborative scenario editing
CN106780488A (en) A kind of detecting system and method for digital pathological section definition
CN112905440A (en) Test module and test method of artificial intelligence quality inspection system
CN110008304A (en) The difference visible processing method and device of behavior tree
CN106851257A (en) The assemble method of camera lens to be assembled and image sensor
CN105574844B (en) Rdaiation response Function Estimation method and apparatus
CN111966597B (en) Test data generation method and device
CN109413412B (en) Method and device for testing performance of gray card, electronic equipment and storage medium
US4989162A (en) Method of using an accuracy valve in a conflict resolution of a forward inference
CN114817047A (en) Compiler test method, case generation method and device and instruction storage structure
CN105868099A (en) Branch submit difference detection method and device
CN114266737A (en) Defect detection method, device, equipment and storage medium
CN109815083A (en) A kind of monitoring method of application crashes, device, electronic equipment and medium
CN106155898B (en) Method and device for acquiring path of flow chart
CN113656318A (en) Software version testing method and device and computer equipment
CN110297625B (en) Application processing method and device
CN106844205B (en) Driver debugging method and system
JP2005321387A (en) Method and device for managing conflict of test number
CN109388564A (en) A kind of test method, device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant