A method, system and storage medium for electric bicycle-based inspection of parking spots
By installing panoramic cameras on electric bicycles for parking spot inspections, the problem of not being able to understand the environmental conditions of shared electric bicycle parking spots in a timely manner in existing technologies has been solved. This enables real-time monitoring of parking spots and the detection of abnormal situations, thereby improving management efficiency.
Patent Information
- Application Number
- CN202310225919.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-09
- Publication Date
- 2026-02-27
- Estimated Expiration
- 2043-03-09
AI Technical Summary
Existing technology cannot provide timely information about the environmental conditions of shared electric bicycle parking spots, leading to inconvenience in management and non-standard usage.
By installing panoramic cameras on electric bicycles, environmental images of parking spots can be acquired. Based on the images, abnormal areas can be identified, and inspections and image transmission can be carried out using the autonomous driving mode, thereby enabling real-time monitoring and analysis of parking spots.
It enables real-time monitoring of parking spots and timely detection of abnormal situations, providing a reference for management and optimization, and improving the management efficiency of parking spots.
Smart Images

Figure CN116229632B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of electric bicycles, and in particular to a method and system for inspecting a parking point based on an electric bicycle and a storage medium. BACKGROUND
[0002] With the progress of society, people's green travel consciousness is gradually enhanced, and shared electric bicycles have emerged as the times require. Electric bicycle travel has the characteristics of lightness, convenience, speediness, and cheapness, and has become an important part of people's travel. At present, in order to regulate the use and parking of shared electric bicycles, users need to return the shared electric bicycles to the corresponding parking point before completing the return of the electric bicycles. Therefore, if the environmental conditions of the parking point can be known in a timely manner, it will have an important guiding role for the maintenance and standard use of the parking point area.
[0003] However, the existing parking point area lacks effective management measures, and objects such as users, regulatory platforms, or operators cannot know the actual situation of the parking point. They can only understand the situation in the parking point area by, for example, sending staff to the actual parking point. Obviously, relying on the staff inspection method does not meet the actual situation, and the environmental conditions of the parking point cannot be sent to the target object in a timely manner.
[0004] In view of this, it is necessary to propose a method and system for inspecting a parking point based on an electric bicycle and a storage medium to solve or at least alleviate the above-mentioned defects. SUMMARY
[0005] The main purpose of the present application is to provide a method and system for inspecting a parking point based on an electric bicycle and a storage medium to solve the problem that the prior art cannot know the environmental conditions of the parking point in a timely manner.
[0006] To achieve the above-mentioned purpose, the present application provides a method for inspecting a parking point based on an electric bicycle, comprising the steps of:
[0007] S1, obtaining a current position of a current electric bicycle and determining whether the current position is within a tolerance range of a parking point;
[0008] S2, when the current position is within the tolerance range of the parking point, determining whether the current electric bicycle is in an on state;
[0009] S3, when the current electric bicycle is in the on state, starting a panoramic camera and controlling the panoramic camera to enter a panoramic monitoring mode, and identifying a first valid image from an image captured by the panoramic camera; wherein the panoramic camera is fixed to a vehicle body of the current electric bicycle, and the panoramic camera is higher than the vehicle body; the first valid image is an image containing the entire parking point area;
[0010] S4, sending the first effective image as a first inspection result to a first target object.
[0011] Preferably, the step S4 further comprises a step of:
[0012] S41, determining whether the first effective image contains an abnormal area according to the first effective image; when the abnormal area is contained in the parking point, counting a number of all abnormal areas in the first effective image;
[0013] S42, when the number of abnormal areas is one, taking the abnormal area as a specified abnormal area and determining a specified abnormal position of the specified abnormal area;
[0014] S43, determining a specified observation position capable of observing the specified abnormal area according to the current position, the specified abnormal position and the first effective image, and generating a first inspection route from the current position to the specified observation position;
[0015] S44, starting an automatic driving mode of the current electric bicycle and closing the panoramic monitoring mode, and controlling the current electric bicycle to drive to the specified observation position according to the first inspection route;
[0016] S45, when the current electric bicycle arrives at the specified observation position, controlling the panoramic camera to re-enter the panoramic monitoring mode, and identifying a second effective image from the image captured by the panoramic camera; wherein the second effective image is an image containing the specified abnormal area;
[0017] S46, sending the second effective image as a second inspection result to a second target object.
[0018] Preferably, the step S41 further comprises a step of:
[0019] S411, when the number of abnormal areas is multiple, determining an abnormal node position corresponding to each abnormal area;
[0020] S412, determining an observation node position corresponding to each abnormal area according to the current position, the abnormal node position corresponding to each abnormal area and the first effective image, and arranging all observation node positions from near to far according to the distance from the current position to generate a second inspection route;
[0021] S413, starting the automatic driving mode of the current electric bicycle while controlling the panoramic camera to enter the panoramic monitoring mode, and controlling the current electric bicycle to inspect each abnormal area in turn according to the second inspection route from the current position to capture a third effective image;
[0022] S414, sending the third effective image as a third inspection result to the second target object.
[0023] Preferably, the step S413 specifically comprises the steps of:
[0024] S4131, when the current e-bike reaches the observation node position corresponding to the nearest abnormal node position, starting the panoramic camera and controlling the panoramic camera to enter the panoramic monitoring mode, and identifying the effective node image corresponding to the nearest abnormal node position from the image captured by the panoramic camera;
[0025] S4132, after a preset time length, controlling the current e-bike to move from the observation node position corresponding to the nearest abnormal node position to the observation node position corresponding to the next abnormal node position according to the second inspection route, and then identifying the corresponding effective node image from the image captured by the panoramic camera;
[0026] S4133, repeating the step S4132 until the last abnormal area is inspected, and collecting all the effective node images as the third effective image.
[0027] Preferably, the step S46 further comprises the steps of:
[0028] S461, determining whether there is a vehicle parked in violation in the specified abnormal area according to a preset violation parking determination algorithm;
[0029] S462, determining whether the specified abnormal area contains a vehicle parked in violation according to the second effective image;
[0030] S463, when the specified abnormal area contains a vehicle parked in violation, determining the brand information of the vehicle parked in violation according to the second effective information;
[0031] S464, sending the brand information as a fourth inspection result to a third target object.
[0032] Preferably, the step S1 further comprises the steps of:
[0033] S11, when the current position is not within the tolerance range of the parking point, obtaining the parking point position of a plurality of alternative parking points within a preset range from the current position according to the current position, and obtaining the number of calibrated e-bikes in each alternative parking point; wherein the e-bike is installed with a panoramic camera;
[0034] S12, determining an optional parking point closest to the current position and having an electric bicycle quantity less than a preset value as a target parking point from the optional parking points;
[0035] S13, when the number of optional parking points closest to the current position and having an electric bicycle quantity less than the preset value is more than one, randomly selecting one of the optional parking points as the target parking point;
[0036] S14, determining a dispatch navigation route according to the current position and the target parking point position;
[0037] S15, starting an automatic driving mode of the current electric bicycle, controlling the current electric bicycle to drive to the target parking point position according to the dispatch navigation route, and then entering step S3.
[0038] Preferably, the step S2 further comprises the following steps:
[0039] S21, when the current electric bicycle is not in an open state, starting the current electric bicycle, and then entering step S3.
[0040] Preferably, the step S461 further comprises the following steps:
[0041] S465, when there is no vehicle parked in violation in the specified abnormal area, returning to step S3.
[0042] The application also provides a storage medium storing a computer program, wherein the computer program is executed by a processor to realize the steps of the method for inspecting parking points based on electric bicycles.
[0043] The application also provides a storage medium storing a computer program, wherein the computer program is executed by a processor to realize the steps of the method for inspecting parking points based on electric bicycles.
[0044] Compared with the prior art, the application has the following beneficial effects:
[0045] The application provides a method and system for electric bicycle inspection of a parking point and a storage medium, which obtains a current position of a current electric bicycle, judges whether the current electric bicycle is in an open state when the current position is within a tolerance range of the parking point, starts a panoramic camera and controls the panoramic camera to enter a panoramic monitoring mode when the current electric bicycle is in the open state, and identifies a first effective image from an image captured by the panoramic camera, wherein the panoramic camera is fixed on a vehicle body of the current electric bicycle and is arranged higher than the vehicle body; the first effective image is an image containing an entire parking point area, and the first effective image is sent to a first target object as a first inspection result. The application can inspect the parking point by the electric bicycle with the panoramic camera, so as to know the overall situation and local abnormal situation of the parking point in time, send the real-time acquired parking point environment image to the target object for reference and use, and lay a reference basis for optimization of use of the parking point. BRIEF DESCRIPTION OF DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained from the structures shown in the drawings without creative labor.
[0047] Fig. 1 The flowchart is for an embodiment of the present application.
[0048] Fig. 2 The flowchart is for an embodiment of the present application.
[0049] Fig. 3 The flowchart is for an embodiment of the present application.
[0050] The purposes, functional features and advantages of the present application will be further described with reference to the embodiments and the drawings. DETAILED DESCRIPTION
[0051] 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.
[0052] With reference to the drawings of the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described, obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.
[0053] It should be noted that all directionality indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present application are only used to explain the relative positional relationship, movement condition, etc. between components in a certain specific posture (as shown in the drawings), and if the specific posture changes, the directionality indications also change accordingly.
[0054] In addition, the description of "first", "second" and the like in the present application is only for the purpose of description, and cannot be understood as indicating or implying the relative importance of the indicated technical features or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first", "second" can explicitly or implicitly include at least one of the features. In addition, the technical solutions of each embodiment can be combined with each other, but it must be based on the fact that the technical solutions can be realized by those skilled in the art, and when the combination of technical solutions appears contradictory or unachievable, it should be considered that the combination of technical solutions does not exist, and is not within the scope of protection required by the present application.
[0055] The present application is a system based on electric bicycle inspection parking point, including control system and a plurality of electric bicycles installed with the panoramic camera, the electric bicycle and the control system are in communication connection, the panoramic camera is installed on the vehicle body of the electric bicycle and is higher than the vehicle body, the control system includes memory, processor, and computer program stored in the memory and executable on the processor, the processor executes the computer program to realize the steps of the method based on electric bicycle inspection parking point as follows. It should be noted that the electric bicycle installed with the panoramic camera has the function of parking point inspection, which can analyze and judge by acquiring the environmental image around the parking point, so as to send the processed image to the target object as the inspection result. It should also be noted that the panoramic camera is installed on the vehicle body of the electric bicycle and is higher than the vehicle body, in order to enable the electric bicycle installed with the panoramic camera to monitor the image of the whole parking point, so as to analyze the electric bicycle parked in the parking point, therefore, the panoramic camera is installed on the vehicle body of the electric bicycle and is higher than the vehicle body, the height is accurate enough to monitor at least the whole parking area. In addition, it is also worth noting that the panoramic camera has a wider angle than the general camera, for example, the wide angle of the ordinary camera is 120 degrees, and the panoramic camera is between 160 degrees and 180 degrees, preferably, a 360-degree panoramic camera is adopted, which can see wider than the ordinary camera.
[0056] Please refer to the attached Figs. 1-3 The application provides a method for inspecting a parking point based on an electric bicycle, comprising the following steps:
[0057] S1, obtaining a current position of a current electric bicycle and determining whether the current position is within a tolerance range of a parking point; wherein the current position can be obtained through GPS position data of the current electric bicycle, and the parking point area of the existing shared electric bicycle is known. By considering the tolerance range, the current electric bicycle can be within the parking point or located on the side of the parking point. In these two conditions, it is determined that the current electric bicycle is in a better position to inspect the parking point.
[0058] S2, when the current position is within the tolerance range of the parking point, determining whether the current electric bicycle is in an on state; the on state of the current electric bicycle can be determined by obtaining the current of the power supply of the current electric bicycle, the change of the power, etc.
[0059] S3, when the current electric bicycle is in the on state, starting a panoramic camera and controlling the panoramic camera to enter a panoramic monitoring mode, and identifying a first effective image from the image captured by the panoramic camera; wherein the panoramic camera is fixed on the vehicle body of the current electric bicycle, and the panoramic camera is higher than the vehicle body; the first effective image is an image containing the entire parking point area; S4, sending the first effective image as a first inspection result to a first target object.
[0060] In the technical scheme of the application, by obtaining the current position of the current electric bicycle and determining whether the current position is within the tolerance range of the parking point, when the current position is within the tolerance range of the parking point, determining whether the current electric bicycle is in the on state, when the current electric bicycle is in the on state, starting the panoramic camera and controlling the panoramic camera to enter the panoramic monitoring mode, and identifying the first effective image from the image captured by the panoramic camera, the environmental image of the parking point where the current electric bicycle is located can be obtained, and then the first effective image can be used as the inspection result of the current electric bicycle, and the first effective image can be sent as the first inspection result to the first target object for analysis and reference by the first target object. The first target object includes one or more of the following: various shared electric bicycle brand operators, a unified supervision platform, and users.
[0061] As a preferred embodiment of the application, the step S4 further comprises the following steps:
[0062] S41, determining whether the first effective image contains an abnormal area according to the first effective image; when the abnormal area is contained in the parking spot, counting the number of all abnormal areas in the first effective image;
[0063] S42, when the number of abnormal areas is one, taking the abnormal area as a specified abnormal area and determining a specified abnormal position of the specified abnormal area; it is easy to understand that the number of abnormal areas in the second effective image can be one or multiple, and when the number of abnormal areas is one, the specified abnormal position of the specified abnormal area is determined. Specifically, the corresponding abnormal node position is determined through the abnormal area, for example, the abnormal area is divided into grids, a two-dimensional coordinate system is established for the abnormal area, and then several detection position points are arranged in each grid (for example, a square grid), and the arithmetic mean of the multiple detection position points is calculated as the abnormal node position of the abnormal area.
[0064] S43, determining a specified observation position capable of observing the specified abnormal area according to the current position, the specified abnormal position, and the first effective image, and generating a first inspection route from the current position to the specified observation position; it should be noted that the abnormal node position can be located on the route capable of being inspected by the current electric bicycle or can not be on the inspection route, for example, the abnormal area is located in the middle of the parking spot area and is surrounded by multiple other electric bicycles. Based on this scenario, the embodiment determines the specified observation position capable of observing the specified abnormal area according to the current position, the specified abnormal position, and the first effective image. It can be understood that when the current electric bicycle moves to the specified observation position, the image information of the specified abnormal area can be observed. The observation node position can be determined by considering the distance between the current position and the specified abnormal area and the obstacles of the abnormal area.
[0065] S44, starting the automatic driving mode of the current electric bicycle and closing the panoramic monitoring mode, and controlling the current electric bicycle to drive to the specified observation position according to the first inspection route; it should be noted by those skilled in the art that the automatic driving of the electric bicycle is a mature technology, and there are sufficient and sufficient solutions in the prior art, so that the automatic driving mode of the current electric bicycle can be started, and the current electric bicycle can be controlled to drive from the current position to the specified observation position according to the first inspection route.
[0066] S45, when the current electric bicycle arrives at the specified observation position, controlling the panoramic camera to re-enter the panoramic monitoring mode, and identifying a second effective image from the image captured by the panoramic camera; wherein the second effective image is an image containing the specified abnormal area.
[0067] S46, send the second effective image as the second inspection result to the second target object.
[0068] In the embodiment of the present application, when the number of abnormal areas is one, the abnormal area is taken as a specified abnormal area, a specified abnormal position of the specified abnormal area is determined, a specified observation position capable of observing the specified abnormal area is determined according to the current position, the specified abnormal position and the first effective image, a first inspection route from the current position to the specified observation position is generated, and then a second effective image is acquired, and the second effective image is sent to the target object as a second inspection result.
[0069] As another preferred embodiment of the present application, the step S41 further comprises the following steps:
[0070] S411, when the number of abnormal areas is multiple, the abnormal node position corresponding to each abnormal area is determined; it is easy to understand that the number of abnormal areas in the second effective image can be one or multiple, when the number of abnormal areas is multiple, the multiple abnormal areas need to be inspected under this condition, specifically, the corresponding abnormal node position is determined through the abnormal area, for example, the abnormal area is divided into grids, and a two-dimensional coordinate system is established for the abnormal area, then several detection position points are arranged in each grid (for example, a square grid), and the arithmetic mean of the multiple detection position points is calculated as the abnormal node position of the abnormal area.
[0071] S412, the observation node position corresponding to each abnormal area is determined according to the current position, the abnormal node position corresponding to each abnormal area and the first effective image, all observation node positions are arranged in order from near to far according to the distance from the current position, and a second inspection route is generated; it should be noted that the abnormal node position can be located on the route capable of being inspected by the current electric bicycle, or can not be on the inspection route, for example, the abnormal area is located in the middle of the parking point area, surrounded by multiple other electric bicycles, based on this scenario, the embodiment determines the observation node position corresponding to each abnormal area according to the current position, the abnormal node position corresponding to each abnormal area and the first effective image, it can be understood that each observation node position corresponds to an abnormal area, that is, when the current electric bicycle moves to the observation node position, the image information of the corresponding abnormal area can be observed. Among them, the observation node position can be determined by considering the distance between the current position and the abnormal area, and the obstacle of the abnormal area.
[0072] S413, start the automatic driving mode of the current electric bicycle and control the panoramic camera to enter the panoramic monitoring mode, and control the current electric bicycle to sequentially inspect and capture each abnormal area according to the second inspection route from the current position to obtain third effective images; it should be noted by those skilled in the art that the automatic driving of the electric bicycle is a mature technology, and there are sufficient and sufficient solutions in the prior art, so that the third effective images can be obtained by starting the automatic driving mode of the current electric bicycle and controlling the current electric bicycle to sequentially inspect and capture each abnormal area according to the second inspection route from the current position.
[0073] In a preferred embodiment, the step S413 specifically comprises the steps of:
[0074] S4131, when the current electric bicycle arrives at the observation node position corresponding to the nearest abnormal node position, start the panoramic camera and control the panoramic camera to enter the panoramic monitoring mode, and identify the effective node image corresponding to the nearest abnormal node position from the image captured by the panoramic camera; S4132, after a preset time period, control the current electric bicycle to move from the observation node position corresponding to the nearest abnormal node position to the observation node position corresponding to the next abnormal node position according to the second inspection route, and then identify the corresponding effective node image from the image captured by the panoramic camera; S4133, repeat step S4132 until the last abnormal area is inspected, and collect all effective node images as the third effective images.
[0075] S414, send the third effective images to the second target object as the third inspection result.
[0076] The second target object includes but is not limited to one or more of each shared electric bicycle brand operator, a unified supervision platform, and a user. The second target object and the first target object can be the same object or different objects.
[0077] In the embodiment of the application, when the number of abnormal areas is multiple, the observation node position corresponding to each abnormal area is determined according to the current position, the abnormal node position corresponding to each abnormal area, and the first effective image, the automatic driving mode of the current electric bicycle is started, and the panoramic camera is controlled to enter the panoramic monitoring mode, and the current electric bicycle is controlled to sequentially inspect and capture each abnormal area according to the second inspection route from the current position to obtain third effective images, so that the image information of all abnormal areas can be obtained, and the actual situation of the abnormal area can be accurately locked for the target object to refer to.
[0078] In another preferable embodiment, the step S46 is followed by steps of:
[0079] S461, determining whether there is a vehicle parked in violation in the specified abnormal area according to a preset violation parking determination algorithm; S462, determining whether the specified abnormal area contains a vehicle parked in violation according to the second valid image; S463, when the specified abnormal area contains a vehicle parked in violation, determining the brand information of the vehicle parked in violation according to the second valid information; and S464, sending the brand information as a fourth inspection result to a third target object.
[0080] It is worth noting that in the embodiment, whether the specified abnormal area contains a vehicle parked in violation is determined according to the second valid image. The specific determination method can be deep learning or a relatively rough determination method. For example, the second valid image is compared with a template in an image database to determine whether the specified abnormal area contains a vehicle parked in violation. Further, the brand information of the vehicle parked in violation can be determined based on the same technical concept. For example, the second valid information is input into a pre-trained brand recognition model to obtain the brand information of the vehicle. Alternatively, the second valid image is sent to a background manual for identification. The second valid image can also be identified by other image algorithms. The third target object includes but is not limited to one or more of a vehicle brand corresponding operator, a unified supervision platform, and a user. The third target object, the second target object, and the first target object can be the same object or different objects.
[0081] The embodiment can determine whether the specified abnormal area contains a vehicle parked in violation according to the second valid image and further determine the brand information of the vehicle parked in violation. The brand information of the vehicle parked in violation in the abnormal area can be accurately determined and sent to the third target object for reference or as a basis for supervision and management.
[0082] As another preferable embodiment, the step S1 is followed by steps of:
[0083] S11, when the current position is not within the tolerance range of the parking point, obtaining a parking point position of a plurality of candidate parking points within a preset range from the current position according to the current position, and obtaining a number of calibrated e-bikes in each candidate parking point; wherein, the calibrated e-bike is an e-bike with a panoramic camera installed thereon; it can be understood by those skilled in the art that when the current position is not within the tolerance range of the parking point, for example, the current e-bike stays at a certain position between two parking points, in order to make full use of the limited e-bikes with panoramic cameras installed thereon to participate in parking point inspection, a parking point position of a plurality of candidate parking points within a preset range from the current position is obtained in the embodiment; wherein, considering the distance factor, the current e-bike is avoided to be dispatched at a long distance, and in a preferred example, the preset range can be set to 2-3 times the average distance between two adjacent parking points. That is, all parking points within the preset range can be used as candidate parking points. In addition, by obtaining the number of calibrated e-bikes in each candidate parking point (the calibrated e-bike is an e-bike with a panoramic camera installed thereon, i.e. an e-bike with inspection function), a target parking point is comprehensively determined.
[0084] S12, determining a candidate parking point with the closest distance to the current position and the number of calibrated e-bikes less than a preset value as the target parking point from a plurality of candidate parking points; that is, in a plurality of candidate parking points, the closest distance to the current position (the number is one), and the number of calibrated e-bikes is less than a preset value (when there are no or only a small number of e-bikes with inspection function in the parking point area), at this time, the candidate parking point can be selected as the target parking point.
[0085] S13, when the number of candidate parking points with the closest distance to the current position and the number of calibrated e-bikes less than the preset value is more than one, randomly selecting one of the candidate parking points as the target parking point; that is, when the number of candidate parking points with the closest distance to the current position is more than one, at this time, one of the candidate parking points can be randomly selected as the target parking point.
[0086] It can be known that by using the above target parking point determination basis, a better target parking point can be selected, and the utilization rate of e-bikes with inspection function can be fully utilized / coordinated with the shortest possible distance.
[0087] S14, determine a dispatch navigation route according to the current position and the target parking point position; it is to be noted that the dispatch navigation route can be obtained according to a mature path planning algorithm at present, and it can be understood that the dispatch navigation route can be set based on factors such as minimum time, minimum distance, obstacle position, so as to determine a better dispatch navigation route.
[0088] S15, start the automatic driving mode of the current electric bicycle, control the current electric bicycle to drive to the target parking point position according to the dispatch navigation route, and then enter step S3. It should be noted by those skilled in the art that the automatic driving of the electric bicycle is a mature technology, and there are sufficient and sufficient solutions in the prior art, so that the automatic driving mode of the current electric bicycle can be started, and the current electric bicycle can be controlled to drive to the target parking point position according to the dispatch navigation route. The specific automatic driving mode process is not described in detail.
[0089] Further, the step S2 further comprises a step S21 of starting the current electric bicycle when the current electric bicycle is not in an open state, and then entering step S3. In the embodiment, in order to fully utilize the electric bicycle installed with the panoramic camera for inspection, when the current electric bicycle is in the allowable range of the parking point, but the current electric bicycle is not in the open state, a start instruction can be sent to the current electric bicycle at this time, and the current electric bicycle is started.
[0090] Further, the step S461 further comprises a step S465 of returning to step S3 when there is no vehicle parked in violation in the specified abnormal area. It can be understood that the main purpose of the embodiment of using the electric bicycle installed with the panoramic camera for inspection is to obtain whether there is a vehicle parked in violation in the parking point area. If there is no vehicle parked in violation, S3 can be returned to, the panoramic monitoring mode is re-entered, and data is re-acquired and analyzed.
[0091] The application also provides a storage medium, the storage medium stores a computer program, and the computer program is executed by a processor to realize the steps of the method for inspecting a parking point based on an electric bicycle.
[0092] The above is only the preferred embodiment of the application, and does not limit the patent scope of the application, and any equivalent structure or equivalent flow transformation obtained by using the content of the specification and the drawings, or direct or indirect application in other related technical fields, is also included in the patent protection scope of the application.
Claims
1. A method for inspecting parking spots based on electric bicycles, characterized in that, Including the following steps: S1, obtain the current position of the electric bicycle and determine whether the current position is within the tolerance range of the parking point; S2, when the current position is within the tolerance range of the parking point, determine whether the current electric bicycle is in the open state; S3, when the current electric bicycle is in the open state, the panoramic camera is activated and controlled to enter the panoramic monitoring mode, and the first valid image is identified from the image captured by the panoramic camera; wherein, the panoramic camera is fixed on the body of the current electric bicycle and the panoramic camera is positioned higher than the body of the vehicle; the first valid image is an image that includes the entire parking area. S4, the first valid image is sent to the first target object as the first inspection result; The step S4 is followed by the following step: S41, determine whether the first valid image contains an abnormal region based on the first valid image; if the parking spot contains an abnormal region, count the total number of abnormal regions in the first valid image. S42, when the number of abnormal regions is one, the abnormal region is designated as a specified abnormal region, and the specified abnormal location of the specified abnormal region is determined. S43, determine a designated observation location where the designated abnormal area can be observed based on the current location, the designated abnormal location, and the first valid image, and generate a first inspection route from the current location to the designated observation location; S44, activate the current electric bicycle's automatic driving mode and deactivate the panoramic monitoring mode, and control the current electric bicycle to drive to the designated observation location along the first inspection route; S45, when the current electric bicycle arrives at the designated observation position, control the panoramic camera to re-enter the panoramic monitoring mode, and identify a second valid image from the image captured by the panoramic camera; wherein, the second valid image is an image containing the designated abnormal area; S46, the second valid image is sent to the second target object as the second inspection result.
2. The method for inspecting parking points based on electric bicycles according to claim 1, characterized in that, The step S41 is followed by the following step: S411, when there are multiple abnormal regions, determine the location of the abnormal node corresponding to each abnormal region; S412, based on the current location, the location of the abnormal node corresponding to each abnormal area and the first valid image, determine the location of the observation node corresponding to each abnormal area, and arrange all the observation node locations in order from near to far from the current location to generate the second inspection route. S413, start the automatic driving mode of the current electric bicycle and control the panoramic camera to enter the panoramic monitoring mode, and control the current electric bicycle to inspect and capture each abnormal area from the current position according to the second inspection route to obtain the third valid image. S414, the third valid image is sent to the second target object as the third inspection result.
3. The method for inspecting parking points based on electric bicycles according to claim 2, characterized in that, Step S413 specifically includes the following steps: S4131, when the current electric bicycle arrives at the observation node position corresponding to the nearest abnormal node position, the panoramic camera is activated and controlled to enter the panoramic monitoring mode, and the effective node image corresponding to the nearest abnormal node position is identified from the image captured by the panoramic camera. S4132, after a preset time, control the current electric bicycle to move from the observation node position corresponding to the nearest abnormal node position to the observation node position corresponding to the next abnormal node position according to the second inspection route, and then identify the corresponding valid node image from the image captured by the panoramic camera. S4133, Repeat step S4132 until the last abnormal area has been inspected, and collect all the valid node images as the third valid image.
4. The method for inspecting parking points based on electric bicycles according to claim 1, characterized in that, The step S46 is followed by the following step: S461, determine whether there are illegally parked vehicles in the designated abnormal area according to the preset illegal parking judgment algorithm; S462, determine whether the designated abnormal area contains illegally parked vehicles based on the second valid image; S463, when the designated abnormal area contains illegally parked vehicles, determine the brand information of the illegally parked vehicles based on the second valid image; S464, The brand information is sent to the third target object as the fourth inspection result.
5. The method for inspecting parking points based on electric bicycles according to claim 4, characterized in that, The step S1 is followed by the following step: S11, when the current position is not within the tolerance range of the parking point, obtain the parking point locations of multiple alternative parking points within a preset range based on the current position, and obtain the number of calibrated electric bicycles in each alternative parking point; wherein, the calibrated electric bicycles are equipped with panoramic cameras; S12, determine the candidate parking point that is closest to the current location and whose number of calibrated electric bicycles is less than a preset value among the multiple candidate parking points as the target parking point; S13, when there are multiple candidate parking spots that are closest to the current location and the number of candidate parking spots with a number of calibrated electric bicycles is less than the preset value, one of the candidate parking spots is randomly selected as the target parking spot. S14, determine the dispatch navigation route based on the current location and the target parking point location; S15, activate the automatic driving mode of the current electric bicycle, control the current electric bicycle to drive to the target parking point according to the dispatch navigation route, and then proceed to step S3.
6. The method for inspecting parking points based on electric bicycles according to claim 1, characterized in that, The step S2 is followed by the following step: S21, when the current electric bicycle is not in the activated state, start the current electric bicycle, and then proceed to step S3.
7. The method for inspecting parking points based on electric bicycles according to claim 4, characterized in that, The step S461 is followed by the following step: S465, if there are no illegally parked vehicles in the designated abnormal area, return to step S3.
8. A system for inspecting parking points on electric bicycles, characterized in that, The system includes a control system and multiple electric bicycles equipped with the panoramic camera. The electric bicycles and the control system are communicatively connected. The panoramic camera is mounted on the body of the electric bicycle and is positioned above the body. The control system includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the method for inspecting parking points based on electric bicycles as described in any one of claims 1 to 7.
9. A storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the method for inspecting parking points based on electric bicycles as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Method and system for monitoring abnormal targets based on patrol images of unmanned aerial vehicles
CN109117749A
Abnormality detection method and device, electronic equipment and storage medium
CN113726606A