CN112308072B - Scrap steel stock yard scattered material identification method, system, electronic equipment and medium - Google Patents

Scrap steel stock yard scattered material identification method, system, electronic equipment and medium Download PDF

Info

Publication number
CN112308072B
CN112308072B CN202011232211.XA CN202011232211A CN112308072B CN 112308072 B CN112308072 B CN 112308072B CN 202011232211 A CN202011232211 A CN 202011232211A CN 112308072 B CN112308072 B CN 112308072B
Authority
CN
China
Prior art keywords
coordinate system
scattered
interest
region
blanking
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.)
Active
Application number
CN202011232211.XA
Other languages
Chinese (zh)
Other versions
CN112308072A (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.)
CISDI Chongqing Information Technology Co Ltd
Original Assignee
CISDI Chongqing Information Technology 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 CISDI Chongqing Information Technology Co Ltd filed Critical CISDI Chongqing Information Technology Co Ltd
Priority to CN202011232211.XA priority Critical patent/CN112308072B/en
Publication of CN112308072A publication Critical patent/CN112308072A/en
Application granted granted Critical
Publication of CN112308072B publication Critical patent/CN112308072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • General Factory Administration (AREA)
  • Image Analysis (AREA)

Abstract

The invention provides a scrap steel stock yard scattered material identification method, a system, electronic equipment and a medium, wherein the method comprises the following steps: a camera is arranged above a stock ground, and moves and acquires a region of interest; setting a plane of the stock ground as a first coordinate system, and setting a plane of the region of interest as a second coordinate system; determining scattered blanking through the region of interest and confirming the position of the scattered blanking in a second coordinate system; and determining the positions of the scattered blanking on the first coordinate system and the stock ground through the position relation between the first coordinate system and the second coordinate system. The camera is arranged on the stock ground, the field of view of the camera is set to be an area of interest, the object recognition of scattered blanking is carried out on the area of interest, the position of the scattered blanking in the area of interest is determined, the actual position of the scattered blanking is determined through the corresponding relation between the area of interest and the stock ground, and the positioning and confirmation of the scattered blanking are facilitated.

Description

