CN113408682A - ResNet network-based tool identification method - Google Patents

ResNet network-based tool identification method Download PDF

Info

Publication number
CN113408682A
CN113408682A CN202110732934.4A CN202110732934A CN113408682A CN 113408682 A CN113408682 A CN 113408682A CN 202110732934 A CN202110732934 A CN 202110732934A CN 113408682 A CN113408682 A CN 113408682A
Authority
CN
China
Prior art keywords
resnet network
resnet
network
computer
tool
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.)
Pending
Application number
CN202110732934.4A
Other languages
Chinese (zh)
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.)
Avic Aviation Service Guarantee Tianjin Co ltd
Original Assignee
Avic Aviation Service Guarantee Tianjin 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 Avic Aviation Service Guarantee Tianjin Co ltd filed Critical Avic Aviation Service Guarantee Tianjin Co ltd
Priority to CN202110732934.4A priority Critical patent/CN113408682A/en
Publication of CN113408682A publication Critical patent/CN113408682A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The method provides a tool identification method based on ResNet network, and workers carry out training test work on the ResNet network; connecting a plurality of cameras with a computer provided with a ResNet network through the Internet by a worker; b, the worker sequentially takes pictures and identifies the two-dimensional code through the plurality of cameras in the step A2 and a computer provided with a ResNet network, wherein each camera is arranged on a tool placing rack; the ResNet network-based tool identification method is applied to an intelligent management system of the warehouse tools, is beneficial to promoting the automation and information construction of the warehouse tools, and improves the tool management efficiency and accuracy.

Description

ResNet network-based tool identification method
Technical Field
The method belongs to the technical field of visual identification, and particularly relates to a tool identification method based on a ResNet network.
Background
At the present stage, aiming at an open type storehouse tool informatization management scene, the traditional image recognition algorithm based on Opencv is adopted to recognize tools more generally, but the accuracy and the recognition speed are not ideal, and the uniqueness is not solved, so a new method needs to be designed.
Disclosure of Invention
In view of this, the present method aims to provide a tool identification method based on the ResNet network, so as to improve the efficiency and performance of tool identification.
In order to achieve the purpose, the technical scheme of the method is realized as follows:
a tool identification method based on a ResNet network comprises the following steps:
a1: the worker trains and tests the ResNet network;
a2: connecting a plurality of cameras and a computer provided with a ResNet network by a worker through the Internet, wherein each camera is arranged on a tool placing rack;
a3: and D, sequentially photographing and identifying the two-dimensional code by the staff through the plurality of cameras in the step A2 and a computer provided with a ResNet network.
A4: and identifying the two-dimensional code information by the computer provided with the ResNet network, and keeping the record, wherein if the computer is abnormal, the computer provided with the ResNet network records the information and gives an alarm.
Further, the step a1 includes the following steps:
a11: a worker divides a plurality of two-dimensional codes into a training set and a test set;
a12: the staff unifies the sizes of the two-dimensional code dataset pictures in the training set and the testing set;
a13: converting the two-dimensional code data set in the training set and the testing set with unified sizes in the step A12 into a TFRecord format by workers;
a14: after extracting the two-dimensional code data set in the training set and the test set which are converted into the TFRecord format in the step A13, the worker constructs a queue mode;
a15: the staff constructs a corresponding ResNet network according to the queue mode constructed in the step A14;
a16: training the ResNet network constructed in the step A15 by a worker through a training set;
a17: and D, testing the ResNet network trained in the step A16 by the staff through the test set, wherein if the test is successful, the ResNet network outputs a test result and then ends, and if the test is failed, the ResNet network directly ends.
Further, in step a17, if the ResNet network reacts correctly, the ResNet network outputs the test result and then ends, and if the ResNet network reacts incorrectly, the ResNet network ends directly.
Further, the step a3 includes the following steps:
a31: after the test application software (namely the ResNet network after the training test in the step A17) is started, a computer displays a login interface, an operator can login the software system through a password, and if the software is used for the first time, after an administrator adds user authority, the operator can login the system; if the operator has the authority, the operator can directly log in, if the password is wrong, the computer can display that the login fails and needs to log in again after being confirmed again by the operator;
a32: after the operator successfully logs in the system, clicking a checking function button displayed on a computer to control cameras on a plurality of tool placement racks to shoot and capture the two-dimensional code;
a33: uploading the screenshots to a computer by a plurality of cameras, if uploading fails, checking whether the network configuration is intact by an operator, and uploading again for calculation after correction is finished, if uploading succeeds, starting to analyze the screenshots by software;
a34: and the test application software starts to recognize the uploaded tool pictures in batch based on the trained ResNet model algorithm, if the recognition fails, an error prompt is popped up, and if the recognition succeeds, all tool information is displayed in a computer interface list.
Further, if the registration work in the step a31 is successful, the step a31 is performed again, and if the registration work fails, the registration information is popped up for viewing and performing the registration work again.
Compared with the prior art, the tool identification method based on the ResNet network has the following beneficial effects:
(1) the ResNet network-based tool identification method is applied to an intelligent management system of the warehouse tool, facilitates the promotion of automation and informatization construction of the warehouse tool, and improves the tool management efficiency and accuracy.
(2) According to the ResNet network-based tool identification method, all operations in the step A3 can be completed through one-key operation, the computer is provided with a ResNet network model for completing training test work, two-dimensional code identification of all tools can be completed quickly, uniqueness identification can be achieved, and tool management efficiency is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the method and, together with the description, serve to explain the method and are not intended to limit the method. In the drawings:
FIG. 1 is a flow chart of step A1 according to an embodiment of the present method;
FIG. 2 is a flowchart of step A3 according to an embodiment of the present method;
fig. 3 is a schematic diagram of the connection of a computer and a camera.
Detailed Description
It should be noted that the embodiments and features of the embodiments of the method may be combined with each other without conflict.
In the description of the present method, it is to be understood that the terms "central," "longitudinal," "lateral," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in an orientation or positional relationship indicated in the drawings for convenience in describing the method and for simplicity in description, and are not intended to indicate or imply that the referenced device or element must have a particular orientation, be constructed in a particular orientation, and be operated in a particular manner, and thus should not be considered limiting with respect to the present method. Furthermore, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first," "second," etc. may explicitly or implicitly include one or more of that feature. In the description of the present method, unless otherwise indicated, "a plurality" means two or more.
In the description of the present method, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present method can be understood by those of ordinary skill in the art from the specific context.
The noun explains:
ResNet (residual network): the residual network is a convolutional neural network proposed by 4 scholars from Microsoft Research, and wins image classification and object Recognition in the 2015 ImageNet Large Scale Visual Recognition Competition (ILSVRC). The residual network is characterized by easy optimization and can improve accuracy by adding considerable depth. The inner residual block uses jump connection, and the problem of gradient disappearance caused by depth increase in a deep neural network is relieved.
TFRecord: the TFRecord uses a Protocol Buffer binary data coding scheme, only occupies one memory block, only needs a mode of loading a binary file at one time, is simple and quick, is particularly friendly to large training data, and can divide the data into a plurality of TFRecord files to improve the processing efficiency when the training data volume is large.
The method will be described in detail below with reference to the embodiments and with reference to the drawings.
As shown in fig. 1-3, a ResNet network-based tool identification method includes the following steps:
a1: the worker trains and tests the ResNet network;
a2: connecting a plurality of cameras and a computer provided with a ResNet network by a worker through the Internet, wherein each camera is arranged on a tool placing rack;
a3: and D, sequentially photographing and identifying the two-dimensional code by the staff through the plurality of cameras in the step A2 and a computer provided with a ResNet network.
A4: the computer with the ResNet network recognizes the two-dimensional code information and retains records, if the computer with the ResNet network is abnormal, the computer with the ResNet network records the information and gives an alarm, and the system is applied to intelligent management of the warehouse tool, is beneficial to promoting automation and information construction of the warehouse tool and improves tool management efficiency and accuracy.
As shown in fig. 1, the step a1 includes the following steps:
a11: a worker divides a plurality of two-dimensional codes into a training set and a testing set, wherein the training set is used for subsequent training work, and the testing set is used for subsequent testing work;
a12: the staff unifies the sizes of the two-dimensional data set pictures in the training set and the testing set (the ResNet network used by the invention is the ResNet50 network, so the size of the input two-dimensional code is required to be 224 x 3, which is convenient for the division of the training set and the testing set), and is beneficial to the subsequent format conversion;
a13: converting the two-dimensional code data sets in the training set and the testing set with unified sizes in the step A12 into a TFRecord format by workers (because a Tensorflow framework with highest heat and best performance in the market is introduced for network training, the framework provides a proprietary TFrecord data format, the training set and the testing set are respectively packaged, and 1 TFrecord file is generated for every 1000 pictures, so that the network training is facilitated);
a14: after extracting the two-dimensional code data set in the training set and the test set converted into the TFRecord format in the step a13, a worker constructs a queue mode, so that a suitable ResNet network can be conveniently constructed later;
a15: the staff builds a corresponding ResNet network according to the queue mode built in the step A14, the training test process is carried out based on a tensoflow framework, and the programming language is python;
a16: a worker trains the ResNet network constructed in the step A15 through a training set, so that the ResNet network is learned to prepare for subsequent test work, and a random sequence queue mode is constructed to reduce waiting time for reading data in order to improve the machine learning efficiency;
a17: the worker tests the ResNet network trained in the step A16 through the test set, if the test is successful, the ResNet network outputs the test result and then ends, if the test is failed, the ResNet network directly ends, the trained network model predicts the picture of the test set, the accuracy rate of the model is displayed, and the quality of the trained model can be clearly verified;
in the step a17, if the ResNet network makes a correct response, the ResNet network outputs a test result and then ends, and if the ResNet network makes an incorrect response, the ResNet network ends directly, and the training reaches a cutoff condition (that is, an optimal solution is found or a specified training step number is reached), so that the accuracy of model prediction is displayed.
As shown in fig. 2, the step a3 includes the following steps:
a31: after the test application software (namely the ResNet network after the training test in the step A17) is started, a computer displays a login interface, an operator can login the software system through a password, and if the software is used for the first time, after an administrator adds user authority, the operator can login the system; if the operator has the authority, the operator can directly log in, if the password is wrong, the computer can display that the login fails and needs to log in again after being confirmed again by the operator; therefore, the system safety is facilitated, serious consequences caused by random operation of people without authority are prevented, and the safety in use is improved;
a32: after the operator successfully logs in the system, the operator clicks the checking function button displayed on the computer to control the cameras on the tool placement racks to take pictures and capture the two-dimensional codes, so that the informatization and networking degrees of tool management can be improved, and the working efficiency is improved;
a33: uploading screenshots (the screenshots are clear screenshots) to a computer by a plurality of cameras, if the uploading fails, checking whether the network configuration is intact by an operator, and uploading again for calculation after the correction is finished, if the uploading is successful, starting to analyze the screenshots by software;
a34: the test application software starts to recognize uploaded tool pictures in batch based on a trained ResNet model algorithm, if recognition fails, an error prompt pops up, if recognition succeeds, all tool information is displayed in a computer interface list, so that a keyboard point tool is realized, the tool has uniqueness, one-key operation can be performed, the computer is provided with a ResNet network model for finishing training and testing work, two-dimensional code recognition of all tools can be finished quickly, uniqueness recognition can be realized, and tool management efficiency is improved;
if the registration work in the step A31 is successful, the step A31 is carried out again, if the registration work is failed, registration information is popped up for checking and carrying out the registration work again, and the flexibility of logging in the system is improved.
While the invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not to be limited to the disclosed embodiment, but on the contrary, is intended to cover various modifications, equivalents, and alternatives falling within the spirit and principles of the invention.

Claims (5)

1. A tool identification method based on ResNet network is characterized in that: the method comprises the following steps:
a1: the worker trains and tests the ResNet network;
a2: connecting a plurality of cameras and a computer provided with a ResNet network by a worker through the Internet, wherein each camera is arranged on a tool placing rack;
a3: and D, sequentially photographing and identifying the two-dimensional code by the staff through the plurality of cameras in the step A2 and a computer provided with a ResNet network.
A4: and identifying the two-dimensional code information by the computer provided with the ResNet network, and keeping the record, wherein if the computer is abnormal, the computer provided with the ResNet network records the information and gives an alarm.
2. The ResNet network-based tool identification method of claim 1, wherein: the step A1 comprises the following steps:
a11: a worker divides a plurality of two-dimensional codes into a training set and a test set;
a12: the staff unifies the sizes of the two-dimensional code dataset pictures in the training set and the testing set;
a13: converting the two-dimensional code data set in the training set and the testing set with unified sizes in the step A12 into a TFRecord format by workers;
a14: after extracting the two-dimensional code data set in the training set and the test set which are converted into the TFRecord format in the step A13, the worker constructs a queue mode;
a15: the staff constructs a corresponding ResNet network according to the queue mode constructed in the step A14;
a16: training the ResNet network constructed in the step A15 by a worker through a training set;
a17: and D, testing the ResNet network trained in the step A16 by the staff through the test set, wherein if the test is successful, the ResNet network outputs a test result and then ends, and if the test is failed, the ResNet network directly ends.
3. The ResNet network-based tool identification method of claim 2, wherein: in step a17, if the ResNet network reacts correctly, the ResNet network outputs a test result and then ends, and if the ResNet network reacts incorrectly, the ResNet network ends directly.
4. The ResNet network-based tool identification method of claim 1, wherein: the step A3 includes the following steps:
a31: after the test application software is started, a computer displays a login interface, an operator can log in a software system through a password, and if the software is used for the first time, the operator can log in the system after adding user authority by an administrator; if the operator has the authority, the operator can directly log in, if the password is wrong, the computer can display that the login fails and needs to log in again after being confirmed again by the operator;
a32: after the operator successfully logs in the system, clicking a checking function button displayed on a computer to control cameras on a plurality of tool placement racks to shoot and capture the two-dimensional code;
a33: uploading the screenshots to a computer by a plurality of cameras, if uploading fails, checking whether the network configuration is intact by an operator, and uploading again for calculation after correction is finished, if uploading succeeds, starting to analyze the screenshots by software;
a34: and the test application software starts to recognize the uploaded tool pictures in batch based on the trained ResNet model algorithm, if the recognition fails, an error prompt is popped up, and if the recognition succeeds, all tool information is displayed in a computer interface list.
5. The ResNet network-based tool identification method according to claim 4, wherein: if the registration work in the step A31 is successful, the step A31 is carried out again, and if the registration work is failed, the registration information is popped up for viewing and carrying out the registration work again.
CN202110732934.4A 2021-06-29 2021-06-29 ResNet network-based tool identification method Pending CN113408682A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110732934.4A CN113408682A (en) 2021-06-29 2021-06-29 ResNet network-based tool identification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110732934.4A CN113408682A (en) 2021-06-29 2021-06-29 ResNet network-based tool identification method

Publications (1)

Publication Number Publication Date
CN113408682A true CN113408682A (en) 2021-09-17

Family

ID=77680354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110732934.4A Pending CN113408682A (en) 2021-06-29 2021-06-29 ResNet network-based tool identification method

Country Status (1)

Country Link
CN (1) CN113408682A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113673651A (en) * 2021-09-23 2021-11-19 上海凌瓴信息科技有限公司 Structured product information management system and method based on two-dimensional code technology
CN114882442A (en) * 2022-05-31 2022-08-09 广州信诚信息科技有限公司 Personnel and equipment situation identification method based on electric power operation site

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110321750A (en) * 2019-04-23 2019-10-11 成都数之联科技有限公司 Two-dimensional code identification method and system in a kind of picture
CN112541367A (en) * 2020-12-11 2021-03-23 上海品览数据科技有限公司 Multiple two-dimensional code identification method based on deep learning and image processing
CN112668409A (en) * 2020-12-14 2021-04-16 合肥富煌君达高科信息技术有限公司 Visual measurement system and method for identifying medicine type by using same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110321750A (en) * 2019-04-23 2019-10-11 成都数之联科技有限公司 Two-dimensional code identification method and system in a kind of picture
CN112541367A (en) * 2020-12-11 2021-03-23 上海品览数据科技有限公司 Multiple two-dimensional code identification method based on deep learning and image processing
CN112668409A (en) * 2020-12-14 2021-04-16 合肥富煌君达高科信息技术有限公司 Visual measurement system and method for identifying medicine type by using same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113673651A (en) * 2021-09-23 2021-11-19 上海凌瓴信息科技有限公司 Structured product information management system and method based on two-dimensional code technology
CN114882442A (en) * 2022-05-31 2022-08-09 广州信诚信息科技有限公司 Personnel and equipment situation identification method based on electric power operation site

Similar Documents

Publication Publication Date Title
CN113408682A (en) ResNet network-based tool identification method
JP6575132B2 (en) Information processing apparatus and information processing program
US11734954B2 (en) Face recognition method, device and electronic equipment, and computer non-volatile readable storage medium
US9596087B2 (en) Token authentication for touch sensitive display devices
CN106485261B (en) Image recognition method and device
CN107223257B (en) Test method, test server and test system
EP3907612A1 (en) Methods and systems for providing interactive support sessions
US8825824B2 (en) Systems and methods for machine configuration
CN104850499A (en) Automatic test method and device for base band software
CN111198815B (en) Compatibility testing method and device for user interface
CN112508109B (en) Training method and device for image recognition model
CN109426611A (en) A kind of method for testing software and device
JP2009140268A (en) Program, apparatus and method for automatically processing subsequent processing
US11386499B2 (en) Car damage picture angle correction method, electronic device, and readable storage medium
US11546577B2 (en) Video jitter detection method and apparatus
CN112863603A (en) Automatic analysis method and system for bacterial whole genome sequencing data
CN111862036A (en) Tool abnormal placement detection method and system based on double-finger scale quantity learning
WO2023245892A1 (en) Order processing method and system based on handheld terminals, computer device, and medium
CN116431468A (en) Test method, test device, test processing equipment and storage medium
CN115908977A (en) Image data labeling method and device, electronic equipment and storage medium
CN115509637A (en) Form-based intelligent filling method, system, equipment and medium
CN113657132A (en) Invoice image recognition method, device, equipment and medium based on two-dimensional code recognition
CN112990404A (en) Method and device for generating sample identification code pattern, acquisition method and electronic equipment
CN113162918B (en) Method for extracting abnormal data under condition of rapidly mining four-in-one network
RU2777354C2 (en) Image recognition system: beorg smart vision

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210917

RJ01 Rejection of invention patent application after publication