CN115909308A - Instrument rapid detection and identification method for selecting ROI (region of interest) based on two-dimensional code information - Google Patents
Instrument rapid detection and identification method for selecting ROI (region of interest) based on two-dimensional code information Download PDFInfo
- Publication number
- CN115909308A CN115909308A CN202211407774.7A CN202211407774A CN115909308A CN 115909308 A CN115909308 A CN 115909308A CN 202211407774 A CN202211407774 A CN 202211407774A CN 115909308 A CN115909308 A CN 115909308A
- Authority
- CN
- China
- Prior art keywords
- dimensional code
- information
- instrument
- roi
- code information
- 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
Links
Images
Landscapes
- Image Analysis (AREA)
Abstract
The invention discloses a rapid detection and identification method for an instrument based on two-dimension code information selection ROI (region of interest), which comprises the following steps: the method comprises the following steps: identifying a two-dimensional code in an image, and reading information of the two-dimensional code and coordinates of four corner points; step two: correcting the image gradient according to the gradient information of the four corner points; step three: extracting an ROI (region of interest) region in the image according to the position information of the ROI region in the two-dimensional code information; step four: selecting an instrument identification algorithm, scales and units according to the two-dimension code information; step five: identifying a pointer; step six: matching scales; step seven: the two-dimensional code is visually identified, the stored information in the two-dimensional code comprises the position of the ROI (region of interest), the ROI in the image is quickly found through the information of the ROI in the two-dimensional code, the identification speed is high, and the stability is high.
Description
Technical Field
The invention relates to a rapid instrument detection and identification method based on two-dimensional code information selection ROI (region of interest), belonging to the technical field of visual intelligent instrument identification.
Background
With the continuous improvement of the automation level of factories and the intelligentization requirements of various industries, data uploading and data analysis of various detection instruments and the like become hot spots of the industries. The traditional detection instrument needs manual checking, recording and non-real-time data, also consumes manpower for recording, and cannot automatically acquire various instrument data once the troubleshooting time is too long.
Disclosure of Invention
The invention aims to provide a rapid instrument detection and identification method for selecting an ROI (region of interest) area based on two-dimensional code information, so as to solve the problems in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme: a rapid detection and identification method for an instrument based on two-dimension code information selection ROI area comprises the following steps:
the method comprises the following steps: identifying a two-dimensional code in an image, and reading two-dimensional code information and four corner coordinates;
step two: correcting the image gradient according to the gradient information of the four corner points;
step three: extracting an ROI (region of interest) region in the image according to the position information of the ROI region in the two-dimensional code information;
step four: selecting an instrument identification algorithm, scales and units according to the two-dimension code information;
step five: identifying a pointer;
step six: matching scales;
step seven: and outputting a detection result.
As a preferred embodiment of the present invention, the ROI area is an effective area where the meter can be identified.
As a preferred technical solution of the present invention, the image two-dimensional code, that is, the two-dimensional code with information of the identification area of the meter, which is attached to the side of the meter at the beginning, is used for determining the identification area by scanning the two-dimensional code in the image, so as to quickly lock the detection range and the information corresponding to the detection method and the meter.
As a preferred technical solution of the present invention, the two-dimensional code information includes storage information in the two-dimensional code including ROI region position, meter scale, meter unit, and output format information.
As a preferred technical solution of the present invention, in the first step, the image gradient is corrected according to the four corner information of the two-dimensional code.
As a preferred technical scheme of the invention, the pointer searching algorithm extracts the corner point characteristics of the pointer and matches the pointer information.
As a preferred technical solution of the present invention, the scales are matched, and the corresponding scales are found through the corresponding scale information and the pointer angle in the two-dimensional code.
Compared with the prior art, the invention has the beneficial effects that: the invention relates to a rapid instrument detection and identification method for selecting an ROI (region of interest) based on two-dimensional code information, which comprises the following steps of:
1. according to the invention, the two-dimensional code is identified through vision, the stored information in the two-dimensional code comprises the position of the ROI area, the ROI area in the image is quickly found through the ROI area information in the two-dimensional code, the identification speed is high, and the stability is extremely high.
2. The two-dimension code is identified through vision, the stored information in the two-dimension code comprises information such as instrument scales and instrument units, the pointer is found through an algorithm, and the reading corresponding to the pointer is obtained through the Kelvin matching of the two-dimension code information.
Drawings
FIG. 1 is a flow chart of the operation of the system of the present invention;
fig. 2 is a schematic diagram of two-dimensional code placement according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention are clearly and completely described, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
Referring to fig. 1-2, the present invention provides a method for rapidly detecting and identifying an instrument based on two-dimension code information to select an ROI, wherein the method for rapidly detecting and identifying an instrument based on two-dimension code information to select an ROI comprises the following steps:
the method comprises the following steps: identifying a two-dimensional code in an image, and reading information of the two-dimensional code and coordinates of four corner points;
step two: correcting the image gradient according to the gradient information of the four corner points;
step three: extracting an ROI (region of interest) area in the image according to the position information of the ROI area in the two-dimensional code information;
step four: selecting an instrument identification algorithm, scales and units according to the two-dimension code information;
step five: identifying a pointer;
step six: matching scales;
step seven: and outputting a detection result.
Wherein the ROI area is an effective area which can be identified by the meter.
Further, the image two-dimensional code, namely the two-dimensional code with the information of the instrument identification area, which is attached to the side of the instrument at the beginning, is used for quickly locking the detection range and the information corresponding to the detection method and the instrument by scanning the two-dimensional code in the image to determine the identification area.
Furthermore, the two-dimension code information comprises the storage information in the two-dimension code, including ROI area position, instrument scale, instrument unit and output format information.
In the first step, the image gradient is corrected according to the information of the four corner points of the two-dimensional code.
Preferably, the pointer searching algorithm extracts the corner feature of the pointer and matches the pointer information.
And matching the scales, and finding the corresponding scales through the corresponding scale information and the pointer angle in the two-dimensional code.
When the system is used, firstly, the two-dimensional code attached to the side of the instrument and provided with instrument identification area information is scanned during system operation, the system firstly scans the two-dimensional code in an image by scanning the two-dimensional code in the image, firstly, image gradient correction is carried out according to four corner point information, then, an identification area is determined according to ROI area position information in the two-dimensional code, the detection range and information corresponding to the detection method and the instrument are quickly locked, after a pointer position is detected according to characteristic identification, corresponding information of scales stored by the two-dimensional code is obtained, and then, corresponding instrument information is output.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
Claims (7)
1. A rapid detection and identification method for an instrument based on two-dimension code information selection ROI area is characterized in that the rapid detection and identification method for the instrument based on two-dimension code information selection ROI area comprises the following steps:
the method comprises the following steps: identifying a two-dimensional code in an image, and reading information of the two-dimensional code and coordinates of four corner points;
step two: correcting the image gradient according to the gradient information of the four corner points;
step three: extracting an ROI (region of interest) region in the image according to the position information of the ROI region in the two-dimensional code information;
step four: selecting an instrument identification algorithm, scales and units according to the two-dimension code information;
step five: identifying a pointer;
step six: matching scales;
step seven: and outputting a detection result.
2. The instrument rapid detection and identification method for selecting the ROI area based on the two-dimensional code information as claimed in claim 1, wherein the method comprises the following steps: the ROI area is the active area where the meter can be identified.
3. The instrument rapid detection and identification method for selecting the ROI area based on the two-dimensional code information as claimed in claim 1, wherein the method comprises the following steps: the system determines the identification area by scanning the two-dimensional code in the image, and is used for rapidly locking the detection range and the information corresponding to the detection method and the instrument.
4. The instrument rapid detection and identification method for selecting the ROI area based on the two-dimensional code information as claimed in claim 1, wherein the method comprises the following steps: the two-dimensional code information comprises storage information in the two-dimensional code, including ROI regional position, instrument scale, instrument unit and output format information.
5. The instrument rapid detection and identification method for selecting the ROI area based on the two-dimensional code information as claimed in claim 1, wherein the method comprises the following steps: in the first step, the image gradient is corrected according to the information of the four corner points of the two-dimensional code.
6. The instrument rapid detection and identification method for selecting the ROI based on the two-dimensional code information according to claim 1, characterized in that: the pointer searching algorithm extracts the angular point characteristics of the pointer and matches the pointer information.
7. The instrument rapid detection and identification method for selecting the ROI area based on the two-dimensional code information as claimed in claim 1, wherein the method comprises the following steps: and the scales are matched, and the corresponding scales are found through the corresponding scale information and the pointer angle in the two-dimensional code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211407774.7A CN115909308A (en) | 2022-11-10 | 2022-11-10 | Instrument rapid detection and identification method for selecting ROI (region of interest) based on two-dimensional code information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211407774.7A CN115909308A (en) | 2022-11-10 | 2022-11-10 | Instrument rapid detection and identification method for selecting ROI (region of interest) based on two-dimensional code information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115909308A true CN115909308A (en) | 2023-04-04 |
Family
ID=86493240
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211407774.7A Pending CN115909308A (en) | 2022-11-10 | 2022-11-10 | Instrument rapid detection and identification method for selecting ROI (region of interest) based on two-dimensional code information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115909308A (en) |
-
2022
- 2022-11-10 CN CN202211407774.7A patent/CN115909308A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107609557B (en) | Pointer instrument reading identification method | |
CN110210409B (en) | Method and system for detecting form frame lines in form document | |
EP0669593B1 (en) | Two-dimensional code recognition method | |
US20020067855A1 (en) | Method and arrangement for camera calibration | |
US7027651B2 (en) | Geometric hashing method for model-based recognition of an object | |
CN112257676A (en) | Pointer instrument reading method and system and inspection robot | |
CN110211178B (en) | Pointer instrument identification method using projection calculation | |
US20090022405A1 (en) | System and method for video object identification | |
CN111507928A (en) | Point cloud data fusion method, device and equipment and storage medium | |
CN108992033B (en) | Grading device, equipment and storage medium for vision test | |
KR20170010753A (en) | Method for the optical detection of symbols | |
CN115909308A (en) | Instrument rapid detection and identification method for selecting ROI (region of interest) based on two-dimensional code information | |
CN105930813B (en) | A method of detection composes a piece of writing this under any natural scene | |
CN113191351B (en) | Reading identification method and device of digital electric meter and model training method and device | |
CN114092542A (en) | Bolt measuring method and system based on two-dimensional vision | |
US6597805B1 (en) | Visual inspection method for electronic device, visual inspecting apparatus for electronic device, and record medium for recording program which causes computer to perform visual inspecting method for electronic device | |
CN114882487A (en) | Pointer instrument reading method and system | |
CN111191759B (en) | Two-dimensional code generation method, positioning and decoding method based on GPU | |
CN112330611A (en) | FPGA-oriented high-parallelism light spot segmentation method | |
JP2961140B2 (en) | Image processing method | |
CN113033233A (en) | Positioning method and device of geometric deformation QR (quick response) code and storage medium | |
CN116863176B (en) | Image template matching method for digital intelligent manufacturing | |
CN116310285B (en) | Automatic pointer instrument reading method and system based on deep learning | |
JPH06223191A (en) | Feature extracting method and discriminating method for image | |
Xia et al. | Efficient and Accurate Coded Target Decoding for 3D Reconstruction of Soil Specimens in Triaxial Test |
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 |