Scrap steel stock yard scattered material identification method, system, electronic equipment and medium
Technical Field
The invention relates to the technical field of image recognition, in particular to a scrap steel stock yard scattered material recognition method, a scrap steel stock yard scattered material recognition system, electronic equipment and a scrap steel stock yard scattered material medium.
Background
In the process of steel smelting, scrap steel needs to be recovered and reused. However, during loading and unloading of the scrap steel yard, scattered materials which fall carelessly may exist on the ground, so that the scattered materials on the ground need to be picked up in time. Because the scattered steel scraps are more, the equipment reciprocates, the scattered blanking position is not fixed, if only manual identification is adopted, the conditions of missed detection and false detection are most likely to exist, the detection efficiency is low, and a large amount of labor cost is consumed.
Disclosure of Invention
In view of the above-mentioned drawbacks of the prior art, the present invention is directed to a method, a system, an electronic device and a medium for identifying scattered materials in a scrap steel yard, which are used for solving the problem of inconvenience in manual detection of scattered materials in the prior art.
To achieve the above and other related objects, the present invention provides a method for identifying scattered blanking of a scrap steel yard, comprising:
a camera is arranged above a stock ground, and moves and acquires a region of interest;
setting a plane of the stock ground as a first coordinate system, and setting a plane of the region of interest as a second coordinate system;
determining scattered blanking through the region of interest and confirming the position of the scattered blanking in a second coordinate system;
and determining the positions of the scattered blanking on the first coordinate system and the stock ground through the position relation between the first coordinate system and the second coordinate system.
Optionally, the step of determining the scattered blanking through the region of interest includes:
labeling scattered materials in the region of interest to obtain a data set and a training set;
inputting the training set into a neural network for training to obtain a training model;
and determining scattered blanking in the region of interest through the training model.
Performing edge detection on the region of interest, and extracting image features of the region of interest;
extracting the outline of the object in the region of interest by extracting the outline of the image after edge detection;
and determining scattered blanking in the region of interest according to the direction and the shape of the contour of the region of interest.
If the scattered materials are identified by the training model and the contour feature judgment, the scattered materials in the interested area can be determined;
if the training model identifies scattered blanking, the contour feature judges that the scattered blanking is not identified, and the scattered blanking in the interested area is determined according to the training model identification confidence;
if the training model does not identify scattered blanking, and the contour feature judges that the scattered blanking is identified, the scattered blanking in the interested area can be determined according to the contour feature.
Optionally, the step of determining the position of the scattered material on the first coordinate system and the material field through the position relationship between the first coordinate system and the second coordinate system includes:
determining the position coordinates of the center of the region of interest on the first coordinate system through any point of the first coordinate system, wherein the mathematical expression of the position coordinates of the center of the region of interest on the first coordinate system is as follows:
[camera x ,camera y ]
wherein, camera x Camera for the position coordinate of the X axis of the center of the region of interest on the first coordinate system y A position coordinate of a Y axis on the first coordinate system for the center of the region of interest;
the mathematical expression of the position coordinates of the scattered blanking on the second coordinate system is as follows:
Figure GDA0004162435760000021
wherein, steelN xmin For the minimum position coordinate of the X axis of the scattered blanking on the second coordinate system, steelN ymin For the minimum position coordinate of the Y axis of the scattered blanking on the second coordinate system, steelN xmax For the maximum position coordinate of the X axis of the scattered blanking on a second coordinate system, steelN ymax The maximum position coordinate of the Y axis of the scattered blanking on the second coordinate system is given, and N is the number of the scattered blanking;
the mathematical expression of the position coordinates of the scattered materials on the first coordinate system is as follows:
Figure GDA0004162435760000031
where k is a scaling factor.
Optionally, the determining process of the proportionality coefficient is as follows: and acquiring the pixel area of the region of interest and the actual area of the stock ground, and determining the proportionality coefficient by the ratio of the pixel area to the actual area of the stock ground.
Optionally, the edge detection operator or the filter includes Canny operator, sobel operator, laplacian operator, scharr filter, and the like.
Optionally, contour extraction is performed on the edge-detected image to extract the contour of the object in the region of interest. Setting a scattered blanking length threshold value L and a width threshold value W for a rectangular outline, if the length of an object outline in an interested area is smaller than L and the width is smaller than W, determining the outline as the rectangular scattered blanking outline of the interested area, and returning to the position coordinates of the scattered blanking on a first coordinate system; and setting a scattered blanking area threshold A for the irregular contour, if the closed area of the contour of the object in the region of interest is smaller than A, determining the contour as the irregular scattered blanking contour of the region of interest, and returning to the position coordinates of the scattered blanking on a first coordinate system.
Optionally, if the training model identifies scattered blanking and the contour feature judges that the scattered blanking is not identified, an identification confidence threshold T is set, and according to the training model identification result, the object is considered to be scattered blanking and the position coordinates of the scattered blanking on the first coordinate system are returned.
Optionally, a camera is disposed above the stock ground, and the step of moving and acquiring the region of interest by the camera includes:
the camera is arranged above the material yard vertically, and performs linear stepping reciprocating motion above the material yard and collects an emotion required area.
A system for identifying a scrap yard loose material, comprising:
the acquisition module is used for arranging a camera above the stock ground, and the camera moves and acquires a region of interest;
the identification module is used for setting the plane of the stock ground as a first coordinate system, setting the plane of the region of interest as a second coordinate system, determining scattered blanking through the region of interest and confirming the position of the scattered blanking in the second coordinate system;
and the processing module is used for determining the positions of the scattered materials on the first coordinate system and the material field through the position relation of the first coordinate system and the second coordinate system.
Optionally, the method comprises the following steps:
the step of determining scattered blanking through the region of interest comprises:
labeling scattered materials in the region of interest to obtain a data set and a training set;
inputting the training set into a neural network for training to obtain a training model;
and determining scattered blanking in the region of interest through the training model.
Performing edge detection on the region of interest, and extracting image features of the region of interest;
extracting the outline of the object in the region of interest by extracting the outline of the image after edge detection;
and determining scattered blanking in the region of interest according to the direction and the shape of the contour of the region of interest.
If the scattered materials are identified by the training model and the contour feature judgment, the scattered materials in the interested area can be determined;
if the training model identifies scattered blanking, the contour feature judges that the scattered blanking is not identified, and the scattered blanking in the interested area is determined according to the training model identification confidence;
if the training model does not identify scattered blanking, and the contour feature judges that the scattered blanking is identified, the scattered blanking in the interested area can be determined according to the contour feature.
Optionally, the step of determining the position of the scattered material on the first coordinate system and the material field through the position relationship between the first coordinate system and the second coordinate system includes:
determining the position coordinates of the center of the region of interest on the first coordinate system through any point of the first coordinate system, wherein the mathematical expression of the position coordinates of the center of the region of interest on the first coordinate system is as follows:
[camera x ,camera y ]
wherein, camera x Camera for the position coordinate of the X axis of the center of the region of interest on the first coordinate system y A position coordinate of a Y axis on the first coordinate system for the center of the region of interest;
the mathematical expression of the position coordinates of the scattered blanking on the second coordinate system is as follows:
Figure GDA0004162435760000051
wherein, steelN xmin For the minimum position coordinate of the X axis of the scattered blanking on the second coordinate system, steelN ymin For the minimum position coordinate of the Y axis of the scattered blanking on the second coordinate system, steelN xmax For the maximum position coordinate of the X axis of the scattered blanking on a second coordinate system, steelN ymax The maximum position coordinate of the Y axis of the scattered blanking on the second coordinate system is given, and N is the number of the scattered blanking;
the mathematical expression of the position coordinates of the scattered materials on the first coordinate system is as follows:
Figure GDA0004162435760000052
/>
where k is a scaling factor.
Optionally, the edge detection operator or the filter includes Canny operator, sobel operator, laplacian operator, scharr filter, and the like.
Optionally, contour extraction is performed on the edge-detected image to extract the contour of the object in the region of interest. Setting a scattered blanking length threshold value L and a width threshold value W for a rectangular outline, if the length of an object outline in an interested area is smaller than L and the width is smaller than W, determining the outline as the rectangular scattered blanking outline of the interested area, and returning to the position coordinates of the scattered blanking on a first coordinate system; and setting a scattered blanking area threshold A for the irregular contour, if the closed area of the contour of the object in the region of interest is smaller than A, determining the contour as the irregular scattered blanking contour of the region of interest, and returning to the position coordinates of the scattered blanking on a first coordinate system.
Optionally, if the training model identifies scattered blanking and the contour feature judges that the scattered blanking is not identified, an identification confidence threshold T is set, and according to the training model identification result, the object is considered to be scattered blanking and the position coordinates of the scattered blanking on the first coordinate system are returned.
An electronic device, comprising:
one or more processors; and one or more machine readable media having instructions stored thereon that, when executed by the one or more processors, cause the electronic device to perform one or more of the methods.
One or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an apparatus to perform one or more of the described methods.
As described above, the scrap steel stock yard scattered material identification method, system, electronic equipment and medium have the following beneficial effects:
the camera is arranged on the stock ground, the field of view of the camera is set to be an area of interest, the object recognition of scattered blanking is carried out on the area of interest, the position of the scattered blanking in the area of interest is determined, the actual position of the scattered blanking is determined through the corresponding relation between the area of interest and the stock ground, the positioning and the confirmation of the scattered blanking are facilitated, the detection efficiency and the accuracy are improved, and the system error existing in manual detection is reduced.
Drawings
Fig. 1 is a schematic diagram showing a method for identifying scattered materials in a scrap yard according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a scrap yard bulk material identification system according to an embodiment of the present invention.
Fig. 3 is a schematic diagram showing a camera moving and acquiring a region of interest according to an embodiment of the present invention.
Fig. 4 is a schematic diagram showing coordinate positions of scattered blanking according to an embodiment of the present invention.
Detailed Description
Other advantages and effects of the present invention will become apparent to those skilled in the art from the following disclosure, which describes the embodiments of the present invention with reference to specific examples. The invention may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present invention.
It should be noted that, the illustrations provided in the present embodiment merely illustrate the basic concept of the present invention by way of illustration, and only the components related to the present invention are shown in the drawings and are not drawn according to the number, shape and size of the components in actual implementation, and the form, number and proportion of the components in actual implementation may be arbitrarily changed, and the layout of the components may be more complex. The structures, proportions, sizes, etc. shown in the drawings attached hereto are for illustration purposes only and are not intended to limit the scope of the invention, which is defined by the claims, but rather by the claims. Also, the terms such as "upper," "lower," "left," "right," "middle," and "a" and the like recited in the present specification are merely for descriptive purposes and are not intended to limit the scope of the invention, but are intended to provide relative positional changes or modifications without materially altering the technical context in which the invention may be practiced.
Referring to fig. 1, the invention provides a method for identifying scattered blanking of a scrap steel yard, which comprises the following steps:
s1: -arranging a camera above the stockyard, said camera performing movements and acquiring a region of interest (Regionof Interest, abbreviated as ROI);
s2: setting a plane of the stock ground as a first coordinate system, and setting a plane of the region of interest as a second coordinate system;
s3: determining scattered blanking through the region of interest and confirming the position of the scattered blanking in a second coordinate system;
s4: and determining the positions of the scattered blanking on the first coordinate system and the stock ground through the position relation between the first coordinate system and the second coordinate system. The camera is arranged on the stock ground, the field of view of the camera is set to be an area of interest, the object recognition of scattered blanking is carried out on the area of interest, the position of the scattered blanking in the area of interest is determined, the actual position of the scattered blanking is determined through the corresponding relation between the area of interest and the stock ground, the positioning and the confirmation of the scattered blanking are facilitated, the detection efficiency and the accuracy are improved, and the system error existing in manual detection is reduced.
In some implementations, the step of determining the scattered material through the region of interest includes:
labeling scattered materials in the region of interest to obtain a data set and a training set, selecting a frame from the labeling positions, selecting the positions of the scattered materials in the region of interest by the frame, recording the position information of a target rectangular frame corresponding to the frame selection, obtaining the corresponding data set and training set, and further comprising a verification set;
inputting the training set into a neural network for training to obtain a training model, wherein the neural network can select a convolutional neural network, and training the characteristics of objects in a target frame in each region of interest through the convolutional neural network for target detection, so as to finally obtain a scattered material target detection model, and the convolutional neural network can comprise at least one of the following: SSD-MobileNet, R-CNN, faster-RCNN and YOLO series. Further, the contour feature determination may also be performed, including:
performing edge detection on the region of interest, and extracting image features of the region of interest;
extracting the outline of the object in the region of interest by extracting the outline of the image after edge detection;
determining scattered materials in the region of interest according to the direction and the shape of the outline of the region of interest;
if the scattered materials are identified by the training model and the contour feature judgment, the scattered materials in the interested area can be determined;
if the training model identifies scattered blanking, the contour feature judges that the scattered blanking is not identified, and the scattered blanking in the interested area is determined according to the training model identification confidence;
if the training model does not identify scattered blanking, and the contour feature judges that the scattered blanking is identified, the scattered blanking in the interested area can be determined according to the contour feature.
Referring to fig. 3 and 4, the camera 4 is disposed on the frame 1, and the unmanned vehicle 3 can drive the camera 4 to perform linear stepping reciprocating motion on the track 2, so as to perform image acquisition and traversal on the stock ground 5, so as to obtain the coordinates 6 of scattered materials in the stock ground 5; fig. 4 is a partial plan view of fig. 3, so that the unmanned vehicle 3, the driving camera 4 and the stock ground 5 in fig. 4 are identical to the labeling contents in fig. 3, wherein the label 6 in fig. 4 is a scattered material coordinate.
The step of determining the position of the scattered material on the first coordinate system and the material field through the position relation between the first coordinate system and the second coordinate system comprises the following steps:
determining the position coordinates of the center of the region of interest on the first coordinate system through any point of the first coordinate system, wherein the mathematical expression of the position coordinates of the center of the region of interest on the first coordinate system is as follows:
[camera x ,camera y ]
wherein, camera x Camera for the position coordinate of the X axis of the center of the region of interest on the first coordinate system y A position coordinate of a Y axis on the first coordinate system for the center of the region of interest;
the mathematical expression of the position coordinates of the scattered blanking on the second coordinate system is as follows:
Figure GDA0004162435760000091
wherein, steelN xmin For the minimum position coordinate of the X axis of the scattered blanking on the second coordinate system, steelN ymin For the minimum position coordinate of the Y axis of the scattered blanking on the second coordinate system, steelN xmax For the maximum position coordinate of the X axis of the scattered blanking on a second coordinate system, steelN ymax The maximum position coordinate of the Y axis of the scattered blanking on the second coordinate system is given, and N is the number of the scattered blanking;
the mathematical expression of the position coordinates of the scattered materials on the first coordinate system is as follows:
Figure GDA0004162435760000092
where k is a scaling factor.
Further, the determining process of the proportionality coefficient is as follows: acquiring a pixel area of the region of interest and an actual area of the stock ground, and determining the scaling factor by a ratio of the pixel area to the actual area of the stock ground, for example: 1pixel corresponds to k cm on the actual ground, and the expression is:
1pixel=kcm
the edge detection operator or the filter comprises a Canny operator, a Sobel operator, a Laplacian operator, a Scharr filter and the like.
Further, contour extraction is performed on the edge-detected image to extract the contour of the object in the region of interest. Setting a scattered blanking length threshold value L and a width threshold value W for a rectangular outline, if the length of an object outline in an interested area is smaller than L and the width is smaller than W, determining the outline as the rectangular scattered blanking outline of the interested area, and returning to the position coordinates of the scattered blanking on a first coordinate system; and setting a scattered blanking area threshold A for the irregular contour, if the closed area of the contour of the object in the region of interest is smaller than A, determining the contour as the irregular scattered blanking contour of the region of interest, and returning to the position coordinates of the scattered blanking on a first coordinate system.
If the training model identifies scattered blanking and the contour feature judges that the scattered blanking is not identified, an identification confidence threshold T is set, and the object is considered to be scattered blanking according to the fact that the confidence of the training model identification result is larger than T, and the position coordinates of the scattered blanking on a first coordinate system are returned.
In some implementations, a camera is positioned over the stockyard, the camera moving and acquiring a region of interest comprising:
the camera is arranged above the material yard vertically, and performs linear stepping reciprocating motion above the material yard and collects an emotion required area.
Referring to fig. 2, the present invention provides a system for identifying scattered materials in a waste material yard, comprising:
the acquisition module is used for arranging a camera above the stock ground, and the camera moves and acquires a region of interest;
the identification module is used for setting the plane of the stock ground as a first coordinate system, setting the plane of the region of interest as a second coordinate system, determining scattered blanking through the region of interest and confirming the position of the scattered blanking in the second coordinate system;
and the processing module is used for determining the positions of the scattered materials on the first coordinate system and the material field through the position relation of the first coordinate system and the second coordinate system.
Optionally, the method comprises the following steps:
the step of determining scattered blanking through the region of interest comprises:
labeling scattered materials in the region of interest to obtain a data set and a training set;
inputting the training set into a neural network for training to obtain a training model;
and determining scattered blanking in the region of interest through the training model.
Optionally, the step of determining the position of the scattered material on the first coordinate system and the material field through the position relationship between the first coordinate system and the second coordinate system includes:
determining the position coordinates of the center of the region of interest on the first coordinate system through any point of the first coordinate system, wherein the mathematical expression of the position coordinates of the center of the region of interest on the first coordinate system is as follows:
[camera x ,camera y ]
wherein, camera x Camera for the position coordinate of the X axis of the center of the region of interest on the first coordinate system y A position coordinate of a Y axis on the first coordinate system for the center of the region of interest;
the mathematical expression of the position coordinates of the scattered blanking on the second coordinate system is as follows:
Figure GDA0004162435760000111
wherein, steelN xmin For the minimum position coordinate of the X axis of the scattered blanking on the second coordinate system, steelN ymin For the minimum position coordinate of the Y axis of the scattered blanking on the second coordinate system, steelN xmax For the maximum position coordinate of the X axis of the scattered blanking on a second coordinate system, steelN ymax For the scattered materialThe maximum position coordinate of the Y axis on the second coordinate system, N is the number of the scattered blanking;
the mathematical expression of the position coordinates of the scattered materials on the first coordinate system is as follows:
Figure GDA0004162435760000112
where k is a scaling factor.
The edge detection operator or the filter comprises a Canny operator, a Sobel operator, a Laplacian operator, a Scharr filter and the like.
Further, contour extraction is performed on the edge-detected image to extract the contour of the object in the region of interest. Setting a scattered blanking length threshold value L and a width threshold value W for a rectangular outline, if the length of an object outline in an interested area is smaller than L and the width is smaller than W, determining the outline as the rectangular scattered blanking outline of the interested area, and returning to the position coordinates of the scattered blanking on a first coordinate system; and setting a scattered blanking area threshold A for the irregular contour, if the closed area of the contour of the object in the region of interest is smaller than A, determining the contour as the irregular scattered blanking contour of the region of interest, and returning to the position coordinates of the scattered blanking on a first coordinate system.
If the training model identifies scattered blanking and the contour feature judges that the scattered blanking is not identified, an identification confidence threshold T is set, and the object is considered to be scattered blanking according to the fact that the confidence of the training model identification result is larger than T, and the position coordinates of the scattered blanking on a first coordinate system are returned.
An embodiment of the present invention provides an electronic device, including: one or more processors; and one or more machine readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform one or more of the described methods. The invention is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
Embodiments of the invention also provide one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an apparatus to perform one or more of the methods described. The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The above embodiments are merely illustrative of the principles of the present invention and its effectiveness, and are not intended to limit the invention. Modifications and variations may be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the invention. Accordingly, it is intended that all equivalent modifications and variations of the invention be covered by the claims, which are within the ordinary skill of the art, be within the spirit and scope of the present disclosure.

