CN116229632A - Method, system and storage medium based on electric bicycle inspection parking spot - Google Patents

Method, system and storage medium based on electric bicycle inspection parking spot Download PDF

Info

Publication number
CN116229632A
CN116229632A CN202310225919.XA CN202310225919A CN116229632A CN 116229632 A CN116229632 A CN 116229632A CN 202310225919 A CN202310225919 A CN 202310225919A CN 116229632 A CN116229632 A CN 116229632A
Authority
CN
China
Prior art keywords
electric bicycle
abnormal
parking
current
parking spot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310225919.XA
Other languages
Chinese (zh)
Inventor
杨峰
周杨波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan Xibaoda Information Technology Co ltd
Original Assignee
Hunan Xibaoda Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunan Xibaoda Information Technology Co ltd filed Critical Hunan Xibaoda Information Technology Co ltd
Priority to CN202310225919.XA priority Critical patent/CN116229632A/en
Publication of CN116229632A publication Critical patent/CN116229632A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C11/00Arrangements, systems or apparatus for checking, e.g. the occurrence of a condition, not provided for elsewhere
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/56Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention provides a method, a system and a storage medium based on an electric bicycle inspection parking spot, wherein by acquiring the current position of a current electric bicycle, judging whether the current electric bicycle is in an open state or not when the current position is in the tolerance range of the parking spot, starting a panoramic camera and controlling the panoramic camera to enter a panoramic monitoring mode when the current electric bicycle is in the open state, and identifying a first effective image from an image obtained by capturing the panoramic camera, wherein the panoramic camera is fixed on a bicycle body of the current electric bicycle, and the panoramic camera is higher than the bicycle body; the first effective image is an image containing the whole parking spot area, and the first effective image is sent to a first target object as a first inspection result. According to the method and the device, the parking spot can be inspected through the electric bicycle provided with the panoramic camera, so that the whole situation and the local abnormal situation of the parking spot can be known in time.

Description

Method, system and storage medium based on electric bicycle inspection parking spot
Technical Field
The invention relates to the technical field of electric bicycles, in particular to a method, a system and a storage medium based on an electric bicycle inspection parking spot.
Background
Along with the progress of society, people's green trip consciousness is strengthened gradually, and shared electric bicycle is generated, and electric bicycle trip has characteristics such as light and handy, convenient, swift, cheap, has become the important component of people's trip. At present, in order to standardize the use and parking of the shared electric bicycle, a user needs to return the shared electric bicycle to a corresponding parking spot before returning the shared electric bicycle, so that if the environment condition of the parking spot can be known in time, the method has an important guiding function on the maintenance and standard use of the parking spot area.
However, the existing parking spot area lacks effective management measures, and the user, the supervision platform or the operator and other objects cannot know the actual situation of the parking spot, and only can know the situation in the parking spot area through the way that a worker arrives at the parking spot in the field, obviously, the way that the worker patrols and examines is obviously not in line with the actual situation, and cannot timely send the environmental situation of the parking spot to the target object.
In view of the foregoing, there is a need for a method, system and storage medium for inspecting parking spots based on electric bicycles that addresses or at least alleviates the above-mentioned drawbacks.
Disclosure of Invention
The invention mainly aims to provide a method, a system and a storage medium for inspecting a parking spot based on an electric bicycle, so as to solve the problem that the prior art cannot know the environmental condition of the parking spot in time.
In order to achieve the above purpose, the invention provides a method for inspecting a parking spot based on an electric bicycle, which comprises the following steps:
s1, acquiring a current position of a current electric bicycle, and judging whether the current position is within an allowance range of a parking spot or not;
s2, judging whether the current electric bicycle is in an on state or not when the current position is in the tolerance range of the parking point;
s3, when the current electric bicycle is in an on state, starting a panoramic camera, controlling the panoramic camera to enter a panoramic monitoring mode, and identifying a first effective image from an image obtained by capturing the panoramic camera; the panoramic camera is fixed on the car body of the current electric bicycle and is higher than the car body; the first effective image is an image containing the whole parking spot area;
and S4, sending the first effective image to a first target object as a first inspection result.
Preferably, the step S4 further includes the step of:
s41, determining whether an abnormal region is contained in the first effective image according to the first effective image; counting the number of all abnormal areas in the first effective image when the parking spot contains the abnormal areas;
s42, when the number of the abnormal areas is one, taking the abnormal areas as specified abnormal areas, and determining specified abnormal positions of the specified abnormal areas;
s43, determining a specified observation position capable of observing the specified abnormal region according to the current position, the specified abnormal position and the first effective image, and generating a first tour inspection route from the current position to the specified observation position;
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 appointed observation position according to the first inspection route;
s45, when the current electric bicycle reaches the appointed observation position, controlling the panoramic camera to reenter a panoramic monitoring mode, and identifying a second effective image from the images obtained by capturing by the panoramic camera; wherein the second effective image is an image containing the specified abnormal region;
and S46, sending the second effective image to a second target object as a second inspection result.
Preferably, the step S41 further includes the step of:
s411, when the number of the abnormal areas is multiple, determining the positions of abnormal nodes corresponding to each abnormal area;
s412, determining the observation node positions corresponding to each abnormal region one by one according to the current position, the abnormal node positions corresponding to each abnormal region and the first effective image, and sequentially arranging all the observation node positions from the current position from the near to the far according to the distance to the current position to generate a second inspection route;
s413, starting an automatic driving mode of the current electric bicycle, simultaneously controlling the panoramic camera to enter a panoramic monitoring mode, and controlling the current electric bicycle to sequentially carry out inspection snapshot on each abnormal area from the current position according to the second inspection route to obtain a third effective image;
and S414, sending the third effective image to the second target object as a third inspection result.
Preferably, the step S413 specifically includes the steps of:
s4131, when the current electric bicycle reaches the observation node position corresponding to the nearest abnormal node position, starting the panoramic camera, controlling the panoramic camera to enter a panoramic monitoring mode, and identifying an effective node image corresponding to the nearest abnormal node position from the image obtained by capturing the panoramic camera;
s4132, after a preset time length, controlling the current electric bicycle to move from an observation node position corresponding to the nearest abnormal node position to an observation node position corresponding to the next abnormal node position according to the second inspection route, and then identifying a corresponding effective node image from an image obtained by capturing by the panoramic camera;
s4133, repeating the step S4132 until the last abnormal area is inspected, and collecting all the effective node images to be used as the third effective image.
Preferably, the step S46 further includes the step of:
s461, determining whether the specified abnormal area has the illegal parking vehicles or not according to a preset illegal parking judgment algorithm;
s462, determining whether the specified abnormal area contains the illegally parked vehicles or not according to the second effective image;
s463, when the specified abnormal region contains the illegally parked vehicle, determining brand information of the illegally parked vehicle according to the second effective information;
and S464, sending the brand information to a third target object as a fourth inspection result.
Preferably, the step S1 further includes the step of:
s11, when the current position is not in the tolerance range of the parking points, acquiring the parking point positions of a plurality of alternative parking points within a preset range from the current position according to the current position, and acquiring the number of calibrated electric bicycles in each alternative parking point; the panoramic camera is arranged on the calibration electric bicycle;
s12, determining the alternative parking points which are closest to the current position in the plurality of alternative parking points and the number of the calibrated electric single vehicles is smaller than a preset value as target parking points;
s13, randomly selecting one of the alternative parking points as the target parking point when the number of the alternative parking points which are closest to the current position in the plurality of alternative parking points and the number of the calibrated electric single vehicles is smaller than the preset value is a plurality of;
s14, determining a dispatching navigation route according to the current position and the target parking position;
and 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 dispatching navigation route, and then entering step S3.
Preferably, the step S2 further includes the step of:
s21, when the current electric bicycle is not in the on state, starting the current electric bicycle, and then entering step S3.
Preferably, the step S461 further includes the step of:
and S465, returning to the step S3 when the vehicle is not illegally parked in the appointed abnormal region.
The invention discloses a system based on an electric bicycle inspection parking spot, which comprises a control system and a plurality of electric bicycles provided with panoramic cameras, wherein the electric bicycles are in communication connection with the control system, the panoramic cameras are arranged on a bicycle body of the electric bicycle and are higher than the bicycle body, the control system comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, and the processor realizes the steps of the method based on the electric bicycle inspection parking spot when executing the computer program.
The invention also provides a storage medium storing a computer program which, when executed by a processor, implements the steps of the method based on electric bicycle inspection parking spot described above.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides a method, a system and a storage medium based on an electric bicycle inspection parking spot, wherein by acquiring the current position of a current electric bicycle, judging whether the current electric bicycle is in an open state or not when the current position is in the tolerance range of the parking spot, starting a panoramic camera and controlling the panoramic camera to enter a panoramic monitoring mode when the current electric bicycle is in the open state, and identifying a first effective image from an image obtained by capturing the panoramic camera, wherein the panoramic camera is fixed on a bicycle body of the current electric bicycle, and the panoramic camera is higher than the bicycle body; the first effective image is an image containing the whole parking spot area, and the first effective image is sent to a first target object as a first inspection result. According to the method and the device, the parking spot can be inspected through the electric bicycle provided with the panoramic camera, so that the whole situation and the local abnormal situation of the parking spot can be known in time, the real-time acquired parking spot environment image is sent to the target object, the target object can be used for referencing, and the reference basis can be laid for the optimized use of the parking spot.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the structures shown in these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an embodiment of the present invention.
FIG. 2 is a flowchart illustrating steps further included after step S4 in an embodiment of the present invention;
fig. 3 is a flowchart illustrating steps further included after step S41 in an embodiment of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that all directional indicators (such as up, down, left, right, front, and rear … …) in the embodiments of the present invention are merely used to explain the relative positional relationship, movement, etc. between the components in a particular posture (as shown in the drawings), and if the particular posture is changed, the directional indicator is changed accordingly.
Furthermore, the description of "first," "second," etc. in this disclosure is for descriptive purposes only and is not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present invention.
The invention discloses a system based on an electric bicycle inspection parking spot, which comprises a control system and a plurality of electric bicycles provided with panoramic cameras, wherein the electric bicycles are in communication connection with the control system, the panoramic cameras are arranged on a bicycle body of the electric bicycle and are higher than the bicycle body, the control system comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, and the processor realizes the following steps of the method based on the electric bicycle inspection parking spot when executing the computer program. It should be noted that, the electric bicycle provided with the panoramic camera has a parking spot inspection function, and can perform analysis and judgment by acquiring an environmental image around the parking spot, so that the processed image is sent to a target object as an inspection result. It should be noted that the panoramic camera is mounted on the electric bicycle body and is higher than the electric bicycle body, so that the electric bicycle mounted with the panoramic camera can monitor the whole image of the parking spot to analyze the electric bicycle parked in the parking spot, and therefore the panoramic camera is mounted on the electric bicycle body and is higher than the electric bicycle body, and the height is higher than the height of the electric bicycle body, so that at least the whole parking spot area can be monitored. Further, it is also worth noting that the panoramic camera has a wider imaging angle than a general camera, for example, the wide imaging angle of a general camera is 120 degrees, and the panoramic camera is 160 degrees to 180 degrees, preferably, a 360-degree panoramic camera is adopted, so that the panoramic camera can be seen wider than the general camera.
Referring to fig. 1-3, the invention provides a method for inspecting parking spots based on electric bicycles, which comprises the following steps:
s1, acquiring a current position of a current electric bicycle, and judging whether the current position is within an allowance range of a parking spot or not; the current position can be obtained through GPS position data of the current electric bicycle, the parking spot area of the existing shared electric bicycle is known, and the current electric bicycle is judged to be in a preferred position capable of inspecting the parking spot under the two conditions by considering the tolerance range, namely, the current electric bicycle can be positioned in the parking spot or possibly positioned on the side of the parking spot.
S2, judging whether the current electric bicycle is in an on state or not when the current position is in the tolerance range of the parking point; the state of the current electric bicycle can be determined by acquiring the current of the current electric bicycle power supply, the change of the electric quantity and the like.
S3, when the current electric bicycle is in an on state, starting a panoramic camera, controlling the panoramic camera to enter a panoramic monitoring mode, and identifying a first effective image from an image obtained by capturing the panoramic camera; the panoramic camera is fixed on the car body of the current electric bicycle and is higher than the car body; the first effective image is an image containing the whole parking spot area; and S4, sending the first effective image to a first target object as a first inspection result.
According to the technical scheme, the current position of the current electric bicycle is obtained, whether the current position is in the tolerance range of the parking point is judged, when the current position is in the tolerance range of the parking point, whether the current electric bicycle is in the opening state is judged, when the current electric bicycle is in the opening state, the panoramic camera is started and controlled to enter the panoramic monitoring mode, a first effective image is identified from an image obtained by capturing the panoramic camera, namely, the environment image of the parking point where the current electric bicycle is located can be obtained, the first effective image can be used as the inspection result of the current electric bicycle, and the first effective image is sent to the first target object as the first inspection result so that the first target object can analyze and refer to the first effective image. Wherein the first target object includes, but is not limited to, one or more of various shared electric bicycle brand operators, unified supervision platforms, users.
As a preferred embodiment of the present invention, the step S4 further includes the steps of:
s41, determining whether an abnormal region is contained in the first effective image according to the first effective image; counting the number of all abnormal areas in the first effective image when the parking spot contains the abnormal areas;
s42, when the number of the abnormal areas is one, taking the abnormal areas as specified abnormal areas, and determining specified abnormal positions of the specified abnormal areas; it is to be readily understood that the number of abnormal regions in the second effective image may be one or more, and that the specified abnormal position of the specified abnormal region is determined when the number of abnormal regions is one. Specifically, the corresponding abnormal node position is determined through the abnormal region, for example, the abnormal region is subjected to gridding division, a two-dimensional coordinate system is established for the abnormal region, then a plurality of detection position points are distributed in each grid (for example, square grids), and the arithmetic average value of the plurality of detection position points is calculated to serve as the abnormal node position of the abnormal region.
S43, determining a specified observation position capable of observing the specified abnormal region according to the current position, the specified abnormal position and the first effective image, and generating a first tour inspection route from the current position to the specified observation position; it should be noted that, because the abnormal node position may be located on a route that the current electric bicycle can patrol, or may not be located on a patrol road, for example, the abnormal area is located in the middle of the parking spot area, and the periphery is blocked by a plurality of other electric bicycles, in this scenario, the embodiment determines the specified observation position where the specified abnormal area can be observed according to the current position, the specified abnormal position and the first effective image, and 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. Wherein the observation node position may be determined by considering a distance from the current position and a specified abnormal region, and an obstacle of the abnormal region.
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 appointed observation position according to the first inspection route; it is noted by those skilled in the art that autopilot of an electric bicycle is already a mature technology, and that there are sufficient and sufficient solutions in the prior art to be able to control the current electric bicycle to travel from the current position to the specified observation position according to the first inspection route by activating the autopilot mode of the current electric bicycle.
S45, when the current electric bicycle reaches the appointed observation position, controlling the panoramic camera to reenter a panoramic monitoring mode, and identifying a second effective image from the images obtained by capturing by the panoramic camera; wherein the second effective image is an image containing the specified abnormal region;
and S46, sending the second effective image to a second target object as a second inspection result.
In this embodiment, when the number of the abnormal areas is one, the abnormal area is used 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, a second effective image is further obtained, and the second effective image is used as a second inspection result to be sent to a target object for reference.
As another preferred embodiment of the present invention, the step S41 further includes the steps of:
s411, when the number of the abnormal areas is multiple, determining the positions of abnormal nodes corresponding to each abnormal area; it is easy to understand that the number of the abnormal areas in the second effective image may be one or more, and when the number of the abnormal areas is plural, it is necessary to perform inspection in this case for the plural abnormal areas, specifically, determine the corresponding abnormal node positions by the abnormal areas, for example, mesh-divide the abnormal areas, establish a two-dimensional coordinate system for the abnormal areas, then set several detection position points in each mesh (for example, square mesh), and calculate the arithmetic average value of the plural detection position points as the abnormal node positions of the abnormal areas.
S412, determining the observation node positions corresponding to each abnormal region one by one according to the current position, the abnormal node positions corresponding to each abnormal region and the first effective image, and sequentially arranging all the observation node positions from the current position from the near to the far according to the distance to the current position to generate a second inspection route; it should be noted that, because the abnormal node positions may be located on the route that the current electric bicycle can patrol, or may not be located on the patrol route, for example, the abnormal region is located in the middle of the parking spot region, and the periphery is blocked by a plurality of other electric bicycles. Wherein the observation node position may be determined by considering a distance from the current position and the abnormal region, and an obstacle of the abnormal region.
S413, starting an automatic driving mode of the current electric bicycle, simultaneously controlling the panoramic camera to enter a panoramic monitoring mode, and controlling the current electric bicycle to sequentially carry out inspection snapshot on each abnormal area from the current position according to the second inspection route to obtain a third effective image; it should be noted by those skilled in the art that the automatic driving of the electric bicycle is already a mature technology, and a sufficient and enough solution exists in the prior art, so that the current electric bicycle can be controlled to sequentially perform inspection and snapshot on each abnormal area from the current position according to the second inspection route by starting the automatic driving mode of the current electric bicycle to obtain a third effective image.
In a preferred embodiment, the step S413 specifically includes the steps of:
s4131, when the current electric bicycle reaches the observation node position corresponding to the nearest abnormal node position, starting the panoramic camera, controlling the panoramic camera to enter a panoramic monitoring mode, and identifying an effective node image corresponding to the nearest abnormal node position from the image obtained by capturing the panoramic camera; s4132, after a preset time length, controlling the current electric bicycle to move from an observation node position corresponding to the nearest abnormal node position to an observation node position corresponding to the next abnormal node position according to the second inspection route, and then identifying a corresponding effective node image from an image obtained by capturing by the panoramic camera; s4133, repeating the step S4132 until the last abnormal area is inspected, and collecting all the effective node images to be used as the third effective image.
And S414, sending the third effective image to the second target object as a third inspection result.
Wherein the second target object includes, but is not limited to, one or more of a respective shared electric bicycle brand operator, a unified administration platform, and a user. The second target object and the first target object may be the same object or different objects.
In this embodiment of the present application, when the number of abnormal areas is multiple, according to the current position, the abnormal node position corresponding to each abnormal area, and the first effective image, the observation node position corresponding to each abnormal area one-to-one is determined, the automatic driving mode of the current electric bicycle is started, the panoramic camera is controlled to enter the panoramic monitoring mode at the same time, the current electric bicycle is controlled to sequentially patrol and capture each abnormal area according to the second patrol route from the current position, so as to obtain a third effective image, so that image information of all abnormal areas can be obtained, and further the actual situation of the abnormal areas can be accurately locked, so that the target object can refer to the image information.
In another preferred embodiment, the step S46 further includes the steps of:
s461, determining whether the specified abnormal area has the illegal parking vehicles or not according to a preset illegal parking judgment algorithm; s462, determining whether the specified abnormal area contains the illegally parked vehicles or not according to the second effective image; s463, when the specified abnormal region contains the illegally parked vehicle, determining brand information of the illegally parked vehicle according to the second effective information; and S464, sending the brand information to a third target object as a fourth inspection result.
It should be noted that, in this embodiment, whether the specified abnormal area contains the illegally parked vehicle is determined according to the second effective image, which may be a deep learning manner or a rough determination manner, for example, by comparing the second effective image with a template in an already established image database, further, whether the specified abnormal area contains the illegally parked vehicle may be determined by the second effective image, further, brand information of the illegally parked vehicle may be further determined based on the same technical concept, for example, the second effective information is input into a pre-trained brand recognition model to obtain brand information of the vehicle, or the second effective image may be sent to a background to be manually resolved, or may be recognized by other image algorithms. Wherein the third target object includes, but is not limited to, one or more of an operator, a unified supervisory platform, and a user corresponding to the vehicle brand. The third target object and the second target object and the first target object may be the same object or different objects.
According to the embodiment, whether the specified abnormal area contains the illegal parked vehicles or not can be determined according to the second effective image, the brand information of the illegal parked vehicles is further determined, the brand information of the illegal vehicles in the abnormal area can be accurately inspected, and the brand information is sent to a third target object to provide reference or serve as a basic basis for supervision and management.
As another preferred embodiment, the step S1 further includes the following steps:
s11, when the current position is not in the tolerance range of the parking points, acquiring the parking point positions of a plurality of alternative parking points within a preset range from the current position according to the current position, and acquiring the number of calibrated electric bicycles in each alternative parking point; the panoramic camera is arranged on the calibration electric bicycle; as will be appreciated by those skilled in the art, when the current position is not within the tolerance range of the parking spots, for example, the current electric bicycle stays at a position between two parking spots, in order to fully utilize the limited electric bicycle with the panoramic camera mounted to participate in the inspection of the parking spots, the parking spot positions of a plurality of alternative parking spots within the preset range from the current position are obtained according to the current position; wherein, considering distance factors, the current electric bicycle is prevented from being remotely scheduled, and in a preferred example, the preset range can be set to be 2-3 times of the average distance between two adjacent parking spots. I.e. all parking spots within the preset range may be used as alternative parking spots. In addition, the target parking point is comprehensively determined by acquiring the number of the calibrated electric bicycles in each candidate parking point (the panoramic camera is installed on the calibrated electric bicycle, namely the electric bicycle with the inspection function).
S12, determining the alternative parking points which are closest to the current position in the plurality of alternative parking points and the number of the calibrated electric single vehicles is smaller than a preset value as target parking points; that is, among the plurality of candidate parking spots, the candidate parking spot may be regarded as the target parking spot when the number of the calibration electric motor cars is closest to the current position (the number is one) and the number of the calibration electric motor cars is smaller than the preset value (when there are no or a small number of calibration electric motor cars having the patrol function in the parking spot area).
S13, randomly selecting one of the alternative parking points as the target parking point when the number of the alternative parking points which are closest to the current position in the plurality of alternative parking points and the number of the calibrated electric single vehicles is smaller than the preset value is a plurality of; that is, when there are a plurality of the candidate parking points closest to the current position among the plurality of candidate parking points, one of the candidate parking points may be randomly selected as the target parking point at this time.
It can be known that by the above-described target parking spot determination basis, a preferable target parking spot can be selected, a distance can be made as short as possible, and the utilization rate of the electric bicycle having the patrol function can be fully utilized/coordinated.
S14, determining a dispatching navigation route according to the current position and the target parking position; it should be noted that the scheduled navigation route may be obtained according to a current mature path planning algorithm, and it may be understood that the scheduled navigation route may be set based on factors such as minimum time, minimum distance, and obstacle position, so as to determine a better scheduled navigation route.
And 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 dispatching navigation route, and then entering step S3. It should be noted by those skilled in the art that the automatic driving of the electric bicycle is already a mature technology, and there are sufficient and enough solutions in the prior art, so that the current electric bicycle can be controlled to drive to the target parking spot position according to the dispatch navigation route by starting the automatic driving mode of the current electric bicycle, and the specific automatic driving mode process is not repeated.
Further, the step S2 further includes the steps of: s21, when the current electric bicycle is not in the on state, starting the current electric bicycle, and then entering step S3. In this embodiment, in order to make full use of the electric bicycle with the panoramic camera for inspection, when the current electric bicycle is within the tolerance range of the parking spot, but the current electric bicycle is not in the on state, a start command may be sent to the current electric bicycle at this time, and the current electric bicycle is started.
Further, the step S461 further includes the steps of: and S465, returning to the step S3 when the vehicle is not illegally parked in the appointed abnormal region. It can be understood that the main purpose of the present embodiment that the electric bicycle with the panoramic camera is adopted for inspection is to obtain whether there is a parking violation in the parking spot area, if not, the method can return to S3, reenter the panoramic monitoring mode, and re-obtain data and analyze.
The invention also provides a storage medium storing a computer program which, when executed by a processor, implements the steps of the method based on electric bicycle inspection parking spot described above.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. The method for inspecting the parking spot based on the electric bicycle is characterized by comprising the following steps of:
s1, acquiring a current position of a current electric bicycle, and judging whether the current position is within an allowance range of a parking spot or not;
s2, judging whether the current electric bicycle is in an on state or not when the current position is in the tolerance range of the parking point;
s3, when the current electric bicycle is in an on state, starting a panoramic camera, controlling the panoramic camera to enter a panoramic monitoring mode, and identifying a first effective image from an image obtained by capturing the panoramic camera; the panoramic camera is fixed on the car body of the current electric bicycle and is higher than the car body; the first effective image is an image containing the whole parking spot area;
and S4, sending the first effective image to a first target object as a first inspection result.
2. The method for inspecting parking spot based on electric bicycle according to claim 1, wherein the step S4 further comprises the steps of:
s41, determining whether an abnormal region is contained in the first effective image according to the first effective image; counting the number of all abnormal areas in the first effective image when the parking spot contains the abnormal areas;
s42, when the number of the abnormal areas is one, taking the abnormal areas as specified abnormal areas, and determining specified abnormal positions of the specified abnormal areas;
s43, determining a specified observation position capable of observing the specified abnormal region according to the current position, the specified abnormal position and the first effective image, and generating a first tour inspection route from the current position to the specified observation position;
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 appointed observation position according to the first inspection route;
s45, when the current electric bicycle reaches the appointed observation position, controlling the panoramic camera to reenter a panoramic monitoring mode, and identifying a second effective image from the images obtained by capturing by the panoramic camera; wherein the second effective image is an image containing the specified abnormal region;
and S46, sending the second effective image to a second target object as a second inspection result.
3. The method for inspecting parking spot based on electric bicycle according to claim 2, wherein said step S41 further comprises the steps of:
s411, when the number of the abnormal areas is multiple, determining the positions of abnormal nodes corresponding to each abnormal area;
s412, determining the observation node positions corresponding to each abnormal region one by one according to the current position, the abnormal node positions corresponding to each abnormal region and the first effective image, and sequentially arranging all the observation node positions from the current position from the near to the far according to the distance to the current position to generate a second inspection route;
s413, starting an automatic driving mode of the current electric bicycle, simultaneously controlling the panoramic camera to enter a panoramic monitoring mode, and controlling the current electric bicycle to sequentially carry out inspection snapshot on each abnormal area from the current position according to the second inspection route to obtain a third effective image;
and S414, sending the third effective image to the second target object as a third inspection result.
4. The method for inspecting parking spot based on electric bicycle according to claim 3, wherein the step S413 specifically comprises the steps of:
s4131, when the current electric bicycle reaches the observation node position corresponding to the nearest abnormal node position, starting the panoramic camera, controlling the panoramic camera to enter a panoramic monitoring mode, and identifying an effective node image corresponding to the nearest abnormal node position from the image obtained by capturing the panoramic camera;
s4132, after a preset time length, controlling the current electric bicycle to move from an observation node position corresponding to the nearest abnormal node position to an observation node position corresponding to the next abnormal node position according to the second inspection route, and then identifying a corresponding effective node image from an image obtained by capturing by the panoramic camera;
s4133, repeating the step S4132 until the last abnormal area is inspected, and collecting all the effective node images to be used as the third effective image.
5. The method for inspecting parking spot based on electric bicycle according to claim 2, wherein said step S46 further comprises the steps of:
s461, determining whether the specified abnormal area has the illegal parking vehicles or not according to a preset illegal parking judgment algorithm;
s462, determining whether the specified abnormal area contains the illegally parked vehicles or not according to the second effective image;
s463, when the specified abnormal region contains the illegally parked vehicle, determining brand information of the illegally parked vehicle according to the second effective information;
and S464, sending the brand information to a third target object as a fourth inspection result.
6. The method for inspecting parking spot based on electric bicycle according to claim 5, wherein the step S1 further comprises the steps of:
s11, when the current position is not in the tolerance range of the parking points, acquiring the parking point positions of a plurality of alternative parking points within a preset range from the current position according to the current position, and acquiring the number of calibrated electric bicycles in each alternative parking point; the panoramic camera is arranged on the calibration electric bicycle;
s12, determining the alternative parking points which are closest to the current position in the plurality of alternative parking points and the number of the calibrated electric single vehicles is smaller than a preset value as target parking points;
s13, randomly selecting one of the alternative parking points as the target parking point when the number of the alternative parking points which are closest to the current position in the plurality of alternative parking points and the number of the calibrated electric single vehicles is smaller than the preset value is a plurality of;
s14, determining a dispatching navigation route according to the current position and the target parking position;
and 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 dispatching navigation route, and then entering step S3.
7. The method for inspecting parking spot based on electric bicycle according to claim 1, wherein the step S2 further comprises the steps of:
s21, when the current electric bicycle is not in the on state, starting the current electric bicycle, and then entering step S3.
8. The method for inspecting parking spot based on electric bicycle according to claim 5, wherein the step S461 further comprises the steps of:
and S465, returning to the step S3 when the vehicle is not illegally parked in the appointed abnormal region.
9. A system based on electric bicycle inspection parking spot, characterized by comprising a control system and a plurality of electric bicycles provided with panoramic cameras, wherein the electric bicycles are in communication connection with the control system, the panoramic cameras are arranged on the electric bicycle body and higher than the electric bicycle body, the control system comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, and the processor realizes the steps of the method based on electric bicycle inspection parking spot according to any one of claims 1 to 8 when executing the computer program.
10. A storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method of any one of claims 1 to 8 based on electric bicycle inspection parking spots.
CN202310225919.XA 2023-03-09 2023-03-09 Method, system and storage medium based on electric bicycle inspection parking spot Pending CN116229632A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310225919.XA CN116229632A (en) 2023-03-09 2023-03-09 Method, system and storage medium based on electric bicycle inspection parking spot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310225919.XA CN116229632A (en) 2023-03-09 2023-03-09 Method, system and storage medium based on electric bicycle inspection parking spot

Publications (1)

Publication Number Publication Date
CN116229632A true CN116229632A (en) 2023-06-06

Family

ID=86574839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310225919.XA Pending CN116229632A (en) 2023-03-09 2023-03-09 Method, system and storage medium based on electric bicycle inspection parking spot

Country Status (1)

Country Link
CN (1) CN116229632A (en)

Similar Documents

Publication Publication Date Title
CN110570538B (en) Method, device and equipment for managing black box data in intelligent driving automobile
CN104203702B (en) Detect lane markings
CN112562408B (en) Global path planning method, device and system based on vehicle-road cooperation
CN108297870A (en) A kind of control method for vehicle and device
US11361556B2 (en) Deterioration diagnosis device, deterioration diagnosis system, deterioration diagnosis method, and storage medium for storing program
CN108665726A (en) A kind of parking management method, server and berth lock
CN112449690B (en) Inconvenience of passengers getting on and off for automatically driving vehicle
CN105761490A (en) Method of carrying out early warning on hazardous chemical substance transport vehicle parking in service area
CN108256554A (en) Vehicle reverse stopping judgment method, server and system based on deep learning
CN104952273B (en) Alarm method, apparatus and system for vehicle behavior
CN113470371B (en) Method, system, and computer-readable storage medium for identifying an offending vehicle
CN110264727A (en) Multi-mode autonomous intelligence unmanned systems and method towards intelligence community parking application
US20230282000A1 (en) Multi-object tracking
DE102013215496A1 (en) Security system, program product for same and monitoring process
CN112785846A (en) Vehicle monitoring method and device
KR20230103002A (en) System for managing safety in industrial site
US11080530B2 (en) Method and system for detecting an elevated object situated within a parking facility
CN116229632A (en) Method, system and storage medium based on electric bicycle inspection parking spot
CN112288524A (en) Vehicle management method, electronic device, and computer-readable storage medium
CN113053154B (en) Vehicle monitoring method, device and system for parking lot and server
US11538320B2 (en) Parking space information system
CN115131986A (en) Intelligent management method and system for closed parking lot
CN113879288A (en) Control method and device of acquisition sensor, storage medium and vehicle
CN115527389A (en) Parking lot parking space management method and system, storage medium and computer equipment
CN113593253A (en) Method and device for monitoring red light running of vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination