Image processing method, device, electronic device, storage medium and program product

By identifying traffic ticket images and comparing historical driving events, traffic tickets are automatically reviewed, which solves the problem of traffic violation risks in navigation services and achieves fast and accurate ticket review and navigation model optimization.

CN112650876BActive Publication Date: 2024-09-27DITU (BEIJING) TECH CO LTD
View PDF 22 Cites 0 Cited by

Patent Information

Application Number
CN202011612559.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-30
Publication Date
2024-09-27
Estimated Expiration
2040-12-30

Smart Images

  • Figure CN112650876B
    Figure CN112650876B
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to an image processing method, device, electronic device, storage medium and program product, and relate to the field of intelligent transportation. The method may include identifying an image associated with a traffic ticket to determine the identity information, violation time and violation location of the vehicle associated with the traffic ticket. The method further includes acquiring a set of historical driving events and corresponding driving paths based on the identity information of the vehicle. In addition, the method may further include marking the image as passed review if the corresponding driving path of the target driving event associated with the violation time in the group of historical driving events contains the violation location. The technical solution of the present disclosure can review traffic tickets accurately, quickly and at low cost, thereby improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure generally relate to the field of intelligent transportation, and more specifically, to an image processing method, apparatus, electronic device, computer-readable storage medium, and computer program product. Background Art

[0002] With the advancement of technology, people's travel is increasingly dependent on navigation technology based on artificial intelligence. For example, people usually refer to the navigation application configured by the navigation service provider to plan their driving routes while driving. However, since navigation applications may have certain imperfections, users may make traffic violations while driving according to the navigation information of the navigation application, resulting in traffic tickets. This will cause trouble to users, thereby reducing user experience and user stickiness to the navigation service. For example, online car-hailing drivers usually provide pick-up services based on the navigation information of the online car-hailing application. If the online car-hailing generates a parking ticket at the pick-up parking location recommended by the online car-hailing application, it will bring extremely low user experience to the online car-hailing driver. Summary of the invention

[0003] According to an exemplary embodiment of the present disclosure, a scheme for processing an image is provided.

[0004] In a first aspect of the present disclosure, an image processing method is provided. The method may include identifying an image associated with a traffic ticket to determine the identity information, violation time, and violation location of a vehicle associated with the traffic ticket. The method further includes acquiring a set of historical driving events and corresponding driving paths based on the identity information of the vehicle. In addition, the method may further include marking the image as passed review if the corresponding driving path of a target driving event associated with the violation time in the set of historical driving events includes the violation location.

[0005] In a second aspect of the present disclosure, an image processing device is provided, comprising: an image recognition module configured to recognize an image associated with a traffic ticket to determine the identity information, violation time and violation location of the vehicle associated with the traffic ticket; a driving event acquisition module configured to acquire a group of historical driving events and corresponding driving paths based on the identity information of the vehicle; and a processing module configured to mark the image as passed review in response to the corresponding driving path of a target driving event associated with the violation time in the group of historical driving events containing the violation location.

[0006] In a third aspect of the present disclosure, an electronic device is provided, comprising: a memory and a processor; wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method of the first aspect of the present disclosure.

[0007] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which one or more computer instructions are stored, wherein the one or more computer instructions are executed by a processor to implement the method of the first aspect of the present disclosure.

[0008] In a fifth aspect of the present disclosure, a computer program product is provided, comprising computer executable instructions, wherein the computer executable instructions implement the method of the first aspect of the present disclosure when executed by a processor.

[0009] It should be understood that the contents described in the summary of the invention are not intended to limit the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0011] Figure 1 A schematic diagram illustrating an example environment in which various embodiments of the present disclosure can be implemented;

[0012] Figure 2 A schematic diagram illustrating a more detailed example environment in which various embodiments of the present disclosure can be implemented;

[0013] Figure 3 A flowchart of an image processing process according to an embodiment of the present disclosure is shown;

[0014] Figure 4 A schematic diagram showing a method of determining a parking position according to an embodiment of the present disclosure is shown;

[0015] Figure 5 A block diagram showing an image processing apparatus according to an embodiment of the present disclosure; and

[0016] Figure 6 A block diagram of a computing device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0017] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0018] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0019] As mentioned above, people usually refer to and trust the navigation information provided by navigation service providers while driving. However, since the navigation model constructed by the navigation APP still has room for optimization, the driving routes and parking spots recommended by it may still have the risk of traffic violations. This brings a sense of distrust to users and reduces user stickiness. Although there are channels for complaints about violations in current navigation services, solving such problems is usually done manually, that is, the staff of the navigation service provider manually reviews the tickets uploaded by users in the background. However, manual review increases the operating costs of the platform, requires a longer processing cycle, and may also result in missed reviews and misreviews. Therefore, the user experience will still be reduced.

[0020] In view of this, an embodiment of the present disclosure proposes an image processing scheme. In this scheme, a navigation service provider can set an upload interface for receiving traffic ticket images uploaded by users, and perform image recognition processing on the uploaded traffic ticket images to determine the license plate information, violation location, violation time, violation type and other information. Afterwards, these identified information can be compared with historical driving events for the vehicle. If there is a driving event in the historical driving events whose driving path and time are consistent with the violation location, violation time and other information of the traffic ticket image, it indicates that the traffic ticket is caused by driving with reference to the driving path recommended by the navigation application. Therefore, the ticket can be reviewed and approved, and the corresponding user can be compensated or rewarded. At the same time, the image or violation location corresponding to the traffic ticket can be processed as training data for training the navigation model, thereby further improving the navigation function and avoiding the violation location from being included in the navigation path in the future.

[0021] By implementing the above solution, the recognition result of the traffic ticket can be compared with the driving route recommended by the navigation, so that the traffic ticket can be reviewed accurately, quickly and at low cost, thereby improving the user experience.

[0022] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. Figure 1 1 is a schematic diagram of an example environment 100 in which various embodiments of the present disclosure can be implemented. Figure 1 As shown, example environment 100 includes traffic ticket image 110 , computing device 120 , and processing results 130 .

[0023] like Figure 1 As shown, the computing device 120 is configured to receive a traffic ticket image 110 uploaded by a user. Here, the traffic ticket image 110 can be a photo of a paper traffic ticket taken by the user, a screenshot of an electronic traffic ticket, or a screenshot of a traffic ticket notification SMS.

[0024] The computing device 120 can perform image recognition on the traffic ticket image 110 to obtain information such as the identity information, violation time, and violation location of the violating vehicle, and can find the driving event corresponding to the identified identity information and violation time from the historical driving events recorded in the database. Here, the database can be located in a memory or cloud storage maintained by the computing device 120, located inside the computing device 120, or connected to the computing device for communication. Further, the computing device 120 can compare the path information of the driving event with the violation location to generate a processing result 130. In some embodiments, the processing result 130 can be a result that marks whether the traffic ticket has been approved. If the traffic ticket is approved, the computing device 120 can collect information associated with the traffic ticket.

[0025] In some embodiments, the computing device 120 may include a server device, such as a server of a travel platform, a server of a navigation platform, or other server devices that maintain historical travel information of users. As an example, the computing device 120 may be a server of a travel platform, which may maintain historical travel information of drivers who provide travel services on the travel platform. Alternatively, the travel platform may provide transportation sharing services, such as shared cars, shared electric vehicles, or shared bicycles. Accordingly, the travel platform may also maintain historical travel information of users who use transportation sharing services. As another example, the computing device 120 may also be a server of a navigation platform, which may, for example, maintain historical travel information of users who use the navigation platform for travel navigation.

[0026] In some embodiments, the computing device 120 may also be a terminal device associated with the target user, such as a smart terminal equipped with a travel application, a smart terminal equipped with a navigation application, or a vehicle with navigation capabilities.

[0027] In some embodiments, the computing device 120 may be a mobile phone of a driver providing travel services, which can record the driver's historical travel information. Alternatively, the computing device 120 may obtain the driver's historical travel information from an associated server via a network to determine the location of the traffic violation.

[0028] In some embodiments, the computing device 120 may be a vehicle with navigation capabilities, which may, for example, record the historical itinerary of the user using the in-vehicle navigation. For example, the in-vehicle navigation may maintain the historical itinerary driven by the user in the past two weeks.

