Parking space camera debugging method and related equipment

By generating calibration lines in the parking space camera screen and covering them by the target parking space line, the complex problem of parking space camera debugging is solved, and a more intuitive and efficient debugging process is achieved.

CN119540506APending Publication Date: 2025-02-28ZHEJIANG UNIVIEW TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311121321.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-31
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

In the prior art, parking space camera debugging is complicated, and it is difficult to intuitively feel whether the license plate can be detected and identified normally, resulting in a cumbersome debugging process.

Method used

By obtaining the length of the license plate and the length of the target parking space line, a calibration line is generated in the camera screen based on the license plate pixel recognition threshold, and the parking space camera is debugged so that the calibration line is covered by the target parking space line.

Benefits of technology

It reduces the complexity of parking space camera debugging, making the debugging process more intuitive and efficient.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119540506A_ABST
    Figure CN119540506A_ABST
Patent Text Reader

Abstract

The invention provides a parking space camera debugging method and related equipment, and relates to the technical field of road parking management, and the method comprises the steps: obtaining the length of a license plate and the length of a target parking space line; the target parking space line is the parking space line farthest from the parking space camera; generating a calibration line in the camera picture based on the license plate pixel recognition threshold, the length of the license plate and the length of the target parking space line; and debugging the parking space camera so that the calibration line in the camera picture is covered by the target parking space line. According to the invention, the debugging complexity of the parking space camera is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of road parking management, and in particular to a parking space camera debugging method and related equipment. Background Art

[0002] Based on the current development of urban parking spaces, the management of roadside parking spaces has become increasingly important. The mainstream solutions for roadside parking space management include video detection, geomagnetic detection, and video combined with geomagnetic detection.

[0003] Regarding the pure video detection solution, since the video detection algorithm has requirements on the pixel size of the license plate during recognition, and construction workers cannot intuitively feel whether normal detection and recognition can be performed, actual sports cars are usually required for verification, which makes the debugging of parking cameras very complicated. Summary of the invention

[0004] The present invention provides a parking camera debugging method and related equipment, which are used to solve the defect of complex parking camera debugging in the prior art and reduce the debugging complexity of the parking camera.

[0005] The present invention provides a parking camera debugging method, comprising:

[0006] Obtain the length of the license plate and the length of the target parking space line; the target parking space line is the parking space line farthest from the parking space camera;

[0007] Generating a calibration line in the camera image based on a license plate pixel recognition threshold, a length of the license plate, and a length of the target parking space line;

[0008] The parking space camera is debugged so that the calibration line is covered by the target parking space line in the camera image.

[0009] In some embodiments, generating a calibration line in the camera image based on the license plate pixel recognition threshold, the length of the license plate, and the length of the target parking space line includes:

[0010] Divide the license plate pixel recognition threshold by the length of the license plate, and multiply by the length of the target parking space line to obtain the pixel difference of the calibration line in the camera image;

[0011] The calibration line is generated in the camera picture according to the pixel difference of the calibration line in the camera picture.

[0012] In some embodiments, the expression of the pixel difference of the calibration line in the camera image is as follows:

[0013] Q=(δ / b)*a

[0014] Wherein, Q represents the pixel difference of the calibration line in the camera image, δ represents the license plate pixel recognition threshold, b represents the length of the license plate, and a represents the length of the target parking space line.

[0015] In some embodiments, debugging the parking space camera includes:

[0016] At least one of the pan / tilt position, zoom parameter and focus parameter of the parking space camera is debugged.

[0017] In some embodiments, before debugging the parking space camera, the method further includes:

[0018] The target parking space line is generated in the camera image according to the length of the target parking space line and the conversion coefficient between the camera image and the real scene.

[0019] In some embodiments, the license plate pixel recognition threshold is determined based on the ability of the parking space camera to execute a license plate recognition algorithm.

[0020] The present invention also provides a parking camera debugging device, comprising:

[0021] An acquisition module, used to acquire the length of the license plate and the length of the target parking space line; the target parking space line is the parking space line farthest from the parking space camera;

[0022] A first generating module, configured to generate a calibration line in a camera image based on a license plate pixel recognition threshold, a length of the license plate, and a length of the target parking space line;

[0023] The debugging module is used to debug the parking space camera so that the calibration line is covered by the target parking space line in the camera image.

[0024] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a parking space camera debugging method as described above is implemented.

[0025] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the parking space camera debugging method described in any one of the above methods is implemented.

[0026] The present invention also provides a computer program product, including a computer program, and when the computer program is executed by a processor, the parking space camera debugging method as described in any one of the above is implemented.

[0027] The parking camera debugging method and related equipment provided by the present invention generate a calibration line in the camera image through the license plate pixel recognition threshold, the length of the license plate and the length of the target parking space line, so that the parking camera can be debugged with the purpose of making the calibration line covered by the target parking space line in the camera image, thereby reducing the complexity of parking camera debugging. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0029] Figure 1 It is a schematic diagram of an application scenario provided by the present invention;

[0030] Figure 2 It is a flow chart of the parking space camera debugging method provided by the present invention;

[0031] Figure 3 is a schematic diagram of standard lines in a camera image provided by the present invention;

[0032] Figure 4 It is a structural schematic diagram of the parking space camera debugging device provided by the present invention;

[0033] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other in the absence of conflict. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0035] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0036] It should be further noted that, in this article, the terms "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0037] In the present invention, "at least one" means one or more, and "more than one" means two or more than two. The terms "first", "second", "third", "fourth", etc. (if any) in the present invention are used to distinguish similar objects, rather than to describe a specific order or sequence.

[0038] In the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0039] Please refer to Figure 1 , Figure 1 : is a schematic diagram of an application scenario provided by the present invention. A high pole is located beside a roadside, a parking space camera is installed on the high pole, and there are multiple parking spaces on the roadside, such as parking space 1, parking space 2, parking space 3, parking space 4, and parking space 5. The parking space camera monitors multiple parking spaces to identify whether the parking spaces are occupied by vehicles.

[0040] Please refer to Figure 2 , Figure 2 The present invention provides a parking camera debugging method, the execution subject of which is a parking camera, and the method comprises:

[0041] Step 210, obtaining the length of the license plate and the length of the target parking space line; the target parking space line is the parking space line farthest from the parking space camera.

[0042] Specifically, generally speaking, it is most difficult for a parking camera to monitor the parking space farthest from it, and it is also most difficult to identify the vehicle entering the farthest parking space. Therefore, when a vehicle enters the farthest parking space, the pixels of the license plate are theoretically the smallest compared to when the vehicle enters the remaining parking spaces. Therefore, as long as the corresponding license plate pixels meet the recognition requirements when the vehicle enters the farthest parking space, it can be determined that the vehicle also meets the recognition requirements when it enters the remaining parking spaces.

[0043] The parking camera obtains the length of the license plate, which is denoted as b. The license plate can be a standard size license plate, for example, the length of the license plate is 440 mm and the width of the license plate is 140 mm. The license plate can also be a non-standard size license plate.

[0044] The target parking space line is the parking space line farthest from the parking camera. Figure 1 As shown, the target parking space line is parking space line AB. The parking space camera obtains the length of the target parking space line, which is a. The parking space where the target parking space line is located can be a standard parking space, for example, the width of the parking space is 2500mm (that is, the length of the target parking space line is 2500mm), and the length of the parking space is 6000mm. The parking space where the target parking space line is located can also be a non-standard parking space. In some embodiments, the target parking space line length and the license plate length can be manually input by the debugging personnel according to the actual situation.

[0045] Step 220 , generating a calibration line in the camera image based on the license plate pixel recognition threshold, the length of the license plate and the length of the target parking space line.

[0046] Specifically, the license plate pixel recognition threshold is δ, which is determined according to the ability of the parking camera to execute the license plate recognition algorithm. If the parking camera has a stronger ability to execute the license plate recognition algorithm, the license plate pixel recognition threshold δ is smaller. For example, the license plate pixel recognition threshold δ is 90 pixels.

[0047] The pixel difference Y of the license plate in the camera image should be at least equal to the license plate pixel recognition threshold δ, so that the license plate can be detected and recognized.

[0048] Therefore, the parking camera can determine the ratio between the license plate pixel recognition threshold and the length of the license plate, and then based on this ratio and the length of the target parking line, it can determine the minimum pixel difference between the two ends of the target parking line in the camera image, and record this minimum pixel difference as Q.

