Automatic detection method of motor vehicle based on moving target tracking
An automatic detection and motor vehicle technology, applied in the electronic field, can solve problems such as excessive memory occupation, excessive records, and difficult access, and achieve the effect of reducing invalid data and reducing storage space requirements
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] Such as figure 1 As shown, a motor vehicle detection method based on moving target tracking includes the following steps:
[0035] Step A1, obtain the video stream: cyclically extract the current frame image in the camera;
[0036] Step A2, video image preprocessing: converting the collected video stream into the required color space for processing, taking into account the noise of the image, and setting the region of interest of the image. Segment the foreground and background, threshold the binary image of the vehicle, and use the corrosion function to further find the binary contour to judge the width (width) and height (height) of the car;
[0037]Step A3, background initialization and update: within a certain period of time, the video image frames are taken for addition operation, the average value is obtained to obtain the background, and the background is updated in real time;
[0038] Step A4, extracting the moving vehicle in the foreground: using the backgrou...
Embodiment 2
[0049] Such as figure 2 Shown, a kind of video automatic video recording method based on detecting whether there is a vehicle of the present invention comprises the following steps:
[0050] Step B1: read the camera;
[0051] Step B2: cyclically extract the current frame image in the camera;
[0052] Step B3: Pass this frame image into the existing car detection function to obtain the number of cars detected in this frame image;
[0053] Step B4: Determine whether a car is detected in the frame image, and if so, trigger the recording function and start recording;
[0054] Step B5: After the recording function is triggered, the recording will continue for a set period of time. At this time, the current frame of the camera will be detected for a car. If a car is detected, the recording will continue until no vehicle appears in the current frame, and the recording will end.
[0055] Since the present invention uses the OpenCV computer vision open source library, in order to c...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com