[0029] In order to more specifically describe the inventive concept of the present disclosure, reference is now made to Figure 2 A more detailed description is given. Figure 2 2 is a schematic diagram of a more detailed example environment 200 in which various embodiments of the present disclosure can be implemented. Figure 2 As shown, traffic ticket image 210 is input into computing device 220 .

[0030] The computing device 220 may first perform recognition processing on the traffic ticket image 210 through an image recognition model or a text recognition model to determine the traffic violation information 240 of the violating vehicle of the traffic ticket. The traffic violation information 240 may include information related to the traffic violation behavior. For example, Figure 2 As shown, the traffic violation information 240 may include, for example, the identity information of the violating vehicle, the time of violation, the location of violation, and the type of violation.

[0031] In some embodiments, the traffic violation information 240 may be determined based on the traffic violation penalty. For example, with the user's permission, the computing device 220 may obtain the identity information of the vehicle associated with the user (e.g., license plate number, vehicle identification number VIN code, etc.), and use the identity information to obtain the associated traffic violation penalty information.

[0032] In some embodiments, the user may also proactively report traffic violation penalty information. For example, the user may report traffic violation information 240 by taking a picture of a paper traffic ticket, uploading a screenshot of a traffic violation query website, uploading a traffic violation penalty text message, etc. Accordingly, the penalty information processing device (e.g., computing device 220, or a different computing device) may process the traffic violation information 240 reported by the user, for example, extracting the traffic violation information 240 by appropriate methods such as image recognition and text recognition.

[0033] Further, the computing device 220 can obtain a set of historical driving events and their corresponding driving paths corresponding to the identity information of the identified illegal vehicle from the database. It should be understood that the computing device 220 side or the cloud connected thereto can maintain a database for storing historical driving events of multiple users. After determining the identity information of the illegal vehicle, the computing device 220 can directly find the historical driving events 250 of the user.

[0034] Afterwards, the computing device 220 may determine a target driving event 260 and a corresponding driving path 270 from the historical driving events 250 based on the identified violation time. Figure 2 As shown, the driving path 270 may include a plurality of location points, for example, location points 271 and 279. As an example, the location point 271 may be the starting point of the driving path 270, and the location point 279 may be the end point of the driving path 270.

[0035] In some embodiments, each location point in the driving path 270 may be periodically uploaded by a terminal device associated with the user during the target driving event 260. As an example, when the online car-hailing driver provides driving services from location point 271 to location point 279 for the passenger, the terminal device used by the driver may periodically upload location information to the server side as multiple location points included in the driving path 270.

[0036] In some embodiments, during the target driving event 260 , the terminal device associated with the user may also periodically record location information, and then maintain the location information locally on the terminal device or upload it to a server as multiple location points included in the driving path 270 .

[0037] In some embodiments, multiple location points such as location points 271 and 279 may also be periodically collected by other devices. For example, a roadside device may periodically detect the location of a vehicle and upload the location information of the vehicle to a server.

[0038] The computing device 220 can send the identified violation location and multiple location points in the target driving event 260 to the determination unit 280 for comparison. If there is a location point and its distance from the violation location is less than the threshold distance, it means that the traffic ticket is generated based on the navigation path, so the processing result 230 of reviewing and approving the traffic ticket can be generated and subsequently processed.

[0039] The technical solution described above is only used as an example, and does not limit the present invention. It should be understood that the computing device 220 can also be arranged in other ways and connection relationships. In order to more clearly explain the principle of the above solution, the following will refer to Figure 3 Let's describe the image processing process in more detail.

[0040] Figure 3 FIG. 3 is a flowchart showing a process 300 of image processing according to an embodiment of the present disclosure. In some embodiments, the process 300 may be performed as follows: Figure 1 The computing device 120 shown, Figure 2 The computing device 220 shown is implemented in FIG. Figure 3 , reference Figure 3 The process 300 for image processing according to an embodiment of the present disclosure is described. For ease of understanding, the specific data mentioned in the following description are exemplary and are not intended to limit the protection scope of the present disclosure.

