Abnormal behavior detection method and device, computer equipment and storage medium

By obtaining and analyzing the relative position information between the vehicle stickers and the vehicle, and using computer equipment to perform abnormal behavior detection, the problem that traditional manual inspections cannot accurately identify the cheating situation of the vehicle stickers is solved, improving the accuracy of detection and reducing costs.

CN120220081APending Publication Date: 2025-06-27BEIJING FURUITE INFINITE TECH DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311800665.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-25
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

Traditional manual inspections cannot accurately identify the cheating situation of the driver of the car sticker, resulting in inaccurate detection and high cost.

Method used

By obtaining the first relative position information and the second relative position information between the vehicle sticker and the vehicle in the picture to be detected, the abnormal behavior detection is performed using the computer device to be detected to determine whether there is cheating.

Benefits of technology

It improves the accuracy of detection, avoids manual misinspection, reduces the cost of manpower, material resources and time, and reduces inspection costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120220081A_ABST
    Figure CN120220081A_ABST
Patent Text Reader

Abstract

The invention relates to an abnormal behavior detection method and device, computer equipment and a storage medium. The method comprises the following steps: acquiring a to-be-detected picture; the to-be-detected picture comprises a vehicle and a vehicle sticker pasted on the vehicle; acquiring first relative position information of the vehicle sticker and the vehicle quality inspection in the to-be-detected picture; determining whether an abnormal behavior exists or not according to the first relative position information and the second relative position information; the second relative position information is the relative position information between the vehicle and the vehicle sticker obtained when the vehicle sticker is pasted on the vehicle for the first time. By using the abnormal behavior detection method provided by the invention, whether the abnormal behavior exists or not can be accurately detected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of image processing technology, and particularly to an abnormal behavior detection method, device, computer device, and storage medium. Background Art

[0002] In the freight business, freight platforms promote the platform by pasting vehicle stickers on vehicles and offer certain benefits to sticker drivers. However, there are cases where sticker drivers do not paste the stickers on the vehicles as required after obtaining the benefits. Therefore, it is necessary to regularly inspect the pasting situation of the stickers.

[0003] In traditional technologies, inspections are usually carried out by manual observation, that is, regularly checking whether the stickers are pasted on the vehicles. However, there are cases of cheating where some drivers remove the stickers after pasting them and then paste them back when their stickers are inspected. The manual inspection method in traditional technologies cannot accurately identify the cheating situations of drivers. Summary of the Invention

[0004] Based on this, in view of the above technical problems, it is necessary to provide an abnormal behavior detection method, device, computer device, and storage medium that can improve the detection accuracy.

[0005] In a first aspect, this application provides an abnormal behavior detection method, which includes:

[0006] Obtain a picture to be detected; the picture to be detected includes a vehicle and a sticker pasted on the vehicle;

[0007] Obtain the first relative position information between the sticker and the vehicle in the picture to be detected;

[0008] Determine whether there is an abnormal behavior according to the first relative position information and the second relative position information; the second relative position information is the relative position information between the vehicle and the sticker obtained when the vehicle first pasted the sticker.

[0009] In a second aspect, this application also provides an abnormal behavior detection device, which includes:

[0010] A picture acquisition module, configured to obtain a picture to be detected; the picture to be detected includes a vehicle and a sticker pasted on the vehicle;

[0011] An information acquisition module, configured to obtain the first relative position information between the sticker and the vehicle in the picture to be detected;

[0012] A determination module, configured to determine whether there is an abnormal behavior according to the first relative position information and the second relative position information; the second relative position information is the relative position information between the vehicle and the sticker obtained when the vehicle first pasted the sticker.

[0013] In a third aspect, an embodiment of the present application provides a computer device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the steps of the method provided in the first aspect as described above are implemented.

[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method provided in the first aspect as described above are implemented.

[0015] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, the steps of the method provided in the first aspect as described above are implemented.

[0016] For the above-mentioned abnormal behavior detection method, device, computer device and storage medium, the method includes obtaining a picture to be detected; the picture to be detected includes a vehicle and a sticker pasted on the vehicle; obtaining the first relative position information between the sticker and the vehicle in the picture to be detected; determining whether there is an abnormal behavior according to the first relative position information and the second relative position information; the second relative position information is the relative position information between the vehicle and the sticker obtained when the vehicle first pasted the sticker. In this embodiment, it is possible to directly determine whether there is an abnormal behavior based on the first relative position between the sticker and the vehicle in the obtained picture to be detected and the second relative position information. In this way, manual inspection is not required, and the situation of manual misdetection and the inability to accurately identify whether there is an abnormal behavior can be avoided, thereby improving the accuracy of detecting abnormal behavior. Moreover, in this way, manual inspection is not required, which can reduce the consumption of manpower, material resources and time, and reduce the inspection cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is a schematic structural diagram of a computer device in an embodiment;

[0018] Figure 2 It is a schematic flow chart of the steps of an abnormal behavior detection method in an embodiment;

[0019] Figure 3 It is a schematic flow chart of the steps of an abnormal behavior detection method in another embodiment;

[0020] Figure 4 It is a schematic flow chart of the steps of an abnormal behavior detection method in another embodiment;

[0021] Figure 5 It is a schematic flow chart of the steps of an abnormal behavior detection method in another embodiment;

[0022] Figure 6 It is a schematic diagram of a picture to be detected in an embodiment;

[0023] Figure 7 It is a schematic diagram of the step flow of an abnormal behavior detection method in another embodiment;

[0024] Figure 8 It is a schematic diagram of the step flow of an abnormal behavior detection method in another embodiment;

[0025] Figure 9 It is a schematic diagram of the step flow of an abnormal behavior detection method in another embodiment;

[0026] Figure 10 It is a schematic diagram of the step flow of an abnormal behavior detection method in another embodiment;

[0027] Figure 11 It is a schematic diagram of a reference picture in an embodiment;

[0028] Figure 12 It is a schematic diagram of the structure of an abnormal behavior detection device in an embodiment. Detailed implementation manners

[0029] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0030] The serial numbers assigned to the components herein, such as "first", "second", etc., are only used to distinguish the described objects and do not have any sequential or technical meanings.

