CN112446377A - Data processing method, data processing device and electronic equipment - Google Patents

Data processing method, data processing device and electronic equipment Download PDF

Info

Publication number
CN112446377A
CN112446377A CN202011294288.XA CN202011294288A CN112446377A CN 112446377 A CN112446377 A CN 112446377A CN 202011294288 A CN202011294288 A CN 202011294288A CN 112446377 A CN112446377 A CN 112446377A
Authority
CN
China
Prior art keywords
identified
storage space
image
images
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011294288.XA
Other languages
Chinese (zh)
Inventor
刘新
刘俊落
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN202011294288.XA priority Critical patent/CN112446377A/en
Publication of CN112446377A publication Critical patent/CN112446377A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/62Text, e.g. of license plates, overlay texts or captions on TV images
    • G06V20/63Scene text, e.g. street names
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Software Systems (AREA)
  • Traffic Control Systems (AREA)

Abstract

The application discloses a data processing method, a data processing device, an electronic device and a computer readable storage medium. Wherein, the method comprises the following steps: collecting at least one image to be identified, wherein each image to be identified comprises at least one driving license to be identified; storing the image to be identified in a first storage space preset by the electronic equipment; and sequentially uploading all the images to be identified stored in the first storage space to a preset server so as to instruct the server to sequentially perform text identification on the received images to be identified and obtain the vehicle information indicated by the corresponding running license to be identified. Through this application scheme, can be quick acquire the vehicle information of many vehicles in batches, promote the efficiency of typeeing of vehicle information to a certain extent.

Description

Data processing method, data processing device and electronic equipment
Technical Field
The present application belongs to the field of information technology, and in particular, relates to a data processing method, a data processing apparatus, an electronic device, and a computer-readable storage medium.
Background
With the progress of society, shared automobiles are more and more popular. Before sharing the vehicles, the vehicle information of the shared vehicles needs to be manually input into the rental platform, and the vehicle information comprises license plate numbers, frame numbers, engine numbers, owners, use properties, vehicle identification codes, vehicle types and the like. When the number of vehicles rented from the platform is large, manual entry of vehicle information is time-consuming.
Disclosure of Invention
The application provides a data processing method, a data processing device, an electronic device and a computer readable storage medium, which can improve the vehicle information input efficiency.
In a first aspect, the present application provides a data processing method applied to an electronic device, including:
collecting at least one image to be identified, wherein each image to be identified comprises at least one driving license to be identified;
storing the image to be identified in a first storage space preset by the electronic equipment;
and sequentially uploading all the images to be identified stored in the first storage space to a preset server so as to instruct the server to sequentially perform text identification on the received images to be identified and obtain the vehicle information indicated by the corresponding running license to be identified.
Optionally, before the storing the image to be recognized in the first storage space preset by the electronic device, the data processing method further includes:
aiming at each acquired image to be identified, detecting whether the image to be identified has a defect, wherein the defect existence means that: the driving license to be identified contained in the image to be identified is incomplete;
correspondingly, the storing the image to be recognized in a first storage space preset by the electronic device includes:
and storing the image to be identified without the defect in the first storage space.
Optionally, after the storing the image to be recognized in the first storage space preset by the electronic device, the data processing method further includes:
triggering a timer to start timing from zero;
correspondingly, the uploading all the images to be identified stored in the first storage space to a preset server in sequence comprises:
if the new images to be identified are not stored in the first storage space before the timing time of the timer reaches a preset time threshold, sequentially uploading all the images to be identified stored in the first storage space to the server.
Optionally, the sequentially uploading all the images to be recognized stored in the first storage space to a preset server includes:
counting the number of the images to be identified stored in the first storage space;
and if the number reaches a preset number threshold value, sequentially uploading all the images to be identified stored in the first storage space to the server.
Optionally, the sequentially uploading all the images to be recognized stored in the first storage space to a preset server includes:
and if an uploading instruction input based on the appointed key of the electronic equipment is received, sequentially uploading all the images to be identified stored in the first storage space to the server.
Optionally, after the sequentially uploading all the images to be recognized stored in the first storage space to a preset server, the data processing method further includes:
if an identification error message fed back by the server is received, moving the image to be identified, which is pointed by the identification error message, to a preset second storage space;
and outputting a reminding message, wherein the reminding message is used for reminding a user to consult the second storage space.
Optionally, after the moving the image to be recognized to which the recognition error message is directed to a preset second storage space, the data processing method further includes:
and emptying the first storage space.
In a second aspect, the present application provides a data processing apparatus, applied to an electronic device, including:
the system comprises an acquisition unit, a recognition unit and a processing unit, wherein the acquisition unit is used for acquiring at least one image to be recognized, and each image to be recognized comprises at least one driving license to be recognized;
the storage unit is used for storing the image to be identified in a first storage space preset by the electronic equipment;
and the uploading unit is used for sequentially uploading all the images to be identified stored in the first storage space to a preset server so as to instruct the server to sequentially perform text identification on the received images to be identified and obtain the vehicle information indicated by the corresponding running license to be identified.
Optionally, the data processing apparatus further includes:
and the defect detection unit is used for detecting whether the image to be identified has defects or not aiming at each acquired image to be identified, wherein the defect existence means that: the driving license to be identified contained in the image to be identified is incomplete;
accordingly, the storage unit is specifically configured to store the to-be-identified image without a defect in the first storage space.
Optionally, the data processing apparatus further includes:
the timing unit is used for triggering a timer to start timing from zero after the storage unit stores the image to be identified in a first storage space preset by the electronic equipment;
correspondingly, the uploading unit is specifically configured to, if no new image to be identified is stored in the first storage space before the counted time of the timer reaches a preset time threshold, sequentially upload all the images to be identified stored in the first storage space to the server.
Optionally, the uploading unit is specifically configured to count the number of the images to be identified that have been stored in the first storage space, and if the number has reached a preset number threshold, sequentially upload all the images to be identified that are stored in the first storage space to the server.
Optionally, the uploading unit is specifically configured to, if an upload instruction input based on a designated key of the electronic device is received, sequentially upload all the images to be recognized stored in the first storage space to the server.
Optionally, the data processing apparatus further includes:
a moving unit, configured to, after the uploading unit sequentially uploads all the images to be identified stored in the first storage space to a preset server, if an identification error message fed back by the server is received, move the image to be identified pointed by the identification error message to a preset second storage space;
and the reminding unit is used for outputting a reminding message, and the reminding message is used for reminding a user to look up the second storage space.
Optionally, the data processing apparatus further includes:
an emptying unit, configured to empty the first storage space after the image to be recognized, to which the recognition error message is directed, is moved to a preset second storage space.
In a third aspect, the present application provides an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to the first aspect when executing the computer program.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of the first aspect.
In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by one or more processors, performs the steps of the method of the first aspect as described above.
Compared with the prior art, the application has the beneficial effects that: the method comprises the steps of firstly, collecting at least one image to be identified, wherein each image to be identified at least comprises one driving license to be identified, then storing the image to be identified in a first storage space preset by the electronic equipment, and sequentially uploading all the images to be identified stored in the first storage space to a preset server so as to instruct the server to sequentially perform text identification on the received images to be identified, and obtaining vehicle information indicated by the corresponding driving licenses to be identified. When the vehicle information of a plurality of vehicles is processed, the images of the respective driving licenses of the vehicles are obtained only by shooting, then the images are uploaded to the server in batches, the images are sequentially subjected to text recognition by the server, the vehicle information expressed by the driving licenses contained in each image can be recognized, the link of manual input is omitted, and the input efficiency of the vehicle information can be improved to a certain extent. It is understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flow chart of an implementation of a data processing method provided in an embodiment of the present application;
fig. 2 is a block diagram of a data processing apparatus according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
When the car owner shares the car with other people (i.e. rents the car) through the rental platform, the car owner needs to inform the rental platform of the car information of the car, including a license plate number, a frame number, an engine number, all people, the use property, a car identification code, a car type and the like. Currently, such information often requires manual entry by the owner of the vehicle or the personnel at the rental platform. When more rented vehicles exist in the renting platform, the vehicle information needs to be manually and repeatedly input for many times, the input efficiency is low, and the condition of vehicle information input error is easy to occur. Based on this, the embodiment of the application provides a data processing method, a data processing device, an electronic device and a computer-readable storage medium, which can improve the recording efficiency of vehicle information to a certain extent. In order to explain the technical solutions proposed in the embodiments of the present application, the following description will be given by way of specific examples.
The following is a description of the data processing method proposed in the embodiment of the present application. Referring to fig. 1, the data processing method includes:
step 101, collecting at least one image to be identified, wherein each image to be identified comprises at least one driving license to be identified;
in the embodiment of the application, one or more images (marked as images to be identified) can be acquired through the electronic equipment used by the rental platform; moreover, each image to be identified needs to include at least one driving license (written as the driving license to be identified), specifically, a main page and a sub-page of the driving license to be identified. It should be noted that, in order to ensure the image quality, the number of the driving licenses contained in one image to be identified is not excessive; the number is preferably 1, so that the subsequent identification operation of the image to be identified is facilitated, and the accuracy of the identification operation is improved. Illustratively, a staff member, which may be a leasing platform, directly photographs a running license of each vehicle to be leased by using an electronic device, so that the electronic device can obtain at least one image to be identified; or, the owner may use his own user terminal (e.g., smartphone) to photograph the license of the vehicle to be rented, and then send the photographed image to the electronic device used by the rental platform, so that the electronic device can obtain at least one image to be identified; the acquisition mode used when the electronic device acquires the at least one image to be recognized is not limited herein.
102, storing the image to be identified in a first storage space preset by the electronic equipment;
in the embodiment of the application, the electronic device is pre-defined with a preset storage space, which is referred to as a first storage space. The first storage space may be considered as a folder of a preset path local to the electronic device. Each image to be recognized acquired in step 101 may be stored in the first storage space by the electronic device. Specifically, the file names of the images to be recognized can be named based on the acquisition time; alternatively, the naming may also be performed based on the collection batch and the sequence of the image to be identified in the collection batch, and the file naming rule of the image to be identified is not limited here.
And 103, sequentially uploading all the images to be identified stored in the first storage space to a preset server to instruct the server to sequentially perform text identification on the received images to be identified, so as to obtain the vehicle information indicated by the corresponding running license to be identified.
In the embodiment of the present application, the steps 101 and 102 may be repeatedly performed multiple times. That is, the electronic device may collect and store a plurality of batches of images to be identified, where the number of images to be identified contained in different batches may be different. For example, at time point T1, the staff member has collected a batch (for example, 50) of images to be recognized by using the electronic device, and has stored the image into the first storage space; at time T2, the staff member again uses the electronic device to capture a batch (e.g., 30) of images to be recognized, which are also stored in the first storage space. The electronic device uploads all the images to be identified stored in the first storage space to a preset server in sequence at a proper time. After receiving the image to be recognized, the server performs text Recognition on the image to be recognized based on an Optical Character Recognition (OCR) technology, so as to recognize vehicle information, including a license plate number, a frame number, an engine number, an owner, a use property, a vehicle Recognition code, a vehicle type, a seat number, a registration date, a file number and the like, indicated by a driving license to be recognized included in each image to be recognized. The server may then further analyze the vehicle details based on the vehicle information.
For example, the server may obtain the country/region of production of the corresponding vehicle according to the first position of the frame number of the driving license to be identified from the image to be identified, which may be specifically determined by referring to table 1 below:
Figure BDA0002784754620000071
Figure BDA0002784754620000081
TABLE 1
Further, the server can also acquire the manufacturer of the corresponding vehicle according to the second position of the frame number of the driving license to be identified, which is identified from the image to be identified; the production year of the corresponding vehicle can also be known from the tenth position of the frame number of the driving license to be identified, which is identified from the image to be identified, and the details are not repeated herein. The server can store the vehicle information of the driving license to be identified in a preset database after identifying the vehicle information of the driving license to be identified in a certain image to be identified so as to finally finish the batch input of the vehicle information.
In some embodiments, the image to be identified collected in step 101 may be preliminarily screened based on the integrity to improve the identification efficiency of the subsequent server, specifically: aiming at each collected image to be identified, detecting whether the image to be identified has a defect, wherein the defect is: the driving license to be identified contained in the image to be identified is incomplete; accordingly, step 102 may be embodied as: and storing the image to be identified without the defect in the first storage space. In fact, if the electronic device fails to completely shoot the main page and the sub-page of the driving license, even if the shot image to be recognized is clear, the subsequent server has difficulty in obtaining complete vehicle information from the image to be recognized. Therefore, after the image to be recognized is obtained, the integrity of the image to be recognized is judged, and only if the driving license to be recognized contained in the image to be recognized is complete, the image to be recognized is stored in the first storage space; on the contrary, if the driving license to be recognized contained in the image to be recognized is incomplete, the image to be recognized cannot be stored in the first storage space, and the electronic equipment can also send out an incomplete image prompt to indicate the staff to acquire the image again through the electronic equipment.
In some embodiments, the image to be identified collected in step 101 may be subjected to preliminary screening based on repeatability, so as to improve the identification efficiency of the subsequent server, specifically: aiming at each collected image to be recognized, recognizing the designated area of the image to be recognized to obtain vehicle identification information indicated by the license to be recognized corresponding to the image to be recognized; comparing the vehicle identification information with a preset vehicle identification information table, wherein the vehicle identification information table stores the recorded vehicle identification information of each vehicle; if the vehicle identification information indicated by the to-be-identified license exists in the vehicle identification information table through comparison, the to-be-identified image is determined to be repeated; accordingly, step 102 may be embodied as: and storing the image to be identified without repetition in the first storage space. The vehicle identification information may be information that can uniquely identify the vehicle, such as a frame number or a license plate number. After the server identifies the image to be identified uploaded at a certain time, the vehicle identification information table can be updated according to the identification result; in this way, the server and the electronic device can know which vehicles have completed the entry of the vehicle information from the vehicle identification information table. Considering that the format of the driving license is known and fixed, the position (namely, the designated area) of the set vehicle identification information in the image to be recognized can be defined in advance; the electronic equipment only needs to identify the designated area, and can timely screen whether the phenomenon of repeated entry exists under the condition of guaranteeing the processing speed so as to avoid the waste of server resources caused by the repetition of vehicle information.
In some embodiments, to avoid the first storage space storing too many images to be recognized, step 103 may be embodied as: counting the number of the images to be identified stored in the first storage space; and if the number reaches a preset number threshold value, sequentially uploading all the images to be identified stored in the first storage space to the server. The preset number threshold may be an empirical value set by a worker, for example, 50 or 100; alternatively, the preset number threshold may be calculated according to the total space of the first storage space and the maximum occupied space of a single image to be recognized, for example, the total space of the first storage space is 500 megabytes, the single image to be recognized usually does not exceed 1 megabyte, that is, the maximum occupied space of a single image to be recognized is 1 megabyte, then the ratio 500 between the total space and the maximum occupied space may be calculated, and the ratio 500 is used as the number threshold.
In some embodiments, to avoid the first storage space storing too many images to be recognized, step 103 may also be embodied as: calculating the occupied space of the first storage space; and if the ratio of the occupied space to the total space of the first storage space reaches a preset ratio threshold, sequentially uploading all the images to be identified stored in the first storage space to the server. In consideration of the size of the space occupied by different images to be recognized, the present embodiment is not focused on the absolute number of images to be recognized stored in the first storage space, but on the space occupied by the images to be recognized stored in the first storage space. Wherein, the ratio threshold value can be set by a worker and is a positive number smaller than 1. For example, the ratio threshold may be set to 0.9.
In some embodiments, in order to ensure timeliness of the image to be recognized to a certain extent and avoid long-time accumulation of the image to be recognized stored in the first storage space, a timer may be triggered to start timing from zero after step 102; accordingly, step 103 may be embodied as: and if the first storage space does not store new images to be identified before the timing time of the timer reaches a preset time threshold, sequentially uploading all the images to be identified stored in the first storage space to the server. The preset time threshold may be an empirical value set by a worker, such as 6 hours, 12 hours, 24 hours, or the like; alternatively, the preset time threshold may be set according to a past storage time of the image to be recognized. For example, the storage time interval of each past image to be recognized may be acquired, and the median or average of all the acquired storage time intervals may be used as the time threshold, and the setting manner of the time threshold is not limited herein. Therefore, when a new image to be identified is stored in the first storage space each time, the timer is cleared and is triggered to start timing from zero; if the first storage space does not store a new image to be recognized when the timing time reaches a preset time threshold, the current image to be recognized in the first storage space can be uploaded to a server. For example, assume that the time threshold is 12 hours; the working personnel collects and stores a batch of images to be identified through the electronic equipment at 7 monday morning, and the timer is triggered to start timing from zero at 7 monday morning; assuming that the staff collects and stores another batch of images to be identified again through the electronic equipment at the 11 points on the same day, the timer is cleared to zero at the 11 points, and the timer is triggered to start timing from zero again; assuming that the staff does not perform data entry again on the same day later, that is, the electronic device does not acquire and store the image to be identified of the new batch from 11 o 'clock, the timing time of the timer reaches 12 hours at 11 o' clock on the monday night, and at this time, the electronic device uploads the images to be identified stored in the first storage space (that is, the images to be identified of the two batches stored at 7 o 'clock and 11 o' clock) to the server.
In some embodiments, the electronic device may further sequentially upload all images to be recognized stored in the first storage space to the server when receiving an upload instruction input based on a designated key of the electronic device. For example, a virtual key may be configured in a User Interface (UI) of the electronic device; the staff can input an uploading instruction to the electronic equipment by clicking the virtual key so as to trigger the electronic equipment to sequentially upload all the images to be identified stored in the first storage space to the server. Of course, the designated key may also be an entity key on the electronic device, and is not limited herein.
In some embodiments, there may be some cases where the image to be recognized has poor image quality, such as low definition or overexposure, which may cause the server to fail to recognize the text of the image to be recognized; when the images to be recognized which are failed to be recognized exist, the server feeds back a recognition error message to the electronic equipment based on the images to be recognized which are failed to be recognized; based on this, the data processing method further includes: if the electronic equipment receives an identification error message fed back by the server, moving an image to be identified, which is pointed by the identification error message, to a preset second storage space; and outputting a reminding message, wherein the reminding message is used for reminding a user to look up the second storage space. For example, the identification error information may carry a file identifier (e.g., a file name) of the image to be identified, which fails to be identified. The electronic equipment can move the images to be recognized corresponding to the file identifications from the first storage space to the second storage space based on the file identifications carried by the recognition error information. That is, the second storage space stores the images to be recognized which cannot be recognized by the server. By outputting the reminding message, the staff can look up each image to be identified stored in the second storage space and find the corresponding driving license again for shooting; alternatively, the worker may notify the corresponding vehicle owner to obtain the image of the travel certificate taken again by the vehicle owner again. Considering that the image to be recognized stored in the first storage space is successfully recognized by the server, the first storage space may be emptied to release the storage space after the image to be recognized pointed by the recognition error message is moved to the second storage space, and a new round of vehicle information entry is waited for.
In some embodiments, if the server identifies part of the vehicle information (such as the frame number, the license plate number, and/or all of the people) for the image to be identified with the identification failure, and only the remaining other vehicle information is not identified, the identification error information fed back by the server may carry the identified information of the image to be identified with the identification failure, where the identified information is the vehicle information identified from the image to be identified with the identification failure. For example, assuming that for image a to be recognized, the server recognizes the license plate number but fails to recognize other information, the server may feed back a recognition error message to the electronic device based on the license plate number; after receiving the identification error message, the electronic equipment can directly analyze the identification error message to obtain a license plate number, and outputs a reminding message based on the license plate number so as to remind a worker to shoot the driving license of the vehicle corresponding to the license plate number again.
It can be seen from above that, through this application embodiment, when handling the vehicle information of many vehicles, only need obtain the image of the respective travel card of these vehicles through the shooting, then can upload to the server in batches these images, carry out text recognition to the image by the server in proper order, can discern the vehicle information that the travel card that each image contained expressed, saved the link of artifical manual entering, can to a certain extent promote the entering efficiency of vehicle information.
Corresponding to the data processing method provided above, the embodiment of the present application further provides a data processing apparatus. As shown in fig. 2, the data processing apparatus 200 includes:
the system comprises an acquisition unit 201, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring at least one image to be identified, and each image to be identified comprises at least one driving license to be identified;
a storage unit 202, configured to store the image to be recognized in a first storage space preset in the electronic device;
the uploading unit 203 is configured to sequentially upload all the images to be recognized stored in the first storage space to a preset server, so as to instruct the server to sequentially perform text recognition on the received images to be recognized, and obtain vehicle information indicated by the corresponding running license to be recognized.
Optionally, the data processing apparatus 200 further includes:
and the defect detection unit is used for detecting whether the image to be identified has defects or not aiming at each acquired image to be identified, wherein the defect existence means that: the driving license to be identified contained in the image to be identified is incomplete;
accordingly, the storage unit 202 is specifically configured to store the to-be-recognized image without a defect in the first storage space.
Optionally, the data processing apparatus 200 further includes:
a timing unit, configured to trigger a timer to start timing from zero after the storage unit 202 stores the image to be recognized in a first storage space preset in the electronic device;
accordingly, the uploading unit 203 is specifically configured to, if no new image to be identified is stored in the first storage space before the counted time of the timer reaches the preset time threshold, sequentially upload all the images to be identified stored in the first storage space to the server.
Optionally, the transmitting unit 203 is specifically configured to count the number of the to-be-identified images stored in the first storage space, and if the number reaches a preset number threshold, sequentially upload all the to-be-identified images stored in the first storage space to the server.
Optionally, the uploading unit 203 is specifically configured to, if an uploading instruction input based on a designated key of the electronic device is received, sequentially upload all the images to be recognized stored in the first storage space to the server.
Optionally, the data processing apparatus 200 further includes:
a moving unit, configured to, after the uploading unit 203 sequentially uploads all the images to be identified stored in the first storage space to a preset server, if an identification error message fed back by the server is received, move the image to be identified pointed by the identification error message to a preset second storage space;
and the reminding unit is used for outputting a reminding message, and the reminding message is used for reminding a user to look up the second storage space.
Optionally, the data processing apparatus 200 further includes:
an emptying unit, configured to empty the first storage space after the image to be recognized, to which the recognition error message is directed, is moved to a preset second storage space.
It can be seen from above that, through this application scheme, when handling the vehicle information of many vehicles, only need obtain the image of the respective travel card of these vehicles through the shooting, then can upload to the server in batches these images, carry out text recognition to the image by the server in proper order, can discern the vehicle information that the travel card that each image contained expressed, saved the link of artifical manual entering, can to a certain extent promote the efficiency of type-in of vehicle information.
Corresponding to the data processing method provided above, an embodiment of the present application further provides an electronic device. The electronic device may be a personal computer or a smart phone, and the like, which is not limited herein. Referring to fig. 3, an electronic device 3 in the embodiment of the present application includes: a memory 301, one or more processors 302 (only one shown in fig. 3), and a computer program stored on the memory 301 and executable on the processors. Wherein: the memory 301 is used for storing software programs and units, and the processor 302 executes various functional applications and data processing by running the software programs and units stored in the memory 301, so as to acquire resources corresponding to the preset events. Specifically, the processor 302 realizes the following steps by running the above-mentioned computer program stored in the memory 301:
collecting at least one image to be identified, wherein each image to be identified comprises at least one driving license to be identified;
storing the image to be identified in a first storage space preset by the electronic equipment;
and sequentially uploading all the images to be identified stored in the first storage space to a preset server so as to instruct the server to sequentially perform text identification on the received images to be identified and obtain the vehicle information indicated by the corresponding running license to be identified.
Assuming that the above is the first possible implementation manner, in a second possible implementation manner provided on the basis of the first possible implementation manner, before the image to be recognized is stored in the first storage space preset by the electronic device, the processor 302 implements the following steps by running the computer program stored in the memory 301:
aiming at each collected image to be identified, detecting whether the image to be identified has a defect, wherein the defect is: the driving license to be identified contained in the image to be identified is incomplete;
correspondingly, the storing the image to be recognized in a first storage space preset in the electronic device includes:
and storing the image to be identified without the defect in the first storage space.
In a third possible implementation manner provided on the basis of the first possible implementation manner or the second possible implementation manner, after the image to be recognized is stored in the first storage space preset by the electronic device, the processor 302 implements the following steps when running the computer program stored in the memory 301:
triggering a timer to start timing from zero;
the above-mentioned all waiting to discern the image with storing in the above-mentioned first memory space uploads to predetermined server in proper order, includes:
and if the first storage space does not store new images to be identified before the timing time of the timer reaches a preset time threshold, sequentially uploading all the images to be identified stored in the first storage space to the server.
In a fourth possible implementation manner based on the first possible implementation manner or the second possible implementation manner, the sequentially uploading all the images to be recognized stored in the first storage space to a preset server includes:
counting the number of the images to be identified stored in the first storage space;
and if the number reaches a preset number threshold value, sequentially uploading all the images to be identified stored in the first storage space to the server.
In a fifth possible implementation manner based on the first possible implementation manner or the second possible implementation manner, the sequentially uploading all the images to be recognized stored in the first storage space to a preset server includes:
and if an uploading instruction input based on the appointed key of the electronic equipment is received, sequentially uploading all the images to be identified stored in the first storage space to the server.
In a sixth possible implementation manner provided on the basis of the first possible implementation manner or the second possible implementation manner, after sequentially uploading all the images to be recognized stored in the first storage space to a preset server, the processor 302 further implements the following steps when running the computer program stored in the memory 301:
if an identification error message fed back by the server is received, moving the image to be identified, which is pointed by the identification error message, to a preset second storage space;
and outputting a reminding message, wherein the reminding message is used for reminding a user to look up the second storage space.
In a seventh possible implementation manner provided on the basis of the sixth possible implementation manner, after the image to be recognized, which is pointed by the recognition error message, is moved to a preset second storage space, the processor 302 further implements the following steps when executing the computer program stored in the memory 301:
and emptying the first storage space.
It should be understood that in the embodiments of the present Application, the Processor 302 may be a Central Processing Unit (CPU), and the Processor may be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Memory 301 may include both read-only memory and random access memory and provides instructions and data to processor 302. Some or all of memory 301 may also include non-volatile random access memory. For example, the memory 301 may also store device class information.
It can be seen from above that, through this application scheme, when handling the vehicle information of many vehicles, only need obtain the image of the respective travel card of these vehicles through the shooting, then can upload to the server in batches these images, carry out text recognition to the image by the server in proper order, can discern the vehicle information that the travel card that each image contained expressed, saved the link of artifical manual entering, can to a certain extent promote the efficiency of type-in of vehicle information.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of external device software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the above-described modules or units is only one logical functional division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The integrated unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer-readable storage medium may include: any entity or device capable of carrying the above-described computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer readable Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the computer readable storage medium may contain other contents which can be appropriately increased or decreased according to the requirements of the legislation and the patent practice in the jurisdiction, for example, in some jurisdictions, the computer readable storage medium does not include an electrical carrier signal and a telecommunication signal according to the legislation and the patent practice.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A data processing method is applied to electronic equipment and comprises the following steps:
collecting at least one image to be identified, wherein each image to be identified comprises at least one driving license to be identified;
storing the image to be identified in a first storage space preset by the electronic equipment;
and sequentially uploading all the images to be identified stored in the first storage space to a preset server so as to instruct the server to sequentially perform text identification on the received images to be identified and obtain the vehicle information indicated by the corresponding running license to be identified.
2. The data processing method of claim 1, wherein before the storing the image to be recognized in the first storage space preset by the electronic device, the data processing method further comprises:
aiming at each acquired image to be identified, detecting whether the image to be identified has a defect, wherein the defect existence means that: the driving license to be identified contained in the image to be identified is incomplete;
correspondingly, the storing the image to be recognized in a first storage space preset by the electronic device includes:
and storing the image to be identified without the defect in the first storage space.
3. The data processing method according to claim 1 or 2, wherein after storing the image to be recognized in a first storage space preset by the electronic device, the data processing method further comprises:
triggering a timer to start timing from zero;
correspondingly, the uploading all the images to be identified stored in the first storage space to a preset server in sequence comprises:
if the new images to be identified are not stored in the first storage space before the timing time of the timer reaches a preset time threshold, sequentially uploading all the images to be identified stored in the first storage space to the server.
4. The data processing method according to claim 1 or 2, wherein the sequentially uploading all the images to be recognized stored in the first storage space to a preset server comprises:
counting the number of the images to be identified stored in the first storage space;
and if the number reaches a preset number threshold value, sequentially uploading all the images to be identified stored in the first storage space to the server.
5. The data processing method according to claim 1 or 2, wherein the sequentially uploading all the images to be recognized stored in the first storage space to a preset server comprises:
and if an uploading instruction input based on the appointed key of the electronic equipment is received, sequentially uploading all the images to be identified stored in the first storage space to the server.
6. The data processing method according to claim 1 or 2, wherein after the sequentially uploading all the images to be recognized stored in the first storage space to a preset server, the data processing method further comprises:
if an identification error message fed back by the server is received, moving the image to be identified, which is pointed by the identification error message, to a preset second storage space;
and outputting a reminding message, wherein the reminding message is used for reminding a user to consult the second storage space.
7. The data processing method according to claim 6, wherein after the moving of the image to be recognized, to which the recognition error message is directed, to a preset second storage space, the data processing method further comprises:
and emptying the first storage space.
8. A data processing apparatus applied to an electronic device, comprising:
the system comprises an acquisition unit, a recognition unit and a processing unit, wherein the acquisition unit is used for acquiring at least one image to be recognized, and each image to be recognized comprises at least one driving license to be recognized;
the storage unit is used for storing the image to be identified in a first storage space preset by the electronic equipment;
and the uploading unit is used for sequentially uploading all the images to be identified stored in the first storage space to a preset server so as to instruct the server to sequentially perform text identification on the received images to be identified and obtain the vehicle information indicated by the corresponding running license to be identified.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
CN202011294288.XA 2020-11-18 2020-11-18 Data processing method, data processing device and electronic equipment Pending CN112446377A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011294288.XA CN112446377A (en) 2020-11-18 2020-11-18 Data processing method, data processing device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011294288.XA CN112446377A (en) 2020-11-18 2020-11-18 Data processing method, data processing device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112446377A true CN112446377A (en) 2021-03-05

Family

ID=74738184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011294288.XA Pending CN112446377A (en) 2020-11-18 2020-11-18 Data processing method, data processing device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112446377A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113298074A (en) * 2021-05-21 2021-08-24 中国邮政储蓄银行股份有限公司 Image recognition method and device, computer readable storage medium and processor
CN114531518A (en) * 2022-03-01 2022-05-24 上海艾莎医学科技有限公司 Method, device and system for quickly acquiring image and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255986A (en) * 2017-12-28 2018-07-06 深圳开思时代科技有限公司 Information identifying method, system and computer readable storage medium
CN109461247A (en) * 2018-10-29 2019-03-12 北京慧流科技有限公司 Note validating method and device, electronic equipment and storage medium
CN110659607A (en) * 2019-09-23 2020-01-07 天津车之家数据信息技术有限公司 Data checking method, device and system and computing equipment
WO2020177470A1 (en) * 2019-03-04 2020-09-10 深圳先进技术研究院 Verification code recognition method and apparatus, terminal, and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255986A (en) * 2017-12-28 2018-07-06 深圳开思时代科技有限公司 Information identifying method, system and computer readable storage medium
CN109461247A (en) * 2018-10-29 2019-03-12 北京慧流科技有限公司 Note validating method and device, electronic equipment and storage medium
WO2020177470A1 (en) * 2019-03-04 2020-09-10 深圳先进技术研究院 Verification code recognition method and apparatus, terminal, and storage medium
CN110659607A (en) * 2019-09-23 2020-01-07 天津车之家数据信息技术有限公司 Data checking method, device and system and computing equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113298074A (en) * 2021-05-21 2021-08-24 中国邮政储蓄银行股份有限公司 Image recognition method and device, computer readable storage medium and processor
CN113298074B (en) * 2021-05-21 2024-04-16 中国邮政储蓄银行股份有限公司 Image recognition method and device, computer readable storage medium and processor
CN114531518A (en) * 2022-03-01 2022-05-24 上海艾莎医学科技有限公司 Method, device and system for quickly acquiring image and storage medium

Similar Documents

Publication Publication Date Title
US10410278B2 (en) Method and apparatus for integrated image capture for vehicles to track damage
CN107909668B (en) Sign-in method and terminal equipment
CN109508404B (en) Maintenance teaching video management method and device, terminal equipment and storage medium
US9953300B2 (en) System and method to process distracted driving habits of drivers
CN112446377A (en) Data processing method, data processing device and electronic equipment
CN109410628B (en) Method and system for detecting state of in-road berth and data processing device thereof
CN105448103A (en) Vehicle fake license plate detection method and system
CN108399782A (en) Method, apparatus, system, equipment and the storage medium of outdoor reversed guide-car
CN109583828B (en) Special vehicle for checking motor vehicles and motor vehicle registration service system and method
CN115798251A (en) Parking lot emergency management method under fault scene
US10275844B2 (en) Handheld photo enforcement systems and methods
CN113077018A (en) Target object identification method and device, storage medium and electronic device
CN111079469B (en) Face image processing method, device, equipment and readable storage medium
CN107833010B (en) Method, device, storage medium and terminal for pre-scanning image information
CN113129581A (en) Vehicle information transmission system and method, storage medium, and electronic device
CN112687044A (en) Method, system, medium, and apparatus for managing staying person
CN113920750B (en) Information obtaining method, system, device, electronic equipment and program product
CN110276681B (en) Method and device for developing business
CN113963401A (en) Method, device and medium for delivering express by robot
CN112597991B (en) Data processing method, data processing device, server and client
CN112907770A (en) License plate recognition and verification method, system, medium, parking server and client
CN111462480A (en) Traffic image evidence verification method and device, computer equipment and storage medium
CN208509136U (en) Vehicle-mounted patrol data acquisition system based on OpenWRT system
CN114255598A (en) Vehicle illegal data processing method, system and storage medium
CN112614347B (en) Fake plate detection method and device, computer equipment and storage medium

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