Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiment of the present invention, there is provided a decontamination verification method, optionally, as an optional implementation, as shown in fig. 1, the decontamination verification method includes:
s102, acquiring an image set obtained by image acquisition of a target vehicle after decontamination, wherein the target vehicle is about to enter a cultivation area to transport materials;
s104, acquiring an identification result obtained by carrying out image identification on an image area corresponding to a target cleaning position of a target vehicle in the image set;
and S106, generating a decontamination verification record matched with the target vehicle according to the identification result, wherein the decontamination verification record carries a verification watermark.
Alternatively, in the present embodiment, the above-described decontamination verification method may be applied, but not limited to, to a verification process after decontaminating a vehicle or the like that is to be transported into a farming area. That is, after the image collection of the target vehicle after decontamination is acquired, the image collection is subjected to image recognition to generate a decontamination verification record which is matched with the target vehicle and carries a verification watermark, so that the target vehicle which is about to enter a cultivation area after decontamination is verified by using an image recognition mode, and a detector does not manually verify the target vehicle, so that secondary pollution to the vehicle after decontamination is avoided, the accuracy of a decontamination verification result is ensured, and the problem of poor accuracy of decontamination verification in the related art is solved.
Optionally, in this embodiment, the image set may include, but is not limited to, a first image subset, and a second image subset, where the first image subset is an image acquired in a first decontamination link, and the second image subset is an image acquired in a second decontamination link. The first decontamination is used for cleaning dirt at key positions of the target vehicle, and the second decontamination is used for covering the body of the target vehicle with cleaning liquid (such as white disinfectant) with target color. The above is an example, and this is not limited in any way in the present embodiment.
Alternatively, in the present embodiment, the above-described image collection may be, but is not limited to, an image obtained by image acquisition of the target vehicle at a plurality of different angles. For example, the image collection may include, but is not limited to: front side illumination of the target vehicle, back side illumination of the target vehicle, left back side illumination of the target vehicle, right back side illumination of the target vehicle, front side illumination of the target vehicle, right side illumination of the target vehicle. For example, six image acquisition prompt messages shown in fig. 2 are displayed in the application client for decontamination verification, and images corresponding to the target vehicle are acquired according to the image acquisition prompt messages, so as to obtain an image set of the target vehicle.
The image set may be, but not limited to, an image acquired by the application client in real time, or may be, but not limited to, an image acquired in advance and stored locally. When the image is acquired through the application client, the acquisition frame prompting information can be displayed in an image acquisition window of the image acquisition device, but is not limited to, and the acquisition frame prompting information is used for prompting the display position of the target vehicle in the image acquisition window. For example, when image acquisition is performed, a viewfinder as shown by a black dotted line in fig. 3 may be displayed in the image acquisition window to prompt adjustment of the angle of the image acquisition device so that the target vehicle to be acquired is displayed entirely within the black dotted line frame.
Further, in the present embodiment, at the time of image acquisition of the target vehicle, the following information may be included in the acquired image, but is not limited to: identity information (such as license plate number) of the target vehicle, position information of the target vehicle for finishing decontamination, and time information of finishing decontamination of the target vehicle. The location information may be, but is not limited to, geographic location information detected in real time according to a global positioning system (Global Positioning System, abbreviated as GPS).
Optionally, in the present embodiment, after generating the decontamination verification record according to the identification result, it may further include, but is not limited to: the hint information is generated from the decontamination verification record. For example, in the case where the decontamination verification record indicates that decontamination of the target vehicle has not reached the standard, the target vehicle is prompted to be re-cleaned and disinfected.
The following examples are specifically described:
it is assumed that a vehicle cleaning and disinfecting application client (hereinafter referred to as a vehicle decontamination APP) is installed in a mobile terminal of a driver of a target vehicle, and after registration and registration, a set of images of the target vehicle after decontamination is uploaded through the vehicle decontamination APP. For example, the target vehicle after decontamination is photographed from six different angles through the image acquisition device in the terminal equipment where the vehicle decontamination APP is located. For example, images shot at corresponding angles are respectively acquired according to the image acquisition prompt information shown in fig. 2, wherein during image shooting, acquisition frame prompt information (such as a view-finder frame shown by a black dotted line in fig. 3) can be displayed in an image acquisition window, so that a target vehicle is displayed in the view-finder frame, and the image acquisition angle is fixed, so that the image recognition efficiency is improved.
Further, the image collection acquired by the mobile terminal is sent to a background server, so that the background server adopts an image analysis algorithm to carry out image recognition on the image collection, and a recognition result is obtained. The mobile terminal obtains the identification result returned by the background server, and generates decontamination verification records (such as decontamination record certificates of electronic version) matched with the target vehicle according to the identification result. Wherein the above-mentioned decontamination verification record may include, but is not limited to, carrying a verification watermark generated in dependence upon the decontamination time and the decontamination place, which verification watermark is not allowed to be modified by any terminal.
According to the embodiment of the application, after the image collection of the target vehicle after decontamination is acquired, the decontamination verification record which is matched with the target vehicle and carries the verification watermark is generated by carrying out image recognition on the image collection, so that the target vehicle which is about to enter the cultivation area after decontamination is verified to be clean by using an image recognition mode, and manual verification by a detector is not needed, secondary pollution to the vehicle after decontamination is finished is avoided, the accuracy of the decontamination verification result is ensured, and the problem of poor accuracy of decontamination verification in the related art is further solved.
As an alternative, acquiring the image set obtained by performing image acquisition on the target vehicle after decontamination includes:
s1, displaying at least one image acquisition prompt message, wherein the image acquisition prompt message is used for prompting acquisition of an image of a target vehicle acquired at a target angle;
s2, acquiring an image set according to at least one image acquisition prompt message.
In the present embodiment, when the image set of the target vehicle is verified, the image acquired at the specified angle may be verified, but is not limited to the verification. Thus, before acquiring the image set of the target vehicle, at least one image acquisition prompt message may be displayed, but is not limited to, to prompt a target angle corresponding to the image to be acquired currently. For example, as shown in fig. 2, assuming that the current image acquisition prompt information is a left rear view, the prompt acquires a corresponding image on the left rear side of the target vehicle. And so on to obtain an image set composed of a plurality of images. Six images corresponding to the target vehicle may be acquired as shown in fig. 2 to construct an image set.
Optionally, in this embodiment, before acquiring the image set obtained by image acquisition of the target vehicle that completes decontamination, the method further includes: and displaying acquisition frame prompt information in an image acquisition window of the image acquisition device, wherein the acquisition frame prompt information is used for prompting the display position of the target vehicle in the image acquisition window during image acquisition.
For example, a view-finding frame shown by a black dotted line in fig. 3 may be displayed in the image acquisition window to prompt that the angle of the image acquisition device is adjusted during image acquisition, and the target vehicle is displayed in the view-finding frame, so that the subsequent image recognition operation is facilitated, and the image recognition efficiency is improved.
According to the embodiment of the application, when the image acquisition is carried out on the target vehicle after decontamination, the image acquisition prompt information can be displayed so as to prompt the acquisition of the images for verification acquired under different angles, thereby ensuring the comprehensiveness and the accuracy of the verification result. In addition, the acquisition frame prompt information is displayed during image acquisition to prompt the display position of the target vehicle in the image acquisition window, so that rapid image recognition can be conveniently carried out subsequently, and the aim of improving the image recognition efficiency is fulfilled.
As an alternative, the obtaining the recognition result obtained by performing image recognition on the image area corresponding to the target cleaning position of the target vehicle in the image set includes:
s1, acquiring a first cleanliness corresponding to a target cleaning position in a first image subset acquired by a first decontamination link, wherein the image set comprises the first image subset, and the identification result comprises the first cleanliness;
S2, under the condition that the first cleanliness indicates that a first threshold value is reached, acquiring second cleanliness corresponding to a target cleaning position in a second image subset acquired by a second decontamination link, wherein the image set comprises the second image subset, and the identification result comprises the second cleanliness;
s3, determining that the target vehicle passes decontamination verification under the condition that the second cleanliness indication reaches a second threshold value;
and S4, prompting to re-decontaminate the target vehicle when the first cleanliness does not reach the first threshold value or when the first cleanliness reaches the first threshold value but the second cleanliness does not reach the second threshold value.
Optionally, in this embodiment, the first decontamination procedure is to decontaminate the dirt at the critical position of the target vehicle, and the second decontamination procedure is to decontaminate the vehicle body of the target vehicle using a cleaning liquid (e.g., white disinfectant) of the target color.
Optionally, in this embodiment, obtaining the first cleanliness corresponding to the target cleaning position in the first subset of images acquired by the first decontamination link includes: under the condition that a key image area corresponding to the key position of the target vehicle is identified from the first image subset and the target object is included, determining that the first cleanliness of the target vehicle does not reach a first threshold value, wherein the target object does not obtain an entering permission for entering the cultivation area; in the event that the target object is not identified in the key image region, it is determined that the first cleanliness of the target vehicle reaches a first threshold.
It should be noted that the target object may be, but is not limited to, an object that is sensitive to the cultivation area, such as dirt. The target object is not allowed to be brought into the breeding area.
Optionally, in this embodiment, obtaining the second cleanliness corresponding to the target cleaning position in the second subset of images acquired by the second decontamination link includes: determining that the second cleanliness of the target vehicle does not reach a second threshold in the event that it is identified from the second subset of images that the target cleaning location of the target vehicle is not covered by the cleaning liquid of the target color; in the case that it is recognized from the second subset of images that the target cleaning position of the target vehicle has been covered by the cleaning liquid of the target color, it is determined that the second cleanliness of the target vehicle reaches a second threshold.
The following examples are specifically described: still assume that the image set of the target vehicle after the completion of decontamination is acquired through the vehicle decontamination APP.
In a first decontamination procedure (e.g., a cleaning procedure), the cleaned target vehicle may be photographed from six different angles to obtain a first subset of images. And then carrying out image recognition on a key image area corresponding to the key position of the target vehicle in the first image subset, and if the condition that the target object (such as dirt) exists in the key position of the target vehicle is recognized, determining that the cleaning of the target vehicle does not meet the requirement, and prompting the re-cleaning of the target vehicle. If the target object (such as dirt) is not identified, determining that the cleaning of the target vehicle meets the requirement, and further entering a second decontamination link.
In a second decontamination procedure (e.g., a disinfection procedure), the disinfected target vehicle may still be photographed from the six different angles to obtain a second subset of images. And then carrying out image recognition on all the vehicle bodies of the target vehicles in the second image subset, and if the vehicle bodies of the target vehicles are not covered by the white disinfectant, determining that the disinfection of the target vehicles does not meet the requirement, and prompting to re-disinfect the target vehicles. If the body of the target vehicle is identified as being covered with the white disinfectant, it is determined that the disinfection of the target vehicle has reached the requirement, and it is determined that the disinfection of the target vehicle has reached the requirement.
According to the embodiment provided by the application, whether the target vehicle reaches the decontamination condition of entering the cultivation area or not is determined by carrying out image recognition on the first image subset collected by the cleaning link and the second image collection collected by the disinfection link, so that decontamination verification of the target vehicle can be automatically completed without manual participation, secondary pollution is avoided, and the effect of ensuring the accuracy of decontamination verification is achieved.
As an alternative, generating the decontamination verification record matched with the target vehicle according to the identification result includes:
S1, acquiring decontamination time and decontamination place for completing decontamination of a target vehicle;
s2, generating a verification watermark by using the decontamination time and the decontamination place;
and S3, adding the verification watermark into the decontamination verification record, wherein the verification watermark is not configured with modification rights.
It should be noted that, in the present embodiment, the verification watermark in the decontamination verification record generated for the target vehicle does not allow any mobile terminal to be modified by the application client. In other words, the verification watermark is not configured with modification rights, and once generated, modification adjustment cannot be performed, so that objective authenticity of the decontamination verification record is ensured.
Further, in the present embodiment, the above-described decontamination verification record may further include, but is not limited to, identity information of the target vehicle or identity information of a driver driving the target vehicle, such as a license plate number of the target vehicle, driver's license information, and the like. Therefore, the vehicle is prevented from being dropped, and the uniqueness of the target vehicle is ensured.
According to the embodiment provided by the application, the objective authenticity of the decontamination process of the target vehicle is verified by adding the verification watermark in the decontamination verification record, so that the problems of artificial counterfeiting and the like are avoided.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present application.
According to another aspect of the embodiment of the present invention, there is also provided a decontamination verification device for implementing the decontamination verification method. As shown in fig. 4, the apparatus includes:
1) A first acquiring unit 402, configured to acquire an image set obtained by performing image acquisition on a target vehicle that completes decontamination, where the target vehicle is about to enter a cultivation area to transport materials;
2) A second obtaining unit 404, configured to obtain a recognition result obtained by performing image recognition on an image area corresponding to a target cleaning position of a target vehicle in the image set;
3) And the generating unit 406 is configured to generate a decontamination verification record matched with the target vehicle according to the identification result, where the decontamination verification record carries the verification watermark.
Alternatively, in the present embodiment, the above-described decontamination verification device may be applied to, but not limited to, a verification process after decontaminating a vehicle or the like that is to be transported into a farming area. That is, after the image collection of the target vehicle after decontamination is acquired, the image collection is subjected to image recognition to generate a decontamination verification record which is matched with the target vehicle and carries a verification watermark, so that the target vehicle which is about to enter a cultivation area after decontamination is verified by using an image recognition mode, and a detector does not manually verify the target vehicle, so that secondary pollution to the vehicle after decontamination is avoided, the accuracy of a decontamination verification result is ensured, and the problem of poor accuracy of decontamination verification in the related art is solved.
The embodiment in this embodiment may be, but not limited to, the embodiment of the method described above, and this embodiment is not limited in any way.
As an alternative, the first acquisition unit 402 includes:
1) The display module is used for displaying at least one image acquisition prompt message, wherein the image acquisition prompt message is used for prompting acquisition of an image of a target vehicle acquired at a target angle;
2) The first acquisition module is used for acquiring the image set according to at least one image acquisition prompt message.
The embodiment in this embodiment may be, but not limited to, the embodiment of the method described above, and this embodiment is not limited in any way.
As an alternative, the method further comprises:
1) The display unit is used for displaying acquisition frame prompt information in an image acquisition window of the image acquisition device before acquiring an image set obtained by carrying out image acquisition on the target vehicle after decontamination, wherein the acquisition frame prompt information is used for prompting the display position of the target vehicle in the image acquisition window during image acquisition.
The embodiment in this embodiment may be, but not limited to, the embodiment of the method described above, and this embodiment is not limited in any way.
As an alternative, the second acquisition unit 404 includes:
1) The second acquisition module is used for acquiring a first cleanliness corresponding to a target cleaning position in a first image subset acquired by a first decontamination link, wherein the image set comprises the first image subset, and the identification result comprises the first cleanliness;
2) The third acquisition module is used for acquiring a second cleanliness corresponding to a target cleaning position in a second image subset acquired by a second decontamination link under the condition that the first cleanliness indicates that the first threshold value is reached, wherein the image set comprises the second image subset, and the identification result comprises the second cleanliness;
3) The first determining module is used for determining that the target vehicle passes decontamination verification under the condition that the second cleanliness indication reaches a second threshold value;
4) The prompting module is used for prompting the target vehicle to be re-decontaminated when the first cleanliness does not reach the first threshold value or when the first cleanliness reaches the first threshold value but the second cleanliness does not reach the second threshold value.
The embodiment in this embodiment may be, but not limited to, the embodiment of the method described above, and this embodiment is not limited in any way.
As an alternative, the second obtaining module includes:
1) A first determining submodule, configured to determine that, in a case where it is identified from the first subset of images that a target object is included in a key image area corresponding to a key position of the target vehicle, a first cleanliness of the target vehicle does not reach a first threshold, where the target object does not obtain an entry permission to enter the cultivation area;
2) And the second determining submodule is used for determining that the first cleanliness of the target vehicle reaches a first threshold value under the condition that the target object is not identified in the key image area.
The embodiment in this embodiment may be, but not limited to, the embodiment of the method described above, and this embodiment is not limited in any way.
As an alternative, the third obtaining module includes:
1) A third determination sub-module for determining that the second cleanliness of the target vehicle has not reached a second threshold if it is identified from the second subset of images that the target cleaning position of the target vehicle is not covered by the cleaning liquid of the target color;
2) A fourth determination sub-module for determining that the second cleanliness of the target vehicle reaches a second threshold if it is recognized from the second subset of images that the target cleaning position of the target vehicle has been covered by the cleaning liquid of the target color.
The embodiment in this embodiment may be, but not limited to, the embodiment of the method described above, and this embodiment is not limited in any way.
As an alternative, the generating unit 406 includes:
1) The fourth acquisition module is used for acquiring decontamination time and decontamination place of the target vehicle for completing decontamination;
2) The generation module is used for generating a verification watermark by using the decontamination time and the decontamination place;
3) And the adding module is used for adding the verification watermark into the decontamination verification record, wherein the verification watermark is not configured with the modification permission.
The embodiment in this embodiment may be, but not limited to, the embodiment of the method described above, and this embodiment is not limited in any way.
According to a further aspect of embodiments of the present invention there is also provided an electronic device for implementing the above-described decontamination verification method, the electronic device comprising a memory and a processor, the memory having stored therein a computer program, the processor being arranged to perform the steps of any of the method embodiments described above by means of the computer program.
Alternatively, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of the computer network.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
S1, acquiring an image set obtained by image acquisition of a target vehicle after decontamination, wherein the target vehicle is about to enter a cultivation area to transport materials;
s2, acquiring an identification result obtained by carrying out image identification on an image area corresponding to a target cleaning position of a target vehicle in the image set;
and S3, generating a decontamination verification record matched with the target vehicle according to the identification result, wherein the decontamination verification record carries a verification watermark.
Alternatively, as will be appreciated by those skilled in the art, the electronic device may also be a smart phone (such as an Android phone, iOS phone, etc.), a tablet computer, a palmtop computer, a mobile internet device (Mobile Internet Devices, MID), a PAD, etc.
The memory may be used to store software programs and modules, such as program instructions/modules corresponding to the decontamination verification method and apparatus in the embodiments of the present invention, and the processor executes the software programs and modules stored in the memory, thereby executing various functional applications and data processing, that is, implementing the decontamination verification method described above. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory remotely located with respect to the processor, the remote memory being connectable to the terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory may be used for storing, but not limited to, information such as an image set obtained by performing image acquisition on the target vehicle after decontamination, and decontamination verification records.
Optionally, the above-mentioned transmission device is used for receiving or transmitting data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission means comprises a network adapter (Network Interface Controller, NIC) which is connectable to other network devices via a network cable to a router for communication with the internet or a local area network. In one example, the transmission device is a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly.
In addition, the electronic device further includes: the display is used for displaying an image set obtained by image acquisition of the target vehicle after decontamination and decontamination verification records; and a connection bus for connecting the respective module components in the electronic device.
According to a further aspect of embodiments of the present invention, there is also provided a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
Alternatively, in the present embodiment, the above-described computer-readable storage medium may be configured to store a computer program for executing the steps of:
S1, acquiring an image set obtained by image acquisition of a target vehicle after decontamination, wherein the target vehicle is about to enter a cultivation area to transport materials;
s2, acquiring an identification result obtained by carrying out image identification on an image area corresponding to a target cleaning position of a target vehicle in the image set;
and S3, generating a decontamination verification record matched with the target vehicle according to the identification result, wherein the decontamination verification record carries a verification watermark.
Alternatively, in this embodiment, it will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by a program for instructing a terminal device to execute the steps, where the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The integrated units in the above embodiments may be stored in the above-described computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present invention may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing one or more computer devices (which may be personal computers, servers or network devices, etc.) to perform all or part of the steps of the method of the various embodiments of the present invention.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In several embodiments provided by the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and are merely a logical functional division, and there may be other manners of dividing the apparatus in actual implementation, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.