[0049] The parking space camera generates a line segment with a pixel difference of Q in the camera image, and uses the line segment as the calibration line.

[0050] Optionally, when the installation direction of the parking camera is parallel to the shooting direction, the inclination angle of the calibration line in the camera image is 0, and the pixel difference Q is the horizontal pixel difference. When there is an inclination angle between the installation direction of the parking camera and the shooting direction, the parking camera can adaptively generate a calibration line with an inclination angle according to the installation direction and the shooting direction of the parking camera, and the pixel difference Q is the pixel difference between the two ends of the calibration line.

[0051] In some embodiments, considering that in practice there is always a distance between the license plate and the target parking line, and due to the principle that things appear larger when they are closer and smaller when they are farther away, the ratio between the pixels of the license plate in the camera image and the pixels of the target parking line in the camera image is not necessarily equal to the ratio between the length of the license plate and the length of the target parking line.

[0052] Therefore, when the license plate is not on the target parking line, the parking camera can accurately calculate the pixel difference of the calibration line in the camera image based on the license plate pixel recognition threshold, the length of the license plate, the length of the target parking line, the distance from the license plate to the parking camera, and the distance from the target parking line to the parking camera.

[0053] Step 230: debug the parking space camera so that the calibration line is covered by the target parking space line in the camera image.

[0054] Specifically, after determining the calibration line, the parking space camera automatically performs debugging so that the target parking space line covers the calibration line in the camera image. The parking space camera also re-determines the positions of the remaining parking space lines in the camera image according to the target parking space line in the camera image after debugging.

[0055] Figure 3 is a schematic diagram of the standard lines in the camera image provided by the present invention, such as Figure 3 As shown, in the camera image, the calibration line is line segment CD, and the target parking space line is line segment AB. The parking space camera is debugged so that the target parking space line AB covers the calibration line CD.

[0056] The parking space camera debugging method provided by the present invention generates a calibration line in the camera image through the license plate pixel recognition threshold, the length of the license plate and the length of the target parking space line, so that the parking space camera can be debugged with the purpose of making the calibration line covered by the target parking space line in the camera image, thereby reducing the complexity of the parking space camera debugging.

[0057] In some embodiments, generating a calibration line in the camera image based on the license plate pixel recognition threshold, the length of the license plate, and the length of the target parking space line includes:

[0058] Divide the license plate pixel recognition threshold by the length of the license plate, and then multiply it by the length of the target parking space line to get the pixel difference of the calibration line in the camera image;

[0059] A calibration line is generated in the camera picture according to the pixel difference of the calibration line in the camera picture.

[0060] Specifically, assuming that the pixel difference between the two ends of the target parking space line in the camera image is X, the conversion coefficient N between the camera image and the real scene can be determined based on the pixel difference X and the length a of the target parking space line. The conversion coefficient N is equal to the pixel difference X divided by the length a of the target parking space line, that is, N=X / a.

[0061] According to the conversion coefficient N and the length b of the license plate, the pixel difference Y of the license plate in the camera image can be determined, that is, Y=N*b.

[0062] Since the pixel difference Y of the license plate in the camera image should be at least equal to the license plate pixel recognition threshold δ, the license plate pixel recognition threshold δ≤N*b. Combined with N=X / a, it can be determined that the pixel difference X is at least equal to the license plate pixel recognition threshold δ divided by the length of the license plate b, multiplied by the length of the target parking space line a.

[0063] The license plate pixel recognition threshold δ is divided by the length of the license plate b, and then multiplied by the length of the target parking space line a as the pixel difference Q of the standard line in the camera image to ensure that X is equal to or greater than Q, so that the target parking space line covers the calibration line in the camera image.

[0064] According to the pixel difference Q of the standard line in the camera picture, the parking space camera generates a calibration line in the camera picture with a pixel difference of Q. There is no limit on the position of the calibration line, and the calibration line can be pulled arbitrarily in the camera picture.

[0065] The parking space camera debugging method provided by the present invention determines the pixel difference of the calibration line in the camera picture so as to more accurately generate the calibration line in the camera picture, thereby further facilitating the precise debugging of the parking space camera.

