CN114170435A - Method and device for screening appearance images for recovery detection - Google Patents
Method and device for screening appearance images for recovery detection Download PDFInfo
- Publication number
- CN114170435A CN114170435A CN202111491137.8A CN202111491137A CN114170435A CN 114170435 A CN114170435 A CN 114170435A CN 202111491137 A CN202111491137 A CN 202111491137A CN 114170435 A CN114170435 A CN 114170435A
- Authority
- CN
- China
- Prior art keywords
- equipment
- appearance image
- condition
- detection
- recovered
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/30—Administration of product recycling or disposal
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30168—Image quality inspection
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02W—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO WASTEWATER TREATMENT OR WASTE MANAGEMENT
- Y02W90/00—Enabling technologies or technologies with a potential or indirect contribution to greenhouse gas [GHG] emissions mitigation
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Quality & Reliability (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Sustainable Development (AREA)
- Life Sciences & Earth Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Image Analysis (AREA)
Abstract
The invention relates to an appearance image screening method and device for recovery detection. And when the equipment to be recovered is the target equipment, acquiring the outline of the equipment to be recovered in the appearance image, and judging whether the outline meets the outline condition of the target equipment. And when the contour condition of the target equipment is met, determining whether the appearance image is used as a screening and retaining result according to the characteristics of the appearance image. Based on the method, before the further processing of the recovery detection of the external images, the external images are screened in advance, the department external images are removed to reduce the burden of subsequent processing, and the subsequent recovery detection efficiency and accuracy are improved.
Description
Technical Field
The invention relates to the technical field of recovery detection, in particular to an appearance image screening method and device for recovery detection.
Background
With the development of electronic product technology, various intelligent devices such as smart phones, notebook computers, tablet computers, and the like are developed. At present, along with the rapid development of economy and technology, the popularization and the updating speed of intelligent equipment are also faster and faster. Taking a smart phone as an example, the coming of the 5G era accelerates the generation change of the smart phone. In the iterative process of the intelligent equipment, effective recovery is one of effective utilization means of the residual value of the intelligent equipment, and the chemical pollution to the environment and the waste can be reduced.
Therefore, various recycling methods such as recycling by a recycling machine or after-sales service have been carried out in accordance with the recycling process of the facility. In the recycling process, appearance detection is an extremely important link. In the process of finishing appearance detection, the obtained image is often required to be subjected to matting processing to remove environmental interference. However, in the image acquisition of a part of recovery scenes, especially in a non-standard environment, there are many external factors which interfere with the image acquisition, so that the acquired image loses detection value. At this time, if the processing such as cutting and matting is continued, the processing resources such as labor cost and computing resources are definitely wasted.
Disclosure of Invention
Accordingly, there is a need to provide an appearance image screening method and apparatus for recycling detection of detection interference introduced into appearance images in non-standard environments.
A method for screening appearance images for recovery detection comprises the following steps:
acquiring an appearance image to be screened;
detecting equipment to be recovered corresponding to the appearance image as target equipment;
when the equipment to be recovered is the target equipment, acquiring the outline of the equipment to be recovered in the appearance image, and judging whether the outline meets the outline condition of the target equipment;
and when the contour condition of the target equipment is met, determining whether the appearance image is used as a screening and retaining result according to the characteristics of the appearance image.
According to the method for screening the appearance images for recovery detection, after the appearance images to be screened are obtained, whether the equipment to be recovered corresponding to the appearance images is the target equipment is detected. And when the equipment to be recovered is the target equipment, acquiring the outline of the equipment to be recovered in the appearance image, and judging whether the outline meets the outline condition of the target equipment. And when the contour condition of the target equipment is met, determining whether the appearance image is used as a screening and retaining result according to the characteristics of the appearance image. Based on the method, before the further processing of the recovery detection of the external images, the external images are screened in advance, the department external images are removed to reduce the burden of subsequent processing, and the subsequent recovery detection efficiency and accuracy are improved.
In one embodiment, the process of detecting the device to be recovered corresponding to the appearance image as the target device includes the steps of:
and calling the object recognition model, inputting the appearance image into the object recognition model, and determining whether the corresponding equipment to be recovered is the target equipment or not according to the output result of the object recognition model.
In one embodiment, the process of determining whether the contour meets the contour condition of the target device includes the steps of:
and carrying out constraint calculation according to the vertex coordinates of the contour, and judging whether the contour meets the contour condition of the target equipment.
In one embodiment, the characteristic of the appearance image includes brightness, sharpness, contrast, saturation, or resolution.
In one embodiment, the process of determining whether to retain the appearance image as a result of the filtering according to the feature of the appearance image comprises the steps of:
when the brightness of the appearance image meets a preset brightness condition, judging whether the definition of the appearance image meets the preset definition condition or not;
and when the definition of the appearance image meets the preset definition condition, screening and retaining the appearance image.
In one embodiment, the process of determining whether the brightness of the appearance image satisfies the preset brightness condition includes the steps of:
and judging whether the brightness meets a preset brightness condition or not according to the gray value of the appearance image.
In one embodiment, the process of determining whether the definition of the appearance image satisfies the predetermined definition condition includes the steps of:
and judging whether the definition of the appearance image meets a preset definition condition or not through a preset image reflection classification model and a fuzzy detection model.
An appearance image screening device for recovery detection comprises:
the image acquisition module is used for acquiring an appearance image to be screened;
the equipment judgment module is used for detecting whether the equipment to be recovered corresponding to the appearance image is the target equipment;
the first condition module is used for acquiring the outline of the equipment to be recovered in the appearance image when the equipment to be recovered is the target equipment, and judging whether the outline meets the outline condition of the target equipment or not;
and the second condition module is used for determining whether the appearance image is used as a screening and retaining result according to the characteristics of the appearance image when the contour condition of the target equipment is met.
According to the appearance image screening device for recovery detection, after the appearance image to be screened is obtained, whether the equipment to be recovered corresponding to the appearance image is the target equipment or not is detected. And when the equipment to be recovered is the target equipment, acquiring the outline of the equipment to be recovered in the appearance image, and judging whether the outline meets the outline condition of the target equipment. And when the contour condition of the target equipment is met, determining whether the appearance image is used as a screening and retaining result according to the characteristics of the appearance image. Based on the method, before the further processing of the recovery detection of the external images, the external images are screened in advance, the department external images are removed to reduce the burden of subsequent processing, and the subsequent recovery detection efficiency and accuracy are improved.
A computer storage medium having computer instructions stored thereon, the computer instructions when executed by a processor implement the method for screening an appearance image for recycling detection according to any of the above embodiments.
After the appearance image to be screened is obtained, the computer storage medium detects whether the device to be recovered corresponding to the appearance image is the target device. And when the equipment to be recovered is the target equipment, acquiring the outline of the equipment to be recovered in the appearance image, and judging whether the outline meets the outline condition of the target equipment. And when the contour condition of the target equipment is met, determining whether the appearance image is used as a screening and retaining result according to the characteristics of the appearance image. Based on the method, before the further processing of the recovery detection of the external images, the external images are screened in advance, the department external images are removed to reduce the burden of subsequent processing, and the subsequent recovery detection efficiency and accuracy are improved.
A computer device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to implement the method for screening the appearance image of the recycling detection in any embodiment.
After the appearance image to be screened is obtained, the computer equipment detects whether the equipment to be recovered corresponding to the appearance image is the target equipment. And when the equipment to be recovered is the target equipment, acquiring the outline of the equipment to be recovered in the appearance image, and judging whether the outline meets the outline condition of the target equipment. And when the contour condition of the target equipment is met, determining whether the appearance image is used as a screening and retaining result according to the characteristics of the appearance image. Based on the method, before the further processing of the recovery detection of the external images, the external images are screened in advance, the department external images are removed to reduce the burden of subsequent processing, and the subsequent recovery detection efficiency and accuracy are improved.
Drawings
FIG. 1 is a flowchart illustrating an appearance image screening method for recycling inspection according to an embodiment;
FIG. 2 is a flowchart illustrating an appearance image screening method for recycling inspection according to another embodiment;
FIG. 3 is a block diagram of an embodiment of an apparatus for screening appearance images for recycling inspection;
FIG. 4 is a schematic diagram of an internal structure of a computer according to an embodiment.
Detailed Description
For better understanding of the objects, technical solutions and effects of the present invention, the present invention will be further explained with reference to the accompanying drawings and examples. Meanwhile, the following described examples are only for explaining the present invention, and are not intended to limit the present invention.
The embodiment of the invention provides an equipment recovery system.
The equipment recovery system of an embodiment comprises a detection server and an equipment recovery terminal.
In one embodiment, the device recycling system of an embodiment further includes a third party server or a payment server.
The user side of the device to be recovered before being recovered comprises terminal devices which can communicate with each server or other side terminal devices, and the terminal devices can be the device to be recovered or other intelligent devices.
The staff side includes terminal equipment capable of communicating with each server or other side terminal equipment.
In one embodiment, the terminal device performing communication includes a smart device such as a mobile phone or a computer. As a preferred embodiment, the terminal device performing the communication has a network communication capability.
The equipment to be recovered comprises intelligent equipment or non-intelligent equipment such as a mobile phone, a computer, a watch, a television, furniture and the like.
The user side may communicate with the detection server, the third party server or the payment server, and the staff side may communicate with the detection server or the payment server.
The payment server is in communication interaction with the user side or the staff side and is used for completing collection and payment of a user account or a staff account.
The third-party server is communicated with one side of the user, comprises a shopping platform, a recovery platform or a communication platform and the like, and can be used for capturing a recovery request of the equipment to be recovered, which is removed by the user.
The equipment recovery terminal establishes communication with the detection server, and the detection server executes detection analysis on detection data obtained by executing recovery detection on the equipment to be recovered.
In one embodiment, an apparatus recycling terminal of an embodiment includes:
the detection module is used for detecting the equipment to be recovered to obtain detection data;
the display module is used for displaying the detection result of the detection server;
the human-computer interaction module is used for collecting display feedback of the detection result;
and the communication module is respectively connected with the detection module, the display module and the human-computer interaction module and is used for communicating with each server.
The detection module is used for detecting the equipment to be recovered, obtaining detection data and sending the detection data to the detection server through the communication module.
In one embodiment, the detection data includes an appearance image or interactive data of the device to be recycled. The staff accessible operating means retrieves the terminal and shoots the outward appearance image of waiting to retrieve the equipment, generates video or picture and uploads to the detection server. And the communication connection can be established with the equipment to be recovered through the operation equipment recovery terminal to obtain the interactive data.
In one embodiment, the detection module comprises a camera unit or a data interaction unit.
The camera shooting unit is used for shooting the appearance of the equipment to be recovered. The data interaction unit is used for establishing communication connection with the equipment to be recovered and acquiring interaction data.
In one embodiment, the data interaction unit comprises a wireless interaction unit or a wired interaction unit.
The wireless interaction unit comprises a WIFI interaction unit, a 4G interaction unit, an infrared interaction unit or a ZIGBEE interaction unit and the like. The wired interaction unit comprises a USB interaction unit or a bus interaction unit.
As a preferred embodiment, the data interaction unit comprises a USB interaction unit. The device recovery terminal establishes USB connection with the device to be recovered through the integrated USB interactive unit when recovery detection is executed, and acquires USB interactive data required by the detection server for acquiring the detection result.
The display module is used for displaying the detection result, and comprises display, acousto-optic display or voice display and the like.
In one embodiment, the display module includes a display unit. Wherein, the display unit comprises a display screen or a nixie tube display and the like. And the detection result is displayed to a user or staff and the like through a display unit.
The human-computer interaction module is used for realizing human-computer interaction between related personnel and the equipment recovery terminal and can be used for collecting display feedback or adjusting detection result display.
As a better implementation mode, the human-computer interaction module and the display module are the same touch display screen.
The communication module has the capability of communicating with each server, and comprises a plurality of communication modes such as 4G communication, WLAN communication, local area network communication and the like.
In order to better explain the deployment characteristics of the device recycling terminal according to the embodiment of the present invention, the device recycling terminal development and deployment in an application are described in the following with a specific application example. In a specific application example, the equipment recovery terminal development can be performed by a common tablet computer, and the tablet computer has network communication and shooting capabilities and can be used for shooting equipment to be recovered and uploading a shot appearance image to a detection server. Meanwhile, the tablet personal computer is improved, and is provided with a USB external data line (which can simultaneously comprise USB data lines of various external interface types) through software integration or hardware integration, and is connected with equipment to be recovered in the recovery process. And through software integration, required interactive data is rapidly read or captured and uploaded to a detection server. Meanwhile, when a detection result sent by the detection server is received, display and display can be carried out through the display screen, or voice display can be carried out through the power amplifier. Meanwhile, relevant personnel such as users or workers can operate the tablet personal computer to realize acquisition and display feedback or adjustment and display of detection results.
The device recycling terminal of any embodiment comprises a detection module, a display module, a human-computer interaction module and a communication module. Based on this, on the basis of satisfying and accomplishing the recovery process with the detection server, will retrieve the detection and realize through the detection server in high in the clouds, reduce equipment and retrieve terminal's cost, stability and portability.
Based on this, the embodiment of the invention provides a device recovery method on the side of a detection server.
The apparatus recovery method of an embodiment includes the steps of:
acquiring a device recovery request;
according to the equipment recovery request, sending recovery information to one side of a worker; the recovery information is used for indicating a worker to obtain a recovery terminal of the equipment from the terminal address, and holding the recovery terminal of the equipment to perform recovery detection on the equipment to be recovered from the recovery address;
receiving detection data sent by a device recovery terminal executing recovery detection, executing detection on the detection data and feeding back a detection result to the device recovery terminal; the equipment recovery terminal is used for displaying a detection result;
and executing corresponding equipment recovery operation according to the display feedback of the detection result.
The device recycle request is used to trigger the start of device recycle. The equipment recovery request can be sent by a user side, a worker side and various server sides, and is acquired by the detection server. Or the detection server executes final acquisition through indirect transmission from a user side, a worker side or multiple sides of various servers and the like.
In one embodiment, the process of obtaining a device recycle request includes the steps of:
and receiving request information sent by a user of the equipment to be recovered, and determining the request as an equipment recovery request.
The request information sent by the user side comprises the request information directly sent to the detection server or indirectly sent to the detection server through other sides. The user communicates with the detection server by operating the intelligent device (including the device to be recovered) to send the request information.
In one embodiment, the process of obtaining a device recycle request includes the steps of:
and acquiring communication interaction data between the user of the equipment to be recovered and the third-party server as an equipment recovery request.
The initiation of the device recycle request is not limited to the direct communication between the user and the detection server. In the communication interaction data of the user and the third-party server, a device recovery request exists, and the communication interaction data serves as the recovery request.
To better explain the embodiment, the device to be recycled is taken as a mobile phone as an example. A user purchases a new mobile phone on an online shopping platform (a third-party server) to replace an original old mobile phone, determines that the old mobile phone can be recycled in communication interaction of the online shopping platform, and sends data to a detection server by the online shopping platform as an equipment recycling request based on the communication interaction data.
The detection server may be implemented by an application, such as an APP or various applets. Sales drainage or user drainage by an application, providing online services related to device recovery requests: purchase new equipment, exchange for old equipment, or equipment recycling. And the user directly operates the application program or the third-party server to communicate with the interface of the application program, so that the triggering of the equipment recycling request is realized.
In one embodiment, before the process of sending the recycling information to the staff side according to the device recycling request, the method further comprises the following steps:
and determining corresponding staff according to the communication interaction data.
The communication interaction data of the user and the third-party server correspond to logistics services such as new equipment purchase or distribution, and based on the logistics services, the interaction process of the user and the third-party server is determined according to the communication interaction data, and corresponding staff are determined. For example, if the interaction between the user and the third-party server is online shopping, the corresponding logistics distribution personnel for online shopping goods is determined as staff.
In one embodiment, the method for recycling plant of the further embodiment further comprises the steps of:
and sending delivery information to the staff according to the communication interaction data so as to instruct the staff to deliver the equipment to be delivered to the recycling address according to the delivery information.
The delivery information is used for realizing the purpose of communication interaction between the user and the third-party server. In this embodiment, the third-party server implements delivery information delivery by interacting with the detection server, so as to reduce communication cost. Meanwhile, the multi-side servers required to be communicated by the staff are reduced, so that the staff can complete corresponding work only by communicating with the detection server, the work efficiency is improved, and the error rate is reduced.
And after the equipment recovery request is determined to be initiated, sending recovery information to one side of a worker, and instructing the worker to execute a series of operations such as equipment recovery terminal acquisition, recovery address confirmation, recovery detection and the like.
In one embodiment, the reclamation information is used to determine a terminal address and a reclamation address. The intelligent equipment on one side of the staff can be used for displaying the terminal address and the recovery address corresponding to the recovery information to the staff.
As a preferred embodiment, the terminal address is associated with a recycle address.
The recycling address may be predetermined during the obtaining process of the device recycling request, for example, a receiving address of the user or address information to be filled in. The terminal address is associated with the recycling address, such as determining the terminal address with the minimum distance according to the recycling address.
In a specific application example, each device recycling terminal is placed in a corresponding store or warehouse, and the address of the store or warehouse is the terminal address. And the staff acquires the equipment recovery terminal from the terminal address with the minimum distance to the recovery address according to the recovery information, and the store or warehouse updates the inventory information of the equipment recovery terminal according to the acquisition information.
After the device to be recovered is recovered, the worker can return the device recovery terminal to the corresponding terminal address, or execute recovery detection to the next recovery address according to the recovery information.
In one embodiment, the recycling information is further used for instructing a worker to operate the device recycling terminal. The recovery information is sent to the intelligent equipment on one side of the worker, and operation display is provided for the worker. The operation display comprises character display, picture display or video display.
In one embodiment, the recycle information includes a boot code. The boot code is used for unlocking the corresponding equipment recovery terminal.
In one embodiment, after the device recycling terminal is acquired, the method further includes the steps of:
and the updating equipment recovers the acquired information corresponding to the terminal.
Taking the device recycling terminal attached to the store or the warehouse as an example, the relevant personnel can log in the detection server to check whether the device recycling terminal of each terminal address is acquired or used, and know the state of the device recycling terminal in time. For example, the detection server can attach corresponding small programs, APPs and the like, and the staff can check the number of idle equipment recovery terminals of a store or a warehouse, whether the equipment recovery terminals are damaged or not by logging in the corresponding small programs. After the staff acquire the equipment recovery terminal, updating the corresponding equipment recovery terminal to be acquired; and after the staff returns the equipment recovery terminal, updating the corresponding equipment recovery terminal to be not acquired.
The staff holds the equipment recovery terminal to the target address, collects the detection data of the equipment to be recovered through the equipment recovery terminal, and sends the detection data to the detection server to obtain the detection result.
And the equipment recovery terminal displays the detection result, including character display, picture display or video display and the like.
As a preferred embodiment, when the detected data is a picture of the device to be recovered, the detection result includes marking a flaw or damage trace on the picture, and prompting the user through marking. And when the detected data is interactive data of the equipment to be recovered and the equipment recovery terminal, displaying the data to the user in a text form through data exception marking or data processing results.
In one embodiment, the detection result comprises a recovery price besides the problem detection of the equipment to be recovered, and the detection and quotation process is performed by advancing to the target address through showing the recovery price for the user.
And after the detection result is displayed, executing corresponding equipment recovery operation according to the display feedback.
In one embodiment, the presentation feedback may be sent to the detection server from the user side, the staff side, or the servers side at the data communication level. On the man-machine interaction level, the display feedback can be made by an intelligent device on one side of a user operation user, a user operation device recovery terminal, an intelligent device on one side of a worker operation worker, a worker operation device recovery terminal and the like.
According to the display feedback, corresponding equipment recycling operation is carried out, such as recycling determination, non-recycling determination, recycling price adjustment and the like. In one embodiment, the detection server completes the device recovery operation through interaction with a third-party server or a payment server and the like. For example, in the process of replacing old equipment with new equipment, when the equipment to be recovered is determined to be recovered, the payment server completes corresponding operations of deducting money of the user, adjusting payment of the user, paying remuneration by staff and the like.
Based on this, in one embodiment, the process of executing the corresponding device recycling operation according to the display feedback of the detection result includes the following steps:
and indicating the staff to hold the equipment to be recovered to the target address according to the display feedback.
Target address information is directly or indirectly issued to one side of a worker through the detection server, and the worker holds the equipment to be recovered to the target address to complete recovery.
In one embodiment, the process of executing the corresponding device recycling operation according to the display feedback of the detection result includes the steps of:
and adjusting the recycling price of the equipment to be recycled according to the display feedback.
And the detection server and the payment server complete interaction through the display feedback, and the recovery price of the equipment to be recovered is adjusted.
In one embodiment, the process of executing the corresponding device recycling operation according to the display feedback of the detection result includes the steps of:
and generating logistics information according to the display feedback to instruct the staff to carry out logistics delivery on the equipment to be recovered according to the logistics information.
The detection server can directly issue the logistics information to one side of the worker, or a third-party server executes indirect issuing to indicate the worker to execute logistics delivery of the equipment to be recovered, and therefore the recovery efficiency of the equipment is further improved.
In one embodiment, after the process of performing the corresponding device recycling operation according to the display feedback of the detection result, the method further includes the steps of:
and sending a payment instruction to the payment server to instruct the payment server to complete the payment and receipt for the account of the target person.
After the recovery is completed, the detection server sends a payment instruction to the payment server to instruct the payment server to complete the collection and payment of the account of the target person.
In one embodiment, the target personnel comprises users, staff or third-party merchants and the like, so that timely settlement and intelligentization of payment received by all parties in the equipment recycling process are achieved.
In the device recovery method in any embodiment, after the device recovery request is obtained, recovery information is sent to the worker side, the worker is instructed to obtain the device recovery terminal from the terminal address, and the device recovery terminal is held to perform recovery detection on the device to be recovered from the recovery address. And receiving detection data sent by the equipment recovery terminal for executing recovery detection, executing detection on the detection data and feeding back a detection result to the equipment recovery terminal, displaying the detection result by the equipment recovery terminal, and executing corresponding equipment recovery operation according to the display feedback of the detection result. Based on this, through long-range testing result feedback, reduce the professional requirement to the staff to reduce the hardware capability requirement to equipment recovery terminal, reduce the recovery cost in all aspects. Meanwhile, the detection result is displayed and fed back to the recovery address in a preposed mode, so that disputes and communication cost in the recovery process are reduced.
Therefore, after the recovery detection is carried out on the equipment to be recovered by the equipment recovery terminal held by the staff to obtain the appearance image in the detection data, the appearance image screening method for the recovery detection is provided.
Fig. 1 is a flowchart illustrating an appearance image screening method for recovery inspection according to an embodiment, and as shown in fig. 1, the appearance image screening method for recovery inspection according to an embodiment includes steps S100 to S103:
s100, obtaining an appearance image to be screened;
s101, detecting whether the equipment to be recovered corresponding to the appearance image is target equipment or not;
s102, when the equipment to be recovered is the target equipment, acquiring the outline of the equipment to be recovered in the appearance image, and judging whether the outline meets the outline condition of the target equipment;
and S103, when the contour condition of the target equipment is met, determining whether the appearance image is used as a screening and retaining result according to the characteristics of the appearance image.
Wherein, the staff operation equipment retrieves the terminal and shoots the equipment of treating the recovery, obtains the outward appearance image. Each appearance image is acquired by a slave equipment recovery terminal.
In one embodiment, a camera of the device recycling terminal is adjusted to be in a person mode, the device to be recycled is focused and photographed, so that a foreground (the device to be recycled) and a background can be separated clearly, and a corresponding appearance image is obtained.
In step S101, it is determined whether the device to be recovered corresponding to the detected appearance image is a target device, where the target device includes a mobile phone, a tablet or a notebook computer, so as to determine whether the initial shooting of the appearance image is correct.
In one embodiment, fig. 2 is a flowchart of an appearance image screening method for recycling detection according to another embodiment, and as shown in fig. 2, the process of detecting the device to be recycled corresponding to the appearance image as the target device in step S101 includes step S200:
and S200, calling the object recognition model, inputting the appearance image into the object recognition model, and determining whether the corresponding equipment to be recovered is the target equipment or not according to the output result of the object recognition model.
Taking target equipment of equipment to be recovered as a mobile phone as an example, a pre-established object identification model is established for distinguishing whether a shot object is the mobile phone. In the process of establishing the object identification model, object identification is firstly carried out on a shot image sample. The object recognition model is a two-class model, wherein 1 is a mobile phone, and 0 is a non-mobile phone. In this embodiment, efficient-b3 is adopted as a base model for migration training, and a plurality of taken image samples are determined as a data set, wherein positive and negative samples are equal, and the ratio of the number of the taken image samples to the number of the positive and negative samples is 8: and 2, dividing a training set and a test set. Parameters such as training iteration times epochs, an optimizer, a loss function and the like are set to carry out training verification and identification accuracy. And then inputting the shot appearance image, if the output result of the object recognition model is 1, representing that the equipment to be recovered is the target equipment, and if the output result of the object recognition model is 0, representing that the equipment to be recovered is not the target equipment, thereby realizing the binary model.
In step S102, it is determined whether the contour in the appearance image is the contour type of the target device and whether the shooting is complete by determining whether the contour satisfies the contour condition of the target device.
In one embodiment, as shown in fig. 2, the process of determining whether the contour satisfies the contour condition of the target device in step S102 includes step S201:
s201, performing constraint calculation according to the vertex coordinates of the contour, and judging whether the contour meets the contour condition of the target equipment.
Taking the target device as a mobile phone as an example, by establishing a position comparison model, the swinging position of the mobile phone is positioned for determining the completeness of the shot device to be recovered. A virtual box position, i.e., coordinate (X, Y, W, H) constraint, is set. Filtering the shot picture for multiple times by adopting GaussianBlur and PyrMeanShiftFilter in opencv to remove some noise, then changing the picture into a gray image to carry out threshold binarization threshold and expansion dilate, and finally determining the outline of the mobile phone according to the outline area. Obtaining the outline information, namely obtaining the leftmost A1 (x) of four vertexes of the position of the mobile phone1,y1) Uppermost edge A2 (x)2,y2) The lowest edge A3 (x)3,y3) And rightmost A4 (x)4,y4) Satisfy the following formulaNamely determining that the contour meets the contour condition of the target equipment:
and after the contour meets the contour condition of the target equipment, determining whether the appearance image is screened and reserved according to the characteristics of the appearance image.
In such an embodiment, the characteristic of the appearance image includes brightness, sharpness, contrast, saturation, or resolution. And analyzing the characteristics to determine the image property of the appearance image and judge whether the image property meets the retention condition.
In one embodiment, as shown in fig. 2, the process of determining whether to use the appearance image as the result of the screening reservation in step S103 according to the feature of the appearance image includes steps S202 and S203:
s202, when the brightness of the appearance image meets a preset brightness condition, judging whether the definition of the appearance image meets the preset definition condition;
and S203, when the definition of the appearance image meets the preset definition condition, screening and reserving the appearance image.
And the brightness is effectively screened by judging the brightness and the definition before and after.
In one embodiment, the process of determining whether the brightness of the appearance image satisfies the preset brightness condition in step S202 includes the steps of:
and judging whether the brightness meets a preset brightness condition or not according to the gray value of the appearance image.
The luminance is characterized by a gray-scale average value, and the gray-scale average value is larger when the luminance is larger, and conversely, the luminance is lower, and the average value is lower. Establishing a brightness reference range for the intensity, namely determining the image sample which is well in line with the brightness reference, reading the gray image by using opencv, and then changing the dimension of the pixel matrix of the image sample by using resize of the opencv, so that the numpy average value is conveniently calculated. And then averaging the mean values of the multiple image samples again to obtain mean _ gray. Then, the mean _ gray is used for adding and subtracting a constant e 1 and e 2 to obtain a range as a constraint condition of the brightness gamma, and the formula of the constraint condition is as follows:
{mean_gray-∈1≤γ≤mean_gray+∈2
and judging that the brightness meets the preset brightness condition when the constraint condition is met.
In one embodiment, the process of determining whether the definition of the external image satisfies the predetermined definition condition in step S203 includes the steps of:
and judging whether the definition of the appearance image meets a preset definition condition or not through a preset image reflection classification model and a fuzzy detection model.
When the device has a mirror surface, the captured picture is blurred, and the loss detection is influenced. The method comprises the following steps of carrying out reflection detection and fuzzy detection on an appearance image, wherein the principles of the reflection detection and the fuzzy detection are related to the smoothness degree of RGB in the horizontal or vertical direction, and the reflection detection and the fuzzy detection belong to definition detection.
Establishing an image light reflection classification model: because the characteristics of image reflection and non-reflection are clearer, a neural network classification model is established for detecting the image reflection. In one embodiment, the efficient-b0 is adopted as a base model for migration training, and the model is also set as the object recognition model.
And establishing a fuzzy detection model, wherein the adopted principle is the field contrast of the image, namely, the gradient of the gray characteristic between adjacent pixels is used as a measuring standard. Firstly, establishing a constraint condition G _ mean for a fuzzy detection model, searching a plurality of clear image samples, reading a gray image by using opencv, and then calculating the pixel change condition of a horizontal sobel _ x and a vertical sobel _ y by using a sobel operator. The operators ksize is 3, ddepth is CV _ 16S. The change in two directions can reflect the gradient change of the pixel, and the formula is as follows:
horizontal direction:
in the vertical direction
The method comprises the following steps:
after the gradients G of the clear image samples are all calculated, the mean G mean is calculated. Since the larger the gradient G, the clearer the representation, a constraint range is obtained by subtracting a constant δ:
GI≥G_mean-δ
wherein G isIAnd representing the calculated gradient difference G of the picture, and judging that a preset definition condition is met if the detected picture meets the formula.
And (5) taking the screened and reserved appearance image as an object for subsequent matting and loss detection.
In the method for screening an appearance image for recovery detection according to any embodiment, after the appearance image to be screened is acquired, whether the device to be recovered corresponding to the appearance image is the target device is detected. And when the equipment to be recovered is the target equipment, acquiring the outline of the equipment to be recovered in the appearance image, and judging whether the outline meets the outline condition of the target equipment. And when the contour condition of the target equipment is met, determining whether the appearance image is used as a screening and retaining result according to the characteristics of the appearance image. Based on the method, before the further processing of the recovery detection of the external images, the external images are screened in advance, the department external images are removed to reduce the burden of subsequent processing, and the subsequent recovery detection efficiency and accuracy are improved.
The embodiment of the invention also provides an appearance image screening device for recovery detection.
Fig. 3 is a block diagram of an appearance image screening apparatus for recycling inspection according to an embodiment, and as shown in fig. 3, the appearance image screening apparatus for recycling inspection according to an embodiment includes:
an image obtaining module 100, configured to obtain an appearance image to be screened;
the device judgment module 101 is configured to detect whether a device to be recovered corresponding to the appearance image is a target device;
the first condition module 102 is configured to, when the device to be recovered is a target device, obtain an outline of the device to be recovered in the appearance image, and determine whether the outline meets an outline condition of the target device;
and a second condition module 103, configured to determine whether to use the appearance image as a result of the screening reservation according to the feature of the appearance image when the contour condition of the target device is satisfied.
According to the appearance image screening device for recovery detection, after the appearance image to be screened is obtained, whether the equipment to be recovered corresponding to the appearance image is the target equipment or not is detected. And when the equipment to be recovered is the target equipment, acquiring the outline of the equipment to be recovered in the appearance image, and judging whether the outline meets the outline condition of the target equipment. And when the contour condition of the target equipment is met, determining whether the appearance image is used as a screening and retaining result according to the characteristics of the appearance image. Based on the method, before the further processing of the recovery detection of the external images, the external images are screened in advance, the department external images are removed to reduce the burden of subsequent processing, and the subsequent recovery detection efficiency and accuracy are improved.
The embodiment of the invention also provides a computer storage medium, on which computer instructions are stored, and when the instructions are executed by a processor, the method for screening the appearance images of the recovery detection in any embodiment is realized.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, the computer program can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the methods of the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a RAM, a ROM, a magnetic or optical disk, or various other media that can store program code.
Corresponding to the computer storage medium, in an embodiment, there is also provided a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement any one of the above-mentioned methods for screening appearance images for recycling detection.
The computer device may be a terminal, and its internal structure diagram may be as shown in fig. 4. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method for screening appearance images for recycling detection. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
After the appearance image to be screened is obtained, the computer equipment detects whether the equipment to be recovered corresponding to the appearance image is the target equipment. And when the equipment to be recovered is the target equipment, acquiring the outline of the equipment to be recovered in the appearance image, and judging whether the outline meets the outline condition of the target equipment. And when the contour condition of the target equipment is met, determining whether the appearance image is used as a screening and retaining result according to the characteristics of the appearance image. Based on the method, before the further processing of the recovery detection of the external images, the external images are screened in advance, the department external images are removed to reduce the burden of subsequent processing, and the subsequent recovery detection efficiency and accuracy are improved.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only show some embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A method for screening appearance images for recovery detection is characterized by comprising the following steps:
acquiring an appearance image to be screened;
detecting whether the equipment to be recovered corresponding to the appearance image is target equipment or not;
when the equipment to be recovered is target equipment, acquiring the outline of the equipment to be recovered in the appearance image, and judging whether the outline meets the outline condition of the target equipment;
and when the contour condition of the target equipment is met, determining whether the appearance image is used as a screening and retaining result according to the characteristics of the appearance image.
2. The method for screening appearance images for recovery detection according to claim 1, wherein the process of detecting the equipment to be recovered corresponding to the appearance images as target equipment comprises the steps of:
and calling an object recognition model, inputting the appearance image into the object recognition model, and determining whether the corresponding equipment to be recovered is the target equipment or not according to an output result of the object recognition model.
3. The method for screening appearance images for recycling detection according to claim 1, wherein the process of determining whether the contour meets the contour condition of the target device comprises the steps of:
and performing constraint calculation according to the vertex coordinates of the contour, and judging whether the contour meets the contour condition of the target equipment.
4. The method of claim 1, wherein the characteristic of the appearance image comprises brightness, sharpness, contrast, saturation or resolution.
5. The method for screening an appearance image of a recycling inspection according to claim 4, wherein the process of determining whether to retain the appearance image as a result of screening according to the feature of the appearance image comprises the steps of:
when the brightness of the appearance image meets a preset brightness condition, judging whether the definition of the appearance image meets a preset definition condition;
and when the definition of the appearance image meets a preset definition condition, screening and retaining the appearance image.
6. The method as claimed in claim 5, wherein the step of determining whether the brightness of the appearance image satisfies a predetermined brightness condition comprises the steps of:
and judging whether the brightness meets a preset brightness condition or not according to the gray value of the appearance image.
7. The method for screening appearance images for recycling detection according to claim 5, wherein the process of determining whether the definition of the appearance image satisfies a predetermined definition condition comprises the steps of:
and judging whether the definition of the appearance image meets a preset definition condition or not through a preset image reflection classification model and a fuzzy detection model.
8. The utility model provides an outward appearance image sieving mechanism who retrieves detection which characterized in that includes:
the image acquisition module is used for acquiring an appearance image to be screened;
the equipment judgment module is used for detecting whether the equipment to be recovered corresponding to the appearance image is the target equipment;
the first condition module is used for acquiring the outline of the equipment to be recovered in the appearance image when the equipment to be recovered is the target equipment, and judging whether the outline meets the outline condition of the target equipment or not;
and the second condition module is used for determining whether the appearance image is used as a screening and retaining result according to the characteristics of the appearance image when the contour condition of the target equipment is met.
9. A computer storage medium having computer instructions stored thereon, wherein the computer instructions, when executed by a processor, implement the method for screening visual images for recovery testing according to any one of claims 1 to 7.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the method for screening visual images for recycling detection according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111491137.8A CN114170435A (en) | 2021-12-08 | 2021-12-08 | Method and device for screening appearance images for recovery detection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111491137.8A CN114170435A (en) | 2021-12-08 | 2021-12-08 | Method and device for screening appearance images for recovery detection |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114170435A true CN114170435A (en) | 2022-03-11 |
Family
ID=80484307
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111491137.8A Pending CN114170435A (en) | 2021-12-08 | 2021-12-08 | Method and device for screening appearance images for recovery detection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114170435A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115580772A (en) * | 2022-11-24 | 2023-01-06 | 中国市政工程西南设计研究总院有限公司 | Optical data intelligent statistical device for resource recovery |
CN116070895A (en) * | 2023-03-20 | 2023-05-05 | 天津奇立软件技术有限公司 | Recovery flow management method and system of electronic equipment |
US11989701B2 (en) | 2014-10-03 | 2024-05-21 | Ecoatm, Llc | System for electrically testing mobile devices at a consumer-operated kiosk, and associated devices and methods |
-
2021
- 2021-12-08 CN CN202111491137.8A patent/CN114170435A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11989701B2 (en) | 2014-10-03 | 2024-05-21 | Ecoatm, Llc | System for electrically testing mobile devices at a consumer-operated kiosk, and associated devices and methods |
CN115580772A (en) * | 2022-11-24 | 2023-01-06 | 中国市政工程西南设计研究总院有限公司 | Optical data intelligent statistical device for resource recovery |
CN116070895A (en) * | 2023-03-20 | 2023-05-05 | 天津奇立软件技术有限公司 | Recovery flow management method and system of electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114170435A (en) | Method and device for screening appearance images for recovery detection | |
US20200210786A1 (en) | Computer-executed method and apparatus for assessing vehicle damage | |
CN111259889A (en) | Image text recognition method and device, computer equipment and computer storage medium | |
CN107679475B (en) | Store monitoring and evaluating method and device and storage medium | |
TW202009681A (en) | Sample labeling method and device, and damage category identification method and device | |
CN109840520A (en) | A kind of invoice key message recognition methods and system | |
CN106022379A (en) | Method and device for detecting depreciation degree of screen | |
CN113298078A (en) | Equipment screen fragmentation detection model training method and equipment screen fragmentation detection method | |
CN111738252B (en) | Text line detection method, device and computer system in image | |
CN111144372A (en) | Vehicle detection method, device, computer equipment and storage medium | |
CN117392042A (en) | Defect detection method, defect detection apparatus, and storage medium | |
CN109948521A (en) | Image correcting error method and device, equipment and storage medium | |
CN114550051A (en) | Vehicle loss detection method and device, computer equipment and storage medium | |
CN113393424A (en) | Defect detection system, method and device based on artificial intelligence image processing | |
CN113034530A (en) | Mobile phone placement detection method and device | |
CN112651315A (en) | Information extraction method and device of line graph, computer equipment and storage medium | |
CN115063473A (en) | Object height detection method and device, computer equipment and storage medium | |
CN114219105A (en) | Equipment recovery method, terminal and system | |
CN113538291A (en) | Card image tilt correction method and device, computer equipment and storage medium | |
CN113160494A (en) | Device and system for self-service lease of equipment | |
CN112532884B (en) | Identification method and device and electronic equipment | |
CN114283416A (en) | Processing method and device for vehicle insurance claim settlement pictures | |
CN114155260A (en) | Appearance image matting model training method and matting method for recycling detection | |
CN114170419A (en) | Equipment region image extraction method and device under natural scene | |
CN114186702A (en) | Method and device for processing appearance image of recovery detection |
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 |