[0031] First, before specifically introducing the technical solutions of the disclosed embodiments of the present application, the background technology or the technical evolution context based on the embodiments of the present application will be introduced. In the freight business, the freight platform promotes the platform by pasting vehicle stickers on vehicles and gives some rights and interests to the drivers to whom the vehicles belong. However, in actual scenarios, there are drivers who do not paste the vehicle stickers on the vehicles as required after obtaining the rights and interests. Therefore, it is necessary to regularly inspect the pasting situation of the vehicle stickers. In the traditional technology, usually, the pasting situation of the vehicle stickers of all vehicles is inspected by manual observation. However, in the vehicle sticker business, there are some drivers who remove the vehicle stickers after pasting them, and when the staff inspects the pasting situation of the vehicle stickers, the drivers paste the vehicle stickers again. If the manual verification method is used, it may not be able to identify whether there is cheating because of careless observation. Thus, using the manual verification method in the traditional technology will not only be time-consuming and laborious, increase the verification cost, but also be unable to accurately identify whether there is cheating. In view of this, the present application provides an abnormal behavior detection method.

[0032] The following uses specific embodiments to elaborate in detail on the technical solution of the present application and how the technical solution of the present application solves technical problems.

[0033] The abnormal behavior detection method provided by the embodiments of the present application can be applied to a computer device. The computer device can be, but is not limited to, an industrial computer, a laptop computer, a tablet computer, etc. The internal structure of the computer device can be as Figure 1 shown. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner. The wireless manner can be implemented through WIFI, a mobile cellular network, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements an abnormal behavior detection method. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covered on the display screen, or a button, a trackball, or a touchpad provided on the computer device housing, or an external keyboard, touchpad, or mouse, etc.

[0034] In one embodiment, as Figure 2 shown, an abnormal behavior detection method is provided. In this embodiment, the method is exemplified by being applied to a computer device. In this embodiment, the method includes the following steps:

[0035] Step 200: Obtain a picture to be detected; the picture to be detected includes a vehicle and a sticker pasted on the vehicle.

[0036] The picture to be detected refers to the picture obtained when detecting the pasting situation of the sticker. The picture to be detected includes a vehicle and a sticker pasted on the vehicle. The vehicle can be a tricycle, an automobile, or a truck. The shape of the sticker can be a rectangle, a circle, or other irregular shapes. The sticker can be pasted on two sides of the vehicle or on the rear side of the vehicle. In this embodiment, there are no restrictions on the type of vehicle, the shape of the sticker, and the pasting position of the sticker on the vehicle, as long as its function can be realized.

[0037] The picture to be detected can be input to the computer device by the driver to whom the vehicle belongs, or by a staff member. The computer device obtains the picture to be detected.

[0038] Assume that when detecting the pasting situation of the vehicle sticker, the computer device includes a quality inspection applet or a quality inspection software (APP).

[0039] In an alternative embodiment, after receiving the vehicle sticker quality inspection message sent by the freight platform, the driver takes a picture of the picture to be inspected, opens the quality inspection software, and a login interface is displayed. The driver performs a login operation on the login interface, enters the login information (username and password), and in response to the driver's login operation, the computer device displays an image input interface. The driver performs an upload operation on the image input interface to upload the picture to be inspected, and in response to the driver's upload operation, the computer device obtains the picture to be inspected.

[0040] In another alternative embodiment, when a vehicle sticker quality inspection operation is required, the staff takes a picture of the picture to be inspected, opens the quality inspection software, and a login interface is displayed. The staff performs a login operation on the login interface, enters the login information (username and password), and in response to the staff's login operation, the computer device displays an image input interface. The staff performs an upload operation on the image input interface to upload the picture to be inspected, and in response to the staff's upload operation, the computer device obtains the picture to be inspected. The login interface entered by the driver and the login interface entered by the staff can be the same interface or different interfaces. Similarly, the image input interface entered by the driver and the image input interface entered by the staff can be the same interface or different interfaces.

[0041] Step 210: Obtain the first relative position information between the vehicle sticker and the vehicle in the picture to be inspected.

[0042] After obtaining the picture to be inspected, the computer device analyzes the picture to be inspected to determine the first relative position information between the vehicle and the vehicle sticker pasted on the vehicle. The first relative position information between the vehicle sticker and the vehicle refers to the pasting position of the vehicle sticker on the vehicle.

[0043] In an alternative embodiment, the computer device can determine the position information of the vehicle sticker in the picture to be inspected and the position information of the vehicle in the picture to be inspected through a feature extraction method, and determine the first relative position information between the vehicle sticker and the vehicle according to the position information of the vehicle sticker and the position information of the vehicle.

[0044] In another alternative embodiment, the computer device can input the picture to be inspected into a pre-trained position determination model, analyze and process the picture to be inspected through the position determination model, and output the first relative position information between the vehicle sticker and the vehicle in the picture to be inspected. The position determination model can be obtained by the staff pre-training a neural network using detection picture samples and the relative position information between the vehicle sticker and the vehicle in the detection picture samples.

[0045] Step 220: Determine whether there is any abnormal behavior based on the first relative position information and the second relative position information; the second relative position information is the relative position information between the vehicle and the sticker when the vehicle first pastes the sticker.

[0046] The second relative position information refers to obtaining a reference picture when the vehicle first pastes the sticker, and through analyzing and processing the reference picture, determining the relative position information between the sticker and the vehicle in the reference picture, that is, the pasting position of the sticker on the vehicle. The second relative position information is pre-stored in the computer device. Abnormal behavior may refer to the cheating behavior of the driver.

[0047] After the computer device obtains the first relative position information between the sticker and the vehicle in the picture to be detected, it determines whether there is any abnormal behavior based on the first relative position information and the second relative position information. In other words, compare the relative position between the sticker and the vehicle in the picture to be detected with the relative position between the sticker and the vehicle in the reference picture to determine whether there is any deviation. If there is a deviation, it is determined that there is abnormal behavior; if there is no deviation, it is determined that there is no abnormal behavior.