[0066] In some embodiments, the expression for the pixel difference of the calibration line in the camera image is as follows:

[0067] Q=(δ / b)*a

[0068] Where Q represents the pixel difference of the calibration line in the camera image, δ represents the license plate pixel recognition threshold, b represents the length of the license plate, and a represents the length of the target parking space line.

[0069] For example, when the license plate is of standard size and the parking space where the target parking space line is located is a standard parking space, that is, the length of the license plate is 440mm, the width of the license plate is 140mm, the width of the parking space is 2500mm (that is, the length of the target parking space line is 2500mm), and the length of the parking space is 6000mm. Assume that the license plate pixel recognition threshold δ is 90 pixels. Then the pixel difference Q of the calibration line in the camera image is (90 / 440)*2500=510 pixels.

[0070] The parking space camera debugging method provided by the present invention further improves the accuracy of generating the calibration line by clarifying the calculation formula of the pixel difference of the calibration line in the camera image.

[0071] In some embodiments, debugging the parking space camera includes:

[0072] At least one of the pan / tilt position, zoom parameter, and focus parameter of the parking camera is debugged.

[0073] Specifically, the parking camera is automatically debugged, and the debugging content includes one or more of the pan / tilt position, zoom parameter, and focus parameter. Debugging the pan / tilt position can change the direction of the parking camera lens, debugging the zoom parameter can change the size of the object in the camera picture, and debugging the focus parameter can change the clarity of the object in the camera picture.

[0074] With the purpose of making the calibration line in the camera image covered by the target parking space line, the parking space camera automatically debugs at least one of the pan / tilt position, zoom parameter and focus parameter.

[0075] The parking space camera debugging method provided by the present invention further facilitates the calibration line to be covered by the target parking space line in the camera image by debugging at least one of the pan / tilt position, zoom parameter and focus parameter.

[0076] In some embodiments, before debugging the parking space camera, the method further includes:

[0077] The target parking space line is generated in the camera image according to the length of the target parking space line and the conversion coefficient between the camera image and the real scene.

[0078] Specifically, before automatic debugging, the parking space camera determines the conversion coefficient N between the camera screen and the real scene, and then determines the pixel difference of the target parking space line in the camera screen according to the length a of the target parking space line and the conversion coefficient N between the camera screen and the real scene. Finally, the target parking space line is generated in the camera screen according to the pixel difference of the target parking space line in the camera screen.

[0079] The parking space camera debugging method provided by the present invention realizes accurate generation of the target parking space line in the camera picture through the length of the target parking space line and the conversion coefficient between the camera picture and the real scene, thereby facilitating subsequent parking space camera debugging.

[0080] The parking space camera debugging device provided by the present invention is described below. The parking space camera debugging device described below and the parking space camera debugging method described above can be referenced to each other.

[0081] Figure 4 Schematic diagram of the parking camera debugging device provided by the present invention. Figure 4 As shown, the present invention provides a parking camera debugging device, including an acquisition module 410, a first generation module 420 and a debugging module 430; wherein:

[0082] The acquisition module 410 is used to acquire the length of the license plate and the length of the target parking space line; the target parking space line is the parking space line farthest from the parking space camera;

[0083] A first generating module 420, configured to generate a calibration line in a camera image based on a license plate pixel recognition threshold, a length of the license plate, and a length of the target parking space line;

[0084] The debugging module 430 is used to debug the parking space camera so that the calibration line is covered by the target parking space line in the camera image.

[0085] In some embodiments, the first generating module 420 includes: an acquiring unit and a generating unit; wherein:

[0086] An acquisition unit, configured to divide the license plate pixel recognition threshold by the length of the license plate, and then multiply the result by the length of the target parking space line to obtain a pixel difference of the calibration line in the camera image;

[0087] A generating unit is used to generate the calibration line in the camera picture according to the pixel difference of the calibration line in the camera picture.

[0088] In some embodiments, the expression of the pixel difference of the calibration line in the camera image is as follows:

[0089] Q=(δ / b)*a

[0090] Wherein, Q represents the pixel difference of the calibration line in the camera image, δ represents the license plate pixel recognition threshold, b represents the length of the license plate, and a represents the length of the target parking space line.

[0091] In some embodiments, the debugging module 430 is specifically used to debug at least one of the pan / tilt position, zoom parameter and focus parameter of the parking space camera.

[0092] In some embodiments, the apparatus further comprises: a second generating module;

[0093] The second generating module is used to generate the target parking space line in the camera picture according to the length of the target parking space line and the conversion coefficient between the camera picture and the real scene.

[0094] In some embodiments, the license plate pixel recognition threshold is determined based on the ability of the parking space camera to execute a license plate recognition algorithm.

[0095] It should be noted here that the above-mentioned parking space camera debugging device provided by the present invention can implement all the method steps implemented by the above-mentioned method embodiment, and can achieve the same technical effect. The parts and beneficial effects that are the same as the method embodiment in this embodiment will not be specifically repeated here.

[0096] Figure 5 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 5As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute the parking camera debugging method, which includes: obtaining the length of the license plate and the length of the target parking line; the target parking line is the parking line farthest from the parking camera; based on the license plate pixel recognition threshold, the length of the license plate and the length of the target parking line, generating a calibration line in the camera screen; debugging the parking camera so that the calibration line is covered by the target parking line in the camera screen.

[0097] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0098] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the parking space camera debugging method provided by the above methods, the method including: obtaining the length of the license plate and the length of the target parking space line; the target parking space line is the parking space line farthest from the parking space camera; based on the license plate pixel recognition threshold, the length of the license plate and the length of the target parking space line, generating a calibration line in the camera screen; debugging the parking space camera so that the calibration line is covered by the target parking space line in the camera screen.

[0099] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the parking space camera debugging method provided by the above-mentioned methods, the method comprising: obtaining the length of the license plate and the length of the target parking space line; the target parking space line is the parking space line farthest from the parking space camera; generating a calibration line in the camera screen based on the license plate pixel recognition threshold, the length of the license plate and the length of the target parking space line; debugging the parking space camera so that the calibration line is covered by the target parking space line in the camera screen.

[0100] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0101] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0102] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A parking camera debugging method, characterized in that: include: Get the length of the license plate and the length of the target parking space line; The target parking space line is the parking space line farthest from the parking space camera; Generating a calibration line in the camera image based on a license plate pixel recognition threshold, a length of the license plate, and a length of the target parking space line; The parking space camera is debugged so that the calibration line is covered by the target parking space line in the camera image.

2. The parking camera debugging method according to claim 1, characterized in that: The generating a calibration line in the camera image based on the license plate pixel recognition threshold, the length of the license plate and the length of the target parking space line includes: Divide the license plate pixel recognition threshold by the length of the license plate, and multiply by the length of the target parking space line to obtain the pixel difference of the calibration line in the camera image; The calibration line is generated in the camera picture according to the pixel difference of the calibration line in the camera picture.

3. The parking camera debugging method according to claim 2, characterized in that: The expression of the pixel difference of the calibration line in the camera image is as follows: Q=(δ / b)*a Wherein, Q represents the pixel difference of the calibration line in the camera image, δ represents the license plate pixel recognition threshold, b represents the length of the license plate, and a represents the length of the target parking space line.

4. The parking camera debugging method according to claim 1, characterized in that: The debugging of the parking space camera includes: At least one of the pan / tilt position, zoom parameter and focus parameter of the parking space camera is debugged.

5. The parking space camera debugging method according to claim 1, characterized in that: Before debugging the parking space camera, the following steps are also included: The target parking space line is generated in the camera image according to the length of the target parking space line and the conversion coefficient between the camera image and the real scene.

6. The parking camera debugging method according to claim 1, characterized in that: The license plate pixel recognition threshold is determined according to the ability of the parking space camera to execute the license plate recognition algorithm.

7. A parking camera debugging device, characterized in that: include: An acquisition module is used to acquire the length of the license plate and the length of the target parking space line; The target parking space line is the parking space line farthest from the parking space camera; A first generating module, configured to generate a calibration line in a camera image based on a license plate pixel recognition threshold, a length of the license plate, and a length of the target parking space line; The debugging module is used to debug the parking space camera so that the calibration line is covered by the target parking space line in the camera image.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the parking space camera debugging method as described in any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the parking space camera debugging method as described in any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the parking space camera debugging method as described in any one of claims 1 to 6 is implemented.