Claims (8)

1. The method for identifying the scattered materials in the scrap steel yard is characterized by comprising the following steps of:
a camera is arranged above a stock ground, and moves and acquires a region of interest;
setting a plane of the stock ground as a first coordinate system, and setting a plane of the region of interest as a second coordinate system;
determining scattered blanking through the region of interest and confirming the position of the scattered blanking in a second coordinate system;
determining the positions of the scattered blanking on the first coordinate system and the material field through the position relation of the first coordinate system and the second coordinate system
Wherein, through the positional relationship of the first coordinate system and the second coordinate system, the step of determining the position of the scattered blanking on the first coordinate system and the material field comprises the following steps:
determining the position coordinates of the center of the region of interest on the first coordinate system through any point of the first coordinate system, wherein the mathematical expression of the position coordinates of the center of the region of interest on the first coordinate system is as follows:
[camera x ,camera y ]
wherein, camera x Camera for the position coordinate of the X axis of the center of the region of interest on the first coordinate system y A position coordinate of a Y axis on the first coordinate system for the center of the region of interest;
the mathematical expression of the position coordinates of the scattered blanking on the second coordinate system is as follows:
Figure FDA0004162435750000011
wherein, steelN xmin For the minimum position coordinate of the X axis of the scattered blanking on the second coordinate system, steelN ymin For the minimum position coordinate of the Y axis of the scattered blanking on the second coordinate system, steelN xmax For the maximum position coordinate of the X axis of the scattered blanking on a second coordinate system, steelN ymax The maximum position coordinate of the Y axis of the scattered blanking on the second coordinate system is given, and N is the number of the scattered blanking;
the mathematical expression of the position coordinates of the scattered materials on the first coordinate system is as follows:
Figure FDA0004162435750000012
where k is a scaling factor, 1pixel corresponds to k cm above the actual ground, and the expression is: 1 pixel=k cm
2. The scrap yard loose material identification method of claim 1, wherein the step of determining loose material through the region of interest comprises:
labeling scattered materials in the region of interest to obtain a data set and a training set;
inputting the training set into a neural network for training to obtain a training model;
determining scattered materials in the region of interest through the training model;
performing edge detection on the region of interest, and extracting image features of the region of interest;
extracting the outline of the object in the region of interest by extracting the outline of the image after edge detection;
determining scattered materials in the region of interest according to the direction and the shape of the outline of the region of interest;
if the scattered materials are identified by the training model and the contour feature judgment, the scattered materials in the interested area can be determined;
if the training model identifies scattered blanking, the contour feature judges that the scattered blanking is not identified, and the scattered blanking in the interested area is determined according to the training model identification confidence;
if the training model does not identify scattered blanking, and the contour feature judges that the scattered blanking is identified, the scattered blanking in the interested area can be determined according to the contour feature.
3. The scrap steel yard scattered material identification method according to claim 2, wherein contour extraction is carried out on an image after edge detection, the contour of an object in an interested area is extracted, a scattered material length threshold value L and a width threshold value W are set for a rectangular contour, if the contour length of the object in the interested area is smaller than L and the width is smaller than W, the contour is determined to be the rectangular scattered material contour of the interested area, and the position coordinates of the scattered material on a first coordinate system are returned; and setting a scattered blanking area threshold A for the irregular contour, if the closed area of the contour of the object in the region of interest is smaller than A, determining the contour as the irregular scattered blanking contour of the region of interest, and returning to the position coordinates of the scattered blanking on a first coordinate system.
4. The method for identifying scattered materials in a scrap steel yard according to claim 2, wherein if the training model identifies scattered materials and the contour feature judges that the scattered materials are not identified, an identification confidence threshold T is set, and the object is considered to be the scattered materials according to the confidence of the training model identification result being greater than T, and the position coordinates of the scattered materials on a first coordinate system are returned.
5. The scrap yard loose material identification method of claim 1, wherein a camera is positioned above the yard, the camera moving and capturing the region of interest comprising:
the camera is arranged above the material yard vertically, and performs linear stepping reciprocating motion above the material yard and acquires a region of interest.
6. A system for utilizing the scrap yard loose material identification method in accordance with any one of claims 1 to 5, comprising:
the acquisition module is used for arranging a camera above the stock ground, and the camera moves and acquires a region of interest;
the identification module is used for setting the plane of the stock ground as a first coordinate system, setting the plane of the region of interest as a second coordinate system, determining scattered blanking through the region of interest and confirming the position of the scattered blanking in the second coordinate system;
the processing module is used for determining the positions of the scattered materials on the first coordinate system and the material field through the position relation of the first coordinate system and the second coordinate system;
wherein, through the positional relationship of the first coordinate system and the second coordinate system, the step of determining the position of the scattered blanking on the first coordinate system and the material field comprises the following steps:
determining the position coordinates of the center of the region of interest on the first coordinate system through any point of the first coordinate system, wherein the mathematical expression of the position coordinates of the center of the region of interest on the first coordinate system is as follows:
[camera x ,camera y ]
wherein, camera x Camera for the position coordinate of the X axis of the center of the region of interest on the first coordinate system y A position coordinate of a Y axis on the first coordinate system for the center of the region of interest;
the mathematical expression of the position coordinates of the scattered blanking on the second coordinate system is as follows:
Figure FDA0004162435750000041
/>
wherein, steelN xmin For the minimum position coordinate of the X axis of the scattered blanking on the second coordinate system, steelN ymin For the minimum position coordinate of the Y axis of the scattered blanking on the second coordinate system, steelN xmax For the maximum position coordinate of the X axis of the scattered blanking on a second coordinate system, steelN ymax The maximum position coordinate of the Y axis of the scattered blanking on the second coordinate system is given, and N is the number of the scattered blanking;
the mathematical expression of the position coordinates of the scattered materials on the first coordinate system is as follows:
Figure FDA0004162435750000042
where k is a scaling factor, 1pixel corresponds to k cm above the actual ground, and the expression is: 1pixel = k cm;
the acquisition module, the identification module and the processing module are connected.
7. An electronic device, comprising:
one or more processors; and one or more machine readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform the method of one or more of claims 1-5.
8. One or more machine readable media having instructions stored thereon that, when executed by one or more processors, cause an apparatus to perform the method of one or more of claims 1-5.
CN202011232211.XA 2020-11-06 2020-11-06 Scrap steel stock yard scattered material identification method, system, electronic equipment and medium Active CN112308072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011232211.XA CN112308072B (en) 2020-11-06 2020-11-06 Scrap steel stock yard scattered material identification method, system, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011232211.XA CN112308072B (en) 2020-11-06 2020-11-06 Scrap steel stock yard scattered material identification method, system, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN112308072A CN112308072A (en) 2021-02-02
CN112308072B true CN112308072B (en) 2023-05-12