[0048] In an optional embodiment, as Figure 3 shown, the method for obtaining the second relative position information includes:

[0049] Step 300: Obtain a reference picture.

[0050] Exemplarily, the driver applies to the freight platform for pasting a sticker. The freight platform will send staff to paste it on the driver's vehicle and take a reference picture after pasting. The staff opens the quality inspection software, and a login interface is displayed. The staff performs a login operation on the login interface, enters the login information (username and password). In response to the staff's login operation, the computer device displays an image input interface. The staff performs an upload operation on the image input interface to upload the reference picture. In response to the staff's upload operation, the computer device obtains the reference picture.

[0051] Exemplarily, the driver applies to the freight platform for pasting a sticker. The driver picks up the sticker at the location designated by the freight platform, pastes the sticker on the vehicle, and takes a reference picture after pasting. The driver opens the quality inspection software, and a login interface is displayed. The driver performs a login operation on the login interface, enters the login information (username and password). In response to the driver's login operation, the computer device displays an image input interface. The driver performs an upload operation on the image input interface to upload the reference picture. In response to the driver's upload operation, the computer device obtains the reference picture.

[0052] Step 310: Obtain the second relative position information between the sticker and the vehicle in the reference picture.

[0053] The method for obtaining the second relative position information between the vehicle sticker and the vehicle in the reference picture can be the same as the method for obtaining the first relative position information between the vehicle sticker and the vehicle in the picture to be detected, which will not be elaborated here.

[0054] The abnormal behavior detection method provided by the embodiments of the present application includes obtaining a picture to be detected; the picture to be detected includes a vehicle and a vehicle sticker pasted on the vehicle; obtaining the first relative position information between the vehicle sticker and the vehicle in the picture to be detected; determining whether there is an abnormal behavior according to the first relative position information and the second relative position information; the second relative position information is the relative position information between the vehicle and the vehicle sticker obtained when the vehicle sticker is first pasted. In this embodiment, it is possible to directly determine whether there is an abnormal behavior based on the first relative position between the vehicle sticker and the vehicle in the obtained picture to be detected and the second relative position information. In this way, manual inspection is not required, which can avoid the situation of manual misdetection and inaccurate identification of whether there is an abnormal behavior, thereby improving the accuracy of abnormal behavior detection. Moreover, in this way, manual inspection is not required, which can reduce the consumption of manpower, material resources and time and reduce the inspection cost.

[0055] In one embodiment, as Figure 4 shown, it relates to an implementation method for obtaining the first relative position information between the vehicle sticker and the vehicle in the picture to be detected. The steps of this implementation method include:

[0056] Step 400: Determine the distance to be measured between the center of the vehicle sticker and the boundary of the vehicle.

[0057] The center of the vehicle sticker refers to the position that is equidistant from the four sides of the vehicle sticker. If the vehicle sticker is an irregular polygon, the center of the vehicle sticker can be the centroid of the vehicle sticker. This embodiment does not limit the method for determining the center of the vehicle sticker, as long as its function can be realized. The boundary of the vehicle can refer to the four sides on the side where the vehicle sticker is pasted on the vehicle, or the four corners on the side where the vehicle sticker is pasted on the vehicle.

[0058] The vehicle sticker is usually pasted inside the vehicle and is at a certain distance from the boundary of the vehicle. After the computer device obtains the picture to be detected, it analyzes the picture to be detected to determine the distance to be measured between the center of the vehicle sticker and the boundary of the vehicle.

[0059] In an optional embodiment, the computer device analyzes the picture to be detected to determine the vehicle sticker distance between the center of the vehicle sticker and the boundary of the picture to be detected, and the vehicle distance between the center of the vehicle and the boundary of the picture to be detected; according to the vehicle sticker distance, the vehicle distance, and the centers of the vehicle and the vehicle sticker, the distance to be measured between the center of the vehicle sticker and the boundary of the vehicle can be determined.

[0060] Step 410: Determine the first relative position information according to the distance to be measured.

[0061] After the computer device determines the distance to be measured between the center of the vehicle sticker and the boundary of the vehicle, it determines the first relative position information between the vehicle sticker and the vehicle according to the distance to be measured. That is to say, according to the distance to be measured between the center of the vehicle sticker and the boundary of the vehicle, the pasting position of the vehicle sticker on the vehicle is determined.

[0062] In this embodiment, by determining the distance to be measured between the center of the vehicle sticker and the boundary of the vehicle, the first relative position information between the vehicle sticker and the vehicle in the image to be detected is determined. The method of determining the first relative position information in this way is fast and easy to implement, and can improve the efficiency of detecting abnormal behaviors.

[0063] In one embodiment, as Figure 5 shown, an implementation manner for determining the distance to be measured between the center of the vehicle sticker and the boundary of the vehicle is involved. The steps of this implementation manner include:

[0064] Step 500: Obtain a first distance and a second distance between the center of the vehicle sticker and the boundary of the vehicle along a first direction, and obtain a third distance and a fourth distance between the center of the vehicle sticker and the boundary of the vehicle along a second direction; the included angle between the first direction and the second direction is greater than zero.

[0065] The first direction refers to the direction of a first straight line passing through the center of the vehicle sticker. The computer device obtains the first distance and the second distance between the center of the vehicle sticker and the boundary of the vehicle in the first direction. In other words, the first straight line passing through the center of the vehicle sticker has two intersection points with the boundary of the vehicle, and the distances between the center of the vehicle sticker and these two intersection points are the first distance and the second distance respectively.

[0066] The second direction refers to the direction of a second straight line passing through the center of the vehicle sticker. The included angle between the first direction and the second direction is greater than zero, that is, the first straight line and the second straight line do not coincide. The computer device obtains the third distance and the fourth distance between the center of the vehicle sticker and the boundary of the vehicle in the second direction. In other words, the second straight line passing through the center of the vehicle sticker has two intersection points with the boundary of the vehicle, and the distances between the center of the vehicle sticker and these two intersection points are the third distance and the fourth distance respectively.

[0067] In an alternative embodiment, the included angle between the first direction and the second direction is 90 degrees, that is, the first straight line and the second straight line are perpendicular to each other, and the first direction is parallel to the ground plane, and the second direction is perpendicular to the ground plane; the first distance and the second distance are the distances between the center of the vehicle sticker in the first direction and the side of the vehicle perpendicular to the ground plane, and the third distance and the fourth distance are the distances between the center of the vehicle sticker in the second direction and the side of the vehicle parallel to the ground plane. The image to be detected is as Figure 6 shown, Figure 6It includes vehicle 1 and decal 2. The first distance and the second distance in the first direction are x1 and x2 respectively, and the third distance and the fourth distance in the second direction are y1 and y2 respectively.

[0068] In another alternative embodiment, the first direction and the second direction respectively refer to the directions of the two diagonals formed by the four intersection points of the vehicle; the first distance and the second distance are the distances between the center of the decal and a pair of diagonal intersection points of the vehicle in the first direction, and the third distance and the fourth distance are the distances between the center of the decal and the other pair of diagonal intersection points of the vehicle in the second direction.

[0069] When the distances to be measured between the center of the obtained decal and the boundary of the vehicle include the first distance, the second distance, the third distance, and the fourth distance, the steps of an implementation manner for determining the first relative position information according to the distances to be measured include:

[0070] Step 510: Determine the first relative position information according to the first distance, the second distance, the third distance, and the fourth distance.

[0071] After the computer device obtains the first distance, the second distance, the third distance, and the third distance between the center of the decal and the boundary of the vehicle, it determines the first relative position information according to these four distances, that is, determines the position where the decal is pasted on the vehicle according to these four distances.

[0072] In this embodiment, it is specifically described that the distances to be measured between the center of the decal and the boundary of the vehicle are the first distance and the second distance in the first direction, and the third distance and the fourth distance in the second direction. According to the first distance, the second distance, the third distance, and the fourth distance, the first relative position information can be determined more accurately.

[0073] In one embodiment, when the distances to be measured between the center of the decal and the boundary of the vehicle include the first distance and the second distance in the first direction, and the third distance and the fourth distance in the second direction, the determined first relative position information includes the relative position in the first direction and the relative position in the second direction. As Figure 7 shown, an implementation manner for determining the first relative position information according to the first distance, the second distance, the third distance, and the fourth distance, the steps of this implementation manner include:

[0074] Step 700: Determine the first maximum distance between the first distance and the second distance, and determine the sum of the first distance and the second distance to obtain the first distance sum.

[0075] The computer device compares the first distance and the second distance in the first direction, takes the larger one of the first distance and the second distance as the first maximum distance, and calculates the sum of the first distance and the second distance to obtain the first distance sum.

[0076] Step 710: Determine the relative position in the first direction according to the first maximum distance and the sum of the first distances.

[0077] After the computer device determines the first maximum distance and the first distances in the first direction, it determines the relative position in the first direction according to the first maximum distance and the sum of the first distances, that is, calculates the ratio of the first maximum distance to the sum of the first distances to obtain the relative position in the first direction.

[0078] Step 720: Determine the second maximum distance among the third distance and the fourth distance, and determine the sum of the third distance and the fourth distance to obtain the second distance sum.

[0079] The computer device compares the third distance and the fourth distance in the second direction, takes the larger one of the third distance and the fourth distance as the second maximum distance, and calculates the sum of the third distance and the fourth distance to obtain the second distance sum.

[0080] Step 730: Determine the relative position in the second direction according to the second maximum distance and the second distance sum.

[0081] After the computer device determines the second maximum distance and the second distance sum in the second direction, it determines the relative position in the second direction according to the second maximum distance and the second distance sum, that is, calculates the ratio of the second maximum distance to the second distance sum to obtain the relative position in the second direction.

[0082] In this embodiment, the relative position in the first direction is determined by the first maximum distance and the sum of the first distances, and the relative position in the second direction is determined by the second maximum distance and the second distance sum. This can avoid the situation where the sticker is very close to the boundary of the vehicle, resulting in inaccurate detection of abnormal behavior based on the first relative position information and the second relative position information, thereby improving the accuracy of detecting abnormal behavior.

[0083] The computer device can use the above method for calculating the first relative position information to calculate the second relative position information between the sticker and the vehicle in the reference picture.

[0084] In one embodiment, as Figure 8 shown, it relates to an implementation manner of determining whether there is abnormal behavior according to the first relative position information and the second relative position information. The steps of this implementation manner include:

[0085] Step 800: Determine the difference between the first relative position information and the second relative position information.

[0086] After the computer device determines the first relative position information and the second relative position information, it calculates the difference between the first relative position information and the second relative position information. Calculating the difference can be subtracting the second relative position information from the first relative position, or subtracting the first relative position information from the second relative position information. This embodiment does not limit this.

[0087] Step 810: Determine whether there is an abnormal behavior according to the difference.

[0088] After the computer device determines the difference between the first relative position information and the second relative position information, it determines whether there is an abnormal behavior according to this difference.

[0089] In an optional embodiment, an implementation manner of determining whether there is an abnormal behavior according to the difference is involved. This implementation manner includes: The computer device can calculate the absolute value of the difference and compare the absolute value of the difference with a preset threshold; the preset threshold can be pre-set by the staff according to actual experience. If the absolute value of the difference is greater than the preset threshold, it means that the deviation between the first relative position information and the second relative position information is large, and it is determined that there is an abnormal behavior (cheating behavior); if the absolute value of the difference is less than or equal to the preset threshold, it means that the deviation between the first relative position information and the second relative position information is small, and it is determined that there is no abnormal behavior.

[0090] In an embodiment, as Figure 9 shown, another implementation manner of determining whether there is an abnormal behavior according to the difference is involved. The steps of this implementation manner include:

[0091] Step 900: If the difference is within the preset range, it is determined that there is no abnormal behavior.

[0092] The preset range can be pre-set by the staff according to actual experience. After the computer device obtains the difference between the first relative position information and the second relative position information, it determines whether the difference is within the preset range. If it is determined that the difference is within the preset range, it means that the deviation between the first relative position information and the second relative position information is small, and it is determined that there is no abnormal behavior.

[0093] Step 910: If the difference is outside the preset range, it is determined that there is an abnormal behavior.

[0094] If the computer device determines that the difference is outside the preset range, it means that the deviation between the first relative position information and the second relative position information is large, and it is determined that there is an abnormal behavior.

[0095] In an alternative embodiment, assuming the preset range is [0.8, 1.2], the computer device determines whether there is an abnormal behavior by calculating the absolute value of the difference and determining whether the absolute value of the difference is within the preset range. Assuming the preset ranges are [0.8, 1.2] and [-0.8, -1.2], the computer device determines whether there is an abnormal behavior by determining whether the difference is within the preset range.

[0096] In the above embodiment, whether there is an abnormal behavior is determined by calculating the difference between the first relative position information and the second relative position information. This method of determining abnormal behavior is fast and easy to implement. Moreover, the above embodiment provides two methods for determining whether there is an abnormal behavior based on the difference, and the user can choose according to actual needs, which can improve the practicability of the abnormal behavior detection method.

[0097] In one embodiment, when the first relative position information includes the relative position in the first direction and the relative position in the second direction, correspondingly, the second relative position information includes the first relative position in the first direction and the first relative position in the second direction. The method for determining the first relative position in the first direction and the first relative position in the second direction can be the same as the method for determining the relative position in the first direction and the relative position in the second direction, which will not be elaborated here.

[0098] In this case, one implementation manner for determining the difference between the first relative position information and the second relative position information includes:

[0099] Determining a first difference between the relative position in the first direction and the first relative position in the first direction, and determining a second difference between the relative position in the second direction and the first relative position in the second direction.

[0100] When the first relative position information includes the relative position in the first direction and the relative position in the second direction, and the second relative position information includes the first relative position in the first direction and the first relative position in the second direction, the difference between the first relative position information and the second relative position information includes the first difference and the second difference. That is, the computer device calculates the difference between the relative position in the first direction and the first relative position in the first direction to obtain the first difference; calculates the difference between the relative position in the second direction and the first relative position in the second direction to obtain the second difference.

[0101] In one embodiment, when the difference includes the first difference and the second difference, one implementation manner for determining whether there is an abnormal behavior based on the difference includes:

[0102] If both the first difference and the second difference are within the preset range, it is determined that there is no abnormal behavior; if the first difference or the second difference is outside the preset range, it is determined that there is abnormal behavior.

[0103] The computer device determines whether there is abnormal behavior by comparing whether the first difference is within the preset range and whether the second difference is within the preset range. Only when both the first difference and the second difference are within the preset range can it be determined that there is no abnormal behavior; if at least one of the first difference and the second difference is within the preset range, it is determined that there is abnormal behavior.

[0104] In another embodiment, in the case where the difference includes the first difference and the second difference, another implementation manner for determining whether there is abnormal behavior according to the difference includes:

[0105] If the first difference or the second difference is greater than the preset threshold, it is determined that there is abnormal behavior; if both the first difference and the second difference are less than or equal to the preset threshold, it is determined that there is no abnormal behavior.

[0106] The computer determines whether there is abnormal behavior by comparing the first difference with the preset threshold and the second difference with the preset threshold. If at least one of the first difference and the second difference is greater than the preset threshold, it is determined that there is abnormal behavior; if both the first difference and the second difference are less than or equal to the preset threshold, it is determined that there is no abnormal behavior.

[0107] In this embodiment, a method for calculating the difference between the first relative position information and the second relative position information is proposed in the case where the first relative position information includes the relative position in the first direction and the relative position in the second direction, and the second relative position information includes the first relative position in the first direction and the first relative position in the second direction, as well as a specific method for determining abnormal behavior according to the calculated difference. This makes the abnormal behavior detection method more practical.

[0108] In one embodiment, as Figure 10 shown, an implementation manner for determining that there is the abnormal behavior if the difference is outside the preset range includes the following steps:

[0109] Step 101, if the difference is outside the preset range, it is determined that there is a suspected abnormal behavior, and a prompt message is displayed on the quality inspection interface.

[0110] During the detection of abnormal behavior, the display interface of the computer device includes a quality inspection interface. After comparing the difference value with the preset range, if the computer device determines that the difference value is outside the preset range, indicating that there is a large deviation between the first relative position information and the second relative position information, it determines that there is a suspected abnormal behavior. At the same time, a prompt message will be displayed in the quality inspection interface of the computer device, and this prompt message is used to prompt the staff that there is a suspected abnormal behavior during the detection process.

[0111] In an optional embodiment, when the computer device determines that there is a suspected abnormal behavior, a prompt box will pop up in the quality inspection interface, and the prompt message will be displayed in the prompt box. For example, the prompt message is "There is a suspected abnormal behavior in the XX picture to be detected".

[0112] In another optional embodiment, when the computer device determines that there is a suspected abnormal behavior, it will emit a prompt sound and mark the picture to be detected with a suspected abnormal behavior in the quality inspection interface. For example, the picture to be detected with a suspected abnormal behavior is highlighted, or a mark is added beside the picture to be detected with a suspected abnormal behavior.

[0113] Step 102: In response to the user's confirmation operation on the quality inspection interface based on the prompt message, determine the suspected abnormal behavior as an abnormal behavior.

[0114] After receiving the prompt message, the user (staff) will observe the picture to be detected with a suspected abnormal behavior displayed on the quality inspection interface based on the prompt message to confirm the suspected abnormal behavior. If the staff confirms that the picture to be detected with a suspected abnormal behavior actually has an abnormal behavior, a confirmation operation is performed on the quality inspection interface, and the computer device, in response to this confirmation operation, determines the suspected abnormal behavior as an abnormal behavior. If the staff confirms that the picture to be detected with a suspected abnormal behavior does not have an abnormal behavior, a cancellation operation is performed on the quality inspection interface, and the computer device, in response to this cancellation operation, determines that the suspected abnormal behavior does not exist.

[0115] In an optional embodiment, under the picture to be detected with a suspected abnormal behavior, there are a confirmation control and a cancellation control. The computer device, in response to the staff's triggering operation on the confirmation control, determines the suspected abnormal behavior as an abnormal behavior; the computer device, in response to the staff's triggering operation on the cancellation control, determines that the suspected abnormal behavior does not exist.

[0116] In this embodiment, when it is determined that the difference between the first relative position information and the second relative position information is outside the preset range, it is determined that there is a suspected abnormal behavior, and the user observes to determine whether the suspected abnormal behavior is an abnormal behavior. In this way, in the case where a suspected abnormal behavior is determined through the difference, and then through manual detection, it is possible to prevent misdetection during the process of detecting abnormal behavior through the difference, thereby improving the practicability and reliability of the abnormal behavior detection method.

[0117] In one embodiment, when a computer device determines whether there is an abnormal behavior based on the first relative position information and the second relative position information, it will display the quality inspection result on the quality inspection interface; the quality inspection result includes passing the quality inspection or failing the quality inspection. In the case where it is determined that there is an abnormal behavior, it will display "failed quality inspection" on the quality inspection interface, and in the case where it is determined that there is no abnormal behavior, it will display "passed quality inspection" on the quality inspection interface.

[0118] After the computer device determines the quality inspection result, it can send the quality inspection result to the corresponding driver via text message or other means; or the driver can query the quality inspection result by logging in to the quality inspection software.

[0119] An embodiment of the present application provides an abnormal behavior detection method, and the steps of the method include:

[0120] Step S1, obtain a reference picture; the reference picture includes the vehicle when the car sticker is pasted for the first time and the car sticker pasted on the vehicle;

[0121] Step S2, obtain the reference distance between the center of the car sticker in the reference picture and the boundary of the vehicle; the reference distance includes the fifth distance and the sixth distance in the first direction, and the seventh distance and the eighth distance in the second direction; the included angle between the first direction and the second direction is greater than zero;

[0122] Step S3, determine the third maximum distance among the fifth distance and the sixth distance, and the sum of the fifth distance and the sixth distance, to obtain the third distance sum;

[0123] Step S4, calculate the ratio of the third maximum distance to the third distance sum to obtain the first relative position in the first direction;

[0124] Step S5, determine the fourth maximum distance among the seventh distance and the eighth distance, and the sum of the seventh distance and the eighth distance, to obtain the fourth distance sum;

[0125] Step S6, calculate the ratio of the fourth maximum distance to the fourth distance sum to obtain the second relative position in the second direction;

[0126] The reference picture is as Figure 11 shown, Figure 11It includes vehicle 1 and sticker 2. The fifth distance and the sixth distance in the first direction are x3 and x4 respectively, and the seventh distance and the eighth distance in the second direction are y3 and y4 respectively.

[0127] Step S7: Obtain the image to be detected; the image to be detected includes the vehicle and the sticker pasted on the vehicle during the quality inspection process.

[0128] Step S8: Obtain the distance to be measured between the center of the sticker and the boundary of the vehicle in the image to be detected; the distance to be measured includes the first distance and the second distance in the first direction, and the third distance and the fourth distance in the second direction.

[0129] Step S9: Determine the first maximum distance among the first distance and the second distance, and determine the sum of the first distance and the second distance to obtain the first distance sum.

[0130] Step S10: Determine the relative position in the first direction according to the first maximum distance and the first distance sum.

[0131] Step S11: Determine the second maximum distance among the third distance and the fourth distance, and determine the sum of the third distance and the fourth distance to obtain the second distance sum.

[0132] Step S12: Determine the relative position in the second direction according to the second maximum distance and the second distance sum.

[0133] Step S13: Determine the first difference between the relative position in the first direction and the first relative position in the first direction, and determine the second difference between the relative position in the second direction and the first relative position in the second direction.

[0134] Step S14: If both the first difference and the second difference are within the preset range, it is determined that there is no abnormal behavior.

[0135] Step S15: If the first difference or the second difference is outside the preset range, it is determined that there is a suspected abnormal behavior, and a prompt message is displayed on the quality inspection interface.

[0136] Step S16: In response to the user's confirmation operation on the quality inspection interface based on the prompt message, the suspected abnormal behavior is determined as an abnormal behavior.

[0137] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are sequentially shown according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.

[0138] Based on the same inventive concept, an embodiment of the present application also provides an abnormal behavior detection device for implementing the abnormal behavior detection method described above. The implementation solution provided by this device to solve the problem is similar to the implementation solution described in the above method. Therefore, the specific limitations in one or more embodiments of the abnormal behavior detection device provided below can refer to the limitations on the abnormal behavior detection method in the above text, and will not be repeated here.

[0139] In one embodiment, as Figure 12 shown, an abnormal behavior detection device 10 is provided, including: a picture acquisition module 11, an information acquisition module 12, and a determination module 13, where:

[0140] The picture acquisition module 11 is used to acquire a picture to be detected; the picture to be detected includes a vehicle and a sticker pasted on the vehicle.

[0141] The information acquisition module 12 is used to acquire the first relative position information between the sticker and the vehicle in the picture to be detected.

[0142] The determination module 13 is used to determine whether there is an abnormal behavior according to the first relative position information and the second relative position information; the second relative position information is the relative position information between the vehicle and the sticker obtained when the vehicle first pasted the sticker.

[0143] In one embodiment, the information acquisition module 12 includes a distance determination unit and an information determination unit. The distance determination unit is used to determine the distance to be measured between the center of the sticker and the boundary of the vehicle; the information determination unit is used to determine the first relative position information according to the distance to be measured.

[0144] In one embodiment, the distance determination unit is specifically configured to obtain a first distance and a second distance between the center of the vehicle sticker and the boundary of the vehicle along a first direction, and a third distance and a fourth distance between the center of the vehicle sticker and the boundary of the vehicle along a second direction; the included angle between the first direction and the second direction is greater than zero; the information determination unit is specifically configured to determine first relative position information according to the first distance, the second distance, the third distance, and the fourth distance.

[0145] In one embodiment, the information determination unit includes a first determination subunit, a second determination subunit, a third determination subunit, and a fourth determination subunit. The first determination subunit is configured to determine a first maximum distance between the first distance and the second distance, and determine the sum of the first distance and the second distance to obtain a first distance sum; the second determination subunit is configured to determine the relative position in the first direction according to the first maximum distance and the first distance sum; the third determination subunit is configured to determine a second maximum distance between the third distance and the fourth distance, and determine the sum of the third distance and the fourth distance to obtain a second distance sum; the fourth determination subunit is configured to determine the relative position in the second direction according to the second maximum distance and the second distance sum.

[0146] In one embodiment, the determination module includes a difference determination unit and a behavior determination unit. The difference determination unit is configured to determine the difference between the first relative position information and the second relative position information; the behavior determination unit is configured to determine whether there is an abnormal behavior according to the difference.

[0147] In one embodiment, the behavior determination unit is specifically configured to determine that there is no abnormal behavior if the difference is within a preset range; and determine that there is an abnormal behavior if the difference is outside the preset range.

[0148] In one embodiment, the difference determination unit is specifically configured to determine a first difference between the relative position in the first direction and the first relative position in the first direction, and determine a second difference between the relative position in the second direction and the first relative position in the second direction.

[0149] In one embodiment, the behavior determination unit is specifically further configured to determine that there is a suspected abnormal behavior if the difference is outside the preset range, and display a prompt message on the quality inspection interface; in response to a confirmation operation of the user on the quality inspection interface based on the prompt message, determine the suspected abnormal behavior as an abnormal behavior.

[0150] Each module in the above abnormal behavior detection device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor of the computer device in hardware form or be independent of it, or can be stored in the memory of the computer device in software form so that the processor can call and execute the operations corresponding to the above respective modules.

[0151] In one embodiment, a computer device is provided, and its internal structure diagram can be as Figure 1 shown. Those skilled in the art can understand that Figure 1 the structure shown in

[0152] is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0153] Obtain a picture to be detected; the picture to be detected includes a vehicle and a sticker pasted on the vehicle;

[0154] Obtain the first relative position information between the sticker and the vehicle in the picture to be detected;

[0155] Determine whether there is an abnormal behavior according to the first relative position information and the second relative position information; the second relative position information is the relative position information between the vehicle and the sticker obtained when the vehicle first pasted the sticker.

[0156] In one embodiment, when the processor executes the computer program, the following steps are further implemented: determine the distance to be measured between the center of the sticker and the boundary of the vehicle; determine the first relative position information according to the distance to be measured.

[0157] In one embodiment, when the processor executes the computer program, the following steps are further implemented: obtain a first distance and a second distance between the center of the sticker and the boundary of the vehicle along a first direction, and obtain a third distance and a fourth distance between the center of the sticker and the boundary of the vehicle along a second direction; the included angle between the first direction and the second direction is greater than zero; determine the first relative position information according to the first distance, the second distance, the third distance, and the fourth distance.

[0158] In one embodiment, when the processor executes the computer program, the following steps are further implemented: determine the first maximum distance between the first distance and the second distance, and determine the sum of the first distance and the second distance to obtain the first distance sum; determine the relative position in the first direction according to the first maximum distance and the first distance sum; determine the second maximum distance between the third distance and the fourth distance, and determine the sum of the third distance and the fourth distance to obtain the second distance sum; determine the relative position in the second direction according to the second maximum distance and the second distance sum.

[0159] In one embodiment, when the processor executes the computer program, the following steps are further implemented: determining the difference between the first relative position information and the second relative position information; and determining whether there is an abnormal behavior according to the difference.

[0160] In one embodiment, when the processor executes the computer program, the following steps are further implemented: if the difference is within a preset range, determining that there is no abnormal behavior; if the difference is outside the preset range, determining that there is an abnormal behavior.

[0161] In one embodiment, when the processor executes the computer program, the following steps are further implemented: determining a first difference between the relative position in the first direction and the first relative position in the first direction, and determining a second difference between the relative position in the second direction and the first relative position in the second direction.

[0162] In one embodiment, when the processor executes the computer program, the following steps are further implemented: if the difference is outside the preset range, determining that there is a suspected abnormal behavior and displaying a prompt message on the quality inspection interface; in response to a confirmation operation of the user on the quality inspection interface based on the prompt message, determining the suspected abnormal behavior as an abnormal behavior.

[0163] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0164] Obtaining a picture to be detected; the picture to be detected includes a vehicle and a sticker pasted on the vehicle;

[0165] Obtaining first relative position information between the sticker and the vehicle in the picture to be detected;

[0166] Determining whether there is an abnormal behavior according to the first relative position information and the second relative position information; the second relative position information is the relative position information between the vehicle and the sticker obtained when the sticker is first pasted on the vehicle.

[0167] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: determining a distance to be measured between the center of the sticker and the boundary of the vehicle; and determining the first relative position information according to the distance to be measured.

[0168] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: obtaining a first distance and a second distance between the center of the sticker and the boundary of the vehicle along a first direction, and obtaining a third distance and a fourth distance between the center of the sticker and the boundary of the vehicle along a second direction; the included angle between the first direction and the second direction is greater than zero; and determining the first relative position information according to the first distance, the second distance, the third distance, and the fourth distance.

[0169] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: determining a first maximum distance among a first distance and a second distance, and determining a sum of the first distance and the second distance to obtain a first distance sum; determining a relative position in a first direction according to the first maximum distance and the first distance sum; determining a second maximum distance among a third distance and a fourth distance, and determining a sum of the third distance and the fourth distance to obtain a second distance sum; determining a relative position in a second direction according to the second maximum distance and the second distance sum.

[0170] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: determining a difference between a first relative position information and a second relative position information; determining whether there is an abnormal behavior according to the difference.

[0171] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: if the difference is within a preset range, determining that there is no abnormal behavior; if the difference is outside the preset range, determining that there is an abnormal behavior.

[0172] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: determining a first difference between a relative position in a first direction and a first relative position at the first time in the first direction, and determining a second difference between a relative position in a second direction and a first relative position at the first time in the second direction.

[0173] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: if the difference is outside the preset range, determining that there is a suspected abnormal behavior and displaying a prompt message on a quality inspection interface; in response to a confirmation operation of a user on the quality inspection interface based on the prompt message, determining the suspected abnormal behavior as an abnormal behavior.

[0174] In one embodiment, a computer program product is provided, including a computer program, which when executed by a processor, implements the following steps:

[0175] Obtaining a picture to be detected; the picture to be detected includes a vehicle and a sticker pasted on the vehicle;

[0176] Obtaining first relative position information between the sticker and the vehicle in the picture to be detected;

[0177] Determining whether there is an abnormal behavior according to the first relative position information and a second relative position information; the second relative position information is the relative position information between the vehicle and the sticker obtained when the vehicle first pasted the sticker.

[0178] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: determining a distance to be measured between the center of the sticker and the boundary of the vehicle; determining the first relative position information according to the distance to be measured.

[0179] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: obtaining a first distance and a second distance between the center of the decal and the boundary of the vehicle along a first direction, and obtaining a third distance and a fourth distance between the center of the decal and the boundary of the vehicle along a second direction; the included angle between the first direction and the second direction is greater than zero; determining first relative position information based on the first distance, the second distance, the third distance, and the fourth distance.

[0180] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: determining a first maximum distance among the first distance and the second distance, and determining the sum of the first distance and the second distance to obtain a first distance sum; determining the relative position in the first direction based on the first maximum distance and the first distance sum; determining a second maximum distance among the third distance and the fourth distance, and determining the sum of the third distance and the fourth distance to obtain a second distance sum; determining the relative position in the second direction based on the second maximum distance and the second distance sum.

[0181] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: determining the difference between the first relative position information and the second relative position information; determining whether there is an abnormal behavior based on the difference.

[0182] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: if the difference is within a preset range, determining that there is no abnormal behavior; if the difference is outside the preset range, determining that there is an abnormal behavior.

[0183] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: determining a first difference between the relative position in the first direction and the first relative position in the first direction, and determining a second difference between the relative position in the second direction and the first relative position in the second direction.

[0184] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: if the difference is outside the preset range, determining that there is a suspected abnormal behavior and displaying a prompt message on the quality inspection interface; in response to a confirmation operation by the user on the quality inspection interface based on the prompt message, determining the suspected abnormal behavior as an abnormal behavior.

[0185] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memory can include Read-Only Memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.

[0186] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.

[0187] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims

1. An abnormal behavior detection method, characterized in that, The method includes: Obtaining a picture to be detected; the picture to be detected includes a vehicle and a sticker pasted on the vehicle; Obtaining first relative position information between the sticker and the vehicle in the picture to be detected; Determining whether there is an abnormal behavior according to the first relative position information and second relative position information; the second relative position information is the relative position information between the vehicle and the sticker obtained when the vehicle first pasted the sticker.

2. The method according to claim 1, wherein The obtaining of the first relative position information between the sticker and the vehicle in the picture to be detected includes: Determining a distance to be measured between the center of the sticker and the boundary of the vehicle; Determining the first relative position information according to the distance to be measured.

3. The method according to claim 2, wherein The determining of the distance to be measured between the center of the sticker and the boundary of the vehicle includes: Obtaining a first distance and a second distance between the center of the sticker and the boundary of the vehicle along a first direction, and obtaining a third distance and a fourth distance between the center of the sticker and the boundary of the vehicle along a second direction; the included angle between the first direction and the second direction is greater than zero; The determining of the first relative position information according to the distance to be measured includes: Determining the first relative position information according to the first distance, the second distance, the third distance and the fourth distance.

4. The method according to claim 3, wherein The first relative position information includes the relative position in the first direction and the relative position in the second direction. The determining of the first relative position information according to the first distance, the second distance, the third distance and the fourth distance includes: Determining a first maximum distance between the first distance and the second distance, and determining the sum of the first distance and the second distance to obtain a first distance sum; Determining the relative position in the first direction according to the first maximum distance and the first distance sum; Determining a second maximum distance between the third distance and the fourth distance, and determining the sum of the third distance and the fourth distance to obtain a second distance sum; Determining the relative position in the second direction according to the second maximum distance and the second distance sum.

5. The method according to any one of claims 1-4, characterized in that, The determining of whether there is an abnormal behavior according to the first relative position information and the second relative position information includes: Determining the difference between the first relative position information and the second relative position information; Determining whether there is the abnormal behavior according to the difference.

6. The method according to claim 5, wherein The determining of whether there is the abnormal behavior according to the difference includes: If the difference is within a preset range, determining that there is no such abnormal behavior; If the difference is outside the preset range, determining that there is such abnormal behavior.

7. The method according to claim 5, characterized in that, The first relative position information includes the relative position in the first direction and the relative position in the second direction, and the second relative position information includes the first relative position in the first direction and the first relative position in the second direction. The determining of the difference between the first relative position information and the second relative position information includes: Determine a first difference between the relative position in the first direction and the first relative position in the first direction, and determine a second difference between the relative position in the second direction and the first relative position in the second direction.

8. The method according to claim 6, wherein If the difference is outside the preset range, determining that there is the abnormal behavior includes: If the difference is outside the preset range, determine that there is a suspected abnormal behavior and display a prompt message on the quality inspection interface; In response to a confirmation operation of the user on the quality inspection interface based on the prompt message, determine the suspected abnormal behavior as the abnormal behavior.

9. An abnormal behavior detection device, characterized in that, The device includes: An image acquisition module, configured to acquire a to-be-detected image; the to-be-detected image includes a vehicle and a vehicle sticker pasted on the vehicle; An information acquisition module, configured to acquire first relative position information between the vehicle sticker and the vehicle in the to-be-detected image; A determination module, configured to determine whether there is an abnormal behavior according to the first relative position information and second relative position information; the second relative position information is relative position information between the vehicle and the vehicle sticker acquired when the vehicle first pasted the vehicle sticker.

10. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 8 are implemented.

12. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 8 are implemented.