[0041] At 302, computing device 220 may identify an image associated with a traffic ticket (e.g., traffic ticket image 210) to determine the identity information of the vehicle associated with the traffic ticket, the time of the violation, and the location of the violation. Alternatively or additionally, computing device 220 may also determine the type of violation by identifying traffic ticket image 210. As an example, computing device 220 may generate traffic violation information 240 based on traffic ticket image 210 by appropriate means such as image recognition, text recognition, etc. Figure 2 As shown, the traffic violation information 240 may include the identity information of the violating vehicle "Beijing XXXXX", the violation time "14:00, 2020-12-01", the violation location "XX East Road" and the violation type "illegal parking".

[0042] In certain embodiments, in order to identify the traffic ticket image 210, the computing device 220 may determine the feature representation of the traffic ticket image 210 by processing methods such as vectorization, and apply the feature representation to a trained image recognition model to determine the identity information, violation time, and violation location of the vehicle. It should be understood that the image recognition model is trained by taking a reference feature representation as input and the corresponding annotated reference vehicle identity information, reference violation time, and reference violation location as output. Alternatively or additionally, the identity information, violation time, and violation location of the vehicle may be extracted from the traffic ticket image 210 by techniques such as OCR. In this way, traffic violation information may be quickly and accurately acquired to prepare for subsequent review and determination operations.

[0043] At 304, the computing device 220 may obtain a set of historical driving events 250 and corresponding driving routes based on the identity information of the vehicle. As an example, the computing device 220 may use the vehicle identification information included in the traffic violation information 240 to determine the historical driving events 250. Taking the online car-hailing travel application as an example, the user may be, for example, a driver of a travel platform. The computing device 220 may obtain the historical trips of the travel services related to the vehicle with the license plate number "Jing XX XXX" within a past predetermined time period, that is, the driving routes served by the driver within the predetermined time period.

[0044] At 306, if the corresponding driving route of the target driving event 260 associated with the violation time in the set of historical driving events 250 contains the violation location, the traffic ticket image 210 is marked as passing the review. As an example, the computing device 220 may determine the target driving event 260 from the historical driving events 250 based on the violation time included in the traffic violation information 240. Taking the online car-hailing travel application as an example, the computing device 220 may find the target driving event 260 from the historical driving events 250 based on the violation time "14:00, 2020-12-01", and further review whether the corresponding driving route 270 of the target driving event 260 contains the violation location "XX East Road".

[0045] It should be understood that after it is determined by the determination unit 280 in the computing device 220 that the driving route 270 contains the violation location "XX East Road", the traffic ticket image 210 may be processed in various ways. In some embodiments, the computing device 220 may determine the parking location of the vehicle in the target driving event 260 based on the corresponding driving route 270 of the target driving event 260. If the distance between the parking location and the violation location "XX East Road" is less than the threshold distance, the parking location of the vehicle in the target driving event 260 is obtained. As an example, the specific way to determine the parking location may be: if the vehicle is stationary at a position in the corresponding driving route 270 for a time greater than the threshold time, then this position is determined as the parking location.

[0046] Figure 4 FIG. 400 shows a schematic diagram for determining a parking location according to an embodiment of the present disclosure. As an example, Figure 4 Shown is an exemplary driving route 270 of an online car-hailing travel application such as "carpooling", which includes a plurality of periodically collected position points. It should be understood that "carpooling" refers to a driving event that includes two or more sub-driving events. As Figure 4As shown, the vehicle providing online car-hailing travel service starts its journey from location 271 and completes the pick-up of the first passenger at parking location 410. Afterwards, the vehicle completes the pick-up of the second passenger at parking location 420, and then completes the pick-up of the third passenger at parking location 430. Finally, all three passengers get off at parking location 440, so the vehicle completes the "ride-sharing" driving event at location 279.

[0047] In some embodiments, computing device 220 may be able to obtain Figure 4 As an example, the computing device 220 may determine the location where the aggregation occurs from the multiple location points in Figure 4 The plurality of position points in the driving path 270 are used to determine at least one parking position associated with the driving path 270, for example, one of the parking positions 410 to 440. Figure 4 For example, the computing device 220 may detect the number of location points included in a predetermined peripheral range (e.g., 500 meters) of each location point, and determine a location where the number of location points included in the range reaches a threshold number (e.g., 4 location points) as a parking location.

[0048] In some embodiments, the computing device 220 may directly determine the determined parking position as one of the parking positions 410-440. Alternatively, the computing device 220 may also determine the center position of all positions included in the predetermined peripheral range of one of the parking positions 410-440 as the parking position. Therefore, the computing device 220 may determine the parking position 420 and the parking position 430 where the parking behavior may have occurred. In addition, the starting and ending positions of the driving path 270 may also be determined as the parking position 410 and the parking position 440.

[0049] In addition, Figure 4 For example, for parking position 420 and parking position 430, computing device 220 may determine a time window corresponding to each parking position, that is, a sampling time point corresponding to a position point within a predetermined range corresponding to the parking position.

[0050] For example, the range of parking position 420 includes 5 positions, of which the sampling time of the earliest position point is "1:58 pm on December 1, 2020", and the sampling time of the latest position point is "2:03 pm on December 1, 2020". The range of parking position 430 includes 4 positions, of which the sampling time of the earliest position point is "2:08 pm on December 1, 2020", and the sampling time of the latest position point is "2:12 pm on December 1, 2020".

[0051] Accordingly, the computing device 220 may determine a corresponding parking location from the parking locations 410 to 440 according to the violation time “14:00, 2020-12-01” in the traffic violation information 240. For example, Figure 4 Parking location 420 in.

[0052] In some embodiments, in the driving event, since the position points of the vehicle are collected periodically, the area where the position points have dense or overlapping characteristics and the duration exceeds the threshold time can be determined as the parking location by the computing device 220. Figure 4 Among the parking positions 410 to 440 shown, the parking positions whose distances from the violation location “XX East Road” are less than a threshold distance are determined.

[0053] In subsequent image processing operations, the computing device 220 may process the parking position determined by the above process as training data. By collecting such training data, the navigation model used to generate the vehicle driving path may be further trained. In this way, negative sample data may be collected for the training of the navigation model, thereby optimizing the training process of the navigation model and improving navigation performance.

[0054] In subsequent image processing operations, the computing device 220 may also generate feedback information for the traffic ticket image 210 to feedback the user request corresponding to the traffic ticket. As an example, in order to collect training data, the online car-hailing application may reward users who upload approved traffic ticket images 210. In addition, the user may be compensated for the resulting traffic tickets. Since the user can get feedback information in a timely and accurate manner, the above process improves the user experience and increases the user's enthusiasm for reporting the location of the violation.

[0055] In addition, in some embodiments, in order to further verify the accuracy of the above-mentioned review process, the computing device 220 can also determine the violation type associated with the traffic ticket by identifying the traffic ticket image 210, for example, the violation type "illegal parking". The computing device 220 can verify the violation type based on the violation scene image associated with the traffic ticket. If the violation scene image does not match the violation type, it is determined that the traffic ticket image 210 is misidentified. It should be understood that the violation scene image can be a scene image taken and uploaded by the user, or it can be a scene image obtained from a traffic violation query website. As an example, when the violation scene image is identified as "line violation", since it does not match the violation type "illegal parking", it means that the traffic ticket image 210 uploaded by the user is misidentified, or it means that the traffic ticket image 210 is modified before uploading. At this time, the traffic ticket image 210 uploaded by the user will not pass the review. In this way, the review result can be further verified to avoid misreview.

[0056] Through the above-mentioned embodiments, the image processing scheme of the present disclosure can automatically determine whether the traffic ticket image uploaded by the user is generated during the driving operation based on the navigation information, and then can accurately and timely review the traffic ticket image uploaded by the user. Compared with the traditional traffic ticket review mechanism, the present disclosure realizes an automated review process, thereby avoiding the high cost and high latency of manual review, and reducing the possibility of missed review and misreview, significantly improving the user experience. In addition, by reviewing the traffic ticket images uploaded by the user, multiple violation addresses corresponding to the corresponding violation types can also be collected. These violation addresses can be used as negative examples for navigation model training, thereby enriching the data set for model training and significantly improving the performance of the navigation model.

[0057] Figure 5 FIG. 5 shows a block diagram of an image processing apparatus 500 according to an embodiment of the present disclosure. Figure 5 As shown, the image processing device 500 may include: an image recognition module 502, configured to recognize an image associated with a traffic ticket to determine the identity information, violation time and violation location of the vehicle associated with the traffic ticket; a driving event acquisition module 504, configured to acquire a set of historical driving events and corresponding driving paths based on the identity information of the vehicle; and an image marking module 506, configured to mark the image as passed review in response to the corresponding driving path of the target driving event associated with the violation time in the set of historical driving events containing the violation location.

[0058] In some embodiments, the image processing device 500 may further include a processing module, which may include: a parking position determination module, configured to determine the parking position of the vehicle in the target driving event based on the corresponding driving path of the target driving event; and a violation position acquisition module, configured to acquire the parking position of the vehicle in the target driving event in response to the distance between the parking position and the violation position being less than a threshold distance.

[0059] In some embodiments, the parking position determination module may be configured to: if the time during which the vehicle is stationary at a position in the corresponding driving path is greater than a threshold time, determine the position as the parking position.

[0060] In some embodiments, the image recognition module 502 may include: a feature representation determination module, configured to determine the feature representation of the image; and a feature representation application module, configured to apply the feature representation to an image recognition model to determine the vehicle identity information, the violation time and the violation location, wherein the image recognition model is trained by taking a reference feature representation as input and the corresponding annotated reference vehicle identity information, reference violation time and reference violation location as output.

[0061] In some embodiments, the processing module may include: a violation location processing module configured to process the determined violation location into training data; and a navigation model training module configured to train a navigation model for generating a vehicle driving path based at least on the training data.

[0062] In some embodiments, the image processing device 500 may further include a processing module, which may include: a feedback information generating module configured to generate feedback information for the image to feedback a user request corresponding to the traffic ticket.

[0063] In some embodiments, the image processing device 500 also includes: a violation type determination module, configured to determine the violation type associated with the traffic ticket by identifying the image; a violation type verification module, configured to verify the violation type based on the violation scene image associated with the traffic ticket; and a judgment module, configured to determine that the image is misidentified if the violation scene image does not match the violation type.

[0064] Figure 6 FIG. 6 is a block diagram of a computing device 600 capable of implementing various embodiments of the present disclosure. The device 600 may be used to implement Figure 1 The computing device 120 and Figure 2 The computing device 220 of the present invention is shown in the figure. As shown in the figure, the device 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) 602 or computer program instructions loaded from a storage unit 608 to a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0065] A number of components in the device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0066] The processing unit 601 performs the various methods and processes described above, such as the process 300. For example, in some embodiments, the process 300 may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as the storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the CPU 601, one or more steps of the process 300 described above may be performed. Alternatively, in other embodiments, the CPU 601 may be configured to perform the process 300 in any other suitable manner (e.g., by means of firmware).

[0067] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip systems (SOCs), load programmable logic devices (CPLDs), and the like.

[0068] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0069] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0070] In addition, although each operation is described in a specific order, this should be understood as requiring such operation to be performed in the specific order shown or in a sequential order, or requiring that all illustrated operations should be performed to obtain desired results. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation can also be implemented in multiple implementations individually or in any suitable sub-combination mode.

[0071] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. An image processing method, comprising: Recognize the image associated with the traffic ticket to determine the identity information, violation time and violation location of the vehicle associated with the traffic ticket; Acquire a set of historical driving events and corresponding driving paths based on the identity information of the vehicle; wherein the driving path includes a plurality of location points, each location point in the driving path is periodically uploaded by a terminal device associated with a user during a target driving event; and If the corresponding driving path of the target driving event associated with the violation time in the set of historical driving events includes the violation location, the image is marked as passed the review; wherein the corresponding driving path of the target driving event associated with the violation time in the set of historical driving events includes the violation location, which is obtained by the following steps: comparing the identified violation location with a plurality of location points in the target driving event; if there is one location point and its distance from the violation location is less than a threshold distance, the traffic ticket is generated based on the navigation path, Wherein processing the image comprises: Determining a parking position of the vehicle in the target driving event based on a corresponding driving path of the target driving event, wherein an area where the position points have dense or overlapping characteristics and a duration exceeding a threshold time is determined as the parking position; processing the determined parking positions as training data; and A navigation model for generating a vehicle driving path is trained based at least on the training data.

2. The method of claim 1, wherein processing the image further comprises: If the distance between the parking position and the violation position is less than a threshold distance, the parking position of the vehicle in the target driving event is obtained.

3. The method according to claim 1, wherein determining the parking position based on the corresponding driving path of the target driving event comprises: If the time for which the vehicle is stationary at a position in the corresponding driving path is greater than a threshold time, the position is determined as the parking position.

4. The method according to claim 1, wherein identifying the image comprises: determining a feature representation of the image; as well as The feature representation is applied to an image recognition model to determine the vehicle identity information, the violation time and the violation location, wherein the image recognition model is trained by taking a reference feature representation as input and taking a corresponding annotated reference vehicle identity information, a reference violation time and a reference violation location as output.

5. The method of claim 1 , further comprising processing the image, wherein processing the image comprises: Feedback information is generated for the image to feedback a user request corresponding to the traffic ticket.

6. The method according to claim 1, further comprising: determining a type of violation associated with the traffic ticket by recognizing the image; verifying the violation type based on a violation scene image associated with the traffic ticket; as well as If the violation scene image does not match the violation type, it is determined that the image is misidentified.

7. An image processing device, comprising: An image recognition module configured to recognize an image associated with a traffic ticket to determine the identity information, violation time, and violation location of a vehicle associated with the traffic ticket; A driving event acquisition module, configured to acquire a set of historical driving events and corresponding driving paths based on the identity information of the vehicle; wherein the driving path includes a plurality of location points, each location point in the driving path is periodically uploaded by a terminal device associated with a user during a target driving event; An image marking module is configured to mark the image as passed in response to the corresponding driving path of the target driving event associated with the violation time in the set of historical driving events including the violation location; wherein the corresponding driving path of the target driving event associated with the violation time in the set of historical driving events includes the violation location, which is obtained by the following steps: comparing the identified violation location with a plurality of location points in the target driving event; if there is one location point and the distance between the location point and the violation location is less than a threshold distance, then the traffic ticket is generated based on the navigation path; and Processing modules, including: A parking position determination module is configured to determine the parking position of the vehicle in the target driving event based on the corresponding driving path of the target driving event, wherein The area where the position points have dense or overlapping characteristics and the duration exceeds a threshold time is determined as the parking location; a violation position processing module, configured to process the determined parking position as training data; and The navigation model training module is configured to train a navigation model for generating a vehicle driving path based at least on the training data.

8. The apparatus according to claim 7, wherein the processing module further comprises: The violation position acquisition module is configured to acquire the parking position of the vehicle in the target driving event if the distance between the parking position and the violation position is less than a threshold distance.

9. The apparatus according to claim 7, wherein the parking position determination module is configured to: If the time for which the vehicle is stationary at a position in the corresponding driving path is greater than a threshold time, the position is determined as the parking position.

10. The apparatus according to claim 7, wherein the image recognition module comprises: a feature representation determination module configured to determine a feature representation of the image; and A feature representation application module is configured to apply the feature representation to an image recognition model to determine the vehicle identity information, the violation time and the violation location. The image recognition model is trained by taking a reference feature representation as input and the corresponding annotated reference vehicle identity information, reference violation time and reference violation location as output.

11. The apparatus according to claim 7, further comprising a processing module, wherein the processing module comprises: The feedback information generating module is configured to generate feedback information for the image to feedback a user request corresponding to the traffic ticket.

12. The apparatus according to claim 7, further comprising: a violation type determination module configured to determine a violation type associated with the traffic ticket by identifying the image; a violation type verification module configured to verify the violation type based on a violation scene image associated with the traffic ticket; and The determination module is configured to determine that the image is misidentified if the violation scene image does not match the violation type.

13. An electronic device comprising: Memory and processor; The memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method according to any one of claims 1 to 6.

14. A computer-readable storage medium having one or more computer instructions stored thereon, wherein the one or more computer instructions are executed by a processor to implement the method according to any one of claims 1 to 6.

15. A computer program product comprising computer executable instructions, wherein the computer executable instructions, when executed by a processor, implement the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Hand-held device for parking meter enforcement

    CN101044512A

  • Traffic violation evidence obtaining and punishment system based on intelligent terminal

    CN105448097A

  • Traffic violation management system and traffic violation management method

    CN107004352A

  • Regulation violation prompting method, device and electronic device

    CN107527512A

  • Method and device for identifying traffic violation cases and computer device

    CN109325424A