Family

ID=74326509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011232211.XA Active CN112308072B (en) 2020-11-06 2020-11-06 Scrap steel stock yard scattered material identification method, system, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN112308072B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106382930A (en) * 2016-08-18 2017-02-08 广东工业大学 An indoor AGV wireless navigation method and a device therefor
CN107444998A (en) * 2016-05-31 2017-12-08 株式会社日立制作所 Conveying equipment control system and conveying equipment control method
CN110968110A (en) * 2018-09-29 2020-04-07 广州极飞科技有限公司 Method and device for determining operation area, unmanned aerial vehicle and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335973B (en) * 2015-10-20 2018-08-03 上海交通大学 Apply to the visual processing method of strip machining production line
EP3446281A1 (en) * 2016-04-21 2019-02-27 OSRAM GmbH Training method and detection method for object recognition
CN108356422B (en) * 2017-01-23 2020-03-06 宝山钢铁股份有限公司 Online measurement, waste falling and finished product separation identification method for continuous laser blanking of strip coil
CN107844750B (en) * 2017-10-19 2020-05-19 华中科技大学 Water surface panoramic image target detection and identification method
CN108364287B (en) * 2018-02-11 2021-11-02 北京简易科技有限公司 Foreign matter monitoring method and device and stamping system
CN110136264B (en) * 2019-05-30 2021-02-19 北京中盛博方环保工程技术有限公司 Three-dimensional laser scanning-based stock ground material modeling method and system
CN111340027A (en) * 2020-03-05 2020-06-26 中冶赛迪重庆信息技术有限公司 Steel pile identification method and system, electronic equipment and medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107444998A (en) * 2016-05-31 2017-12-08 株式会社日立制作所 Conveying equipment control system and conveying equipment control method
CN106382930A (en) * 2016-08-18 2017-02-08 广东工业大学 An indoor AGV wireless navigation method and a device therefor
CN110968110A (en) * 2018-09-29 2020-04-07 广州极飞科技有限公司 Method and device for determining operation area, unmanned aerial vehicle and storage medium

Also Published As

Publication number Publication date
CN112308072A (en) 2021-02-02

Similar Documents

Publication Publication Date Title
CN111259889A (en) Image text recognition method and device, computer equipment and computer storage medium
CN110610141A (en) Logistics storage regular shape goods recognition system
CN112308003B (en) Method, system, equipment and medium for identifying loading state of scrap steel wagon
CN112348791B (en) Intelligent scrap steel detecting and judging method, system, medium and terminal based on machine vision
CN111310645A (en) Overflow bin early warning method, device, equipment and storage medium for cargo accumulation amount
CN114049624B (en) Ship cabin intelligent detection method and system based on machine vision
CN102708552A (en) Rapid two-dimensional barcode image motion deblurring method
CN112621765B (en) Automatic equipment assembly control method and device based on manipulator
CN110929626A (en) Method for determining number of inventory goods, warehouse checking method, device and equipment
CN112070117A (en) Belt tearing detection method and device and storage medium
CN112307944A (en) Dish inventory information processing method, dish delivery method and related device
Xiao et al. A real-time system for lane detection based on FPGA and DSP
CN112308072B (en) Scrap steel stock yard scattered material identification method, system, electronic equipment and medium
CN116051485A (en) Patch welding quality inspection method, device, equipment and storage medium
CN112215147A (en) Tracing method, device, equipment and storage medium for garbage throwing position
CN115055806B (en) Welding track tracking method and device based on visual tracking
CN112308848A (en) Method and system for identifying state of baffle plate of scrap steel truck, electronic equipment and medium
CN112786509B (en) Positioning system, positioning method and computing equipment
CN112329849A (en) Scrap steel stock yard unloading state identification method based on machine vision, medium and terminal
CN112308073B (en) Method, system, equipment and medium for identifying loading and unloading and transferring states of scrap steel train
CN111353323A (en) Centralized code complementing method, device, system and storage medium
CN113822396B (en) Bridge crane real-time positioning method, device and system
CN110245530B (en) Bar code information input method, device and storage medium
Baniadamdizaj et al. Document Localization in Images Taken by Smartphones Using a Fully Convolutional Neural Network
Martín Rodríguez et al. Automatic reading of intermodal containers ID numbers (ownership codes)

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
CB02 Change of applicant information

Address after: 401329 No. 5-6, building 2, No. 66, Nongke Avenue, Baishiyi Town, Jiulongpo District, Chongqing

Applicant after: MCC CCID information technology (Chongqing) Co.,Ltd.

Address before: 20-24 / F, No.7 Longjing Road, North New District, Yubei District, Chongqing

Applicant before: CISDI CHONGQING INFORMATION TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant