Smoking detection method based on two-dimensional curved surface fitting
A detection method and technology of two-dimensional curved surfaces, which are applied in the fields of instruments, character and pattern recognition, computer parts, etc., can solve the problems of inconspicuous smoke and inability to meet the real-time performance of the system, so as to reduce product costs, be feasible and simple, and reduce errors. The effect of reporting
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] An embodiment of the present invention provides a method for smoking detection based on two-dimensional surface fitting, see figure 1 , the method consists of the following steps:
[0034] 101: Obtain 68 key points and select 7 specific key points from them, draw the facial features frame based on the specific key points, and determine the area of interest for smoking;
[0035] 102: Perform image grayscale processing on the smoking area of interest to obtain a binarized image, then extract connected regions on this basis, obtain a rectangular region, and establish a two-dimensional Gaussian function on the rectangular region;
[0036] 103: Bring the points and gray values of the connected area into the two-dimensional Gaussian function, use the least square method to fit, obtain the variance of the center point and the bright spot, and determine the center point and the bright spot according to the calculated center point and variance The size of the radius, and ...
Embodiment 2
[0046] The following is combined with specific calculation formulas, examples, and Figure 2-Figure 5 The scheme in Example 1 is further introduced, see the following description for details:
[0047] 201: Collect images through the infrared camera in the car;
[0048] Install the infrared camera in the car (the embodiment of the present invention does not limit the model of the infrared camera) in the car and above the console, and ensure that the collected images can make the driver appear in the middle of the image.
[0049] Among them, the camera can be tilted upward (the specific tilt angle can be determined according to the resolution of the camera and the height of the driving console, as long as the complete normal frontal face can be captured).
[0050] 202: Perform face detection on the images collected by the camera, using the Viola Jones detector combined with HAAR (Hal) features and adaboost classification [1] Confirm the location of the driver on the image in t...
Embodiment 3
[0069] Combine below Figure 5 The scheme in embodiment 1 and 2 is carried out feasibility verification, see the following description for details:
[0070] Use face detection and face key point detection technology to locate the position of the facial features, and then determine the smoking area according to the position of the facial features, and perform two-dimensional Gaussian surface fitting in the smoking area. If the fitted surface is not If the feature of the bright spot is met, it is detected that the driver has not smoked, such as Figure 5 As shown in (a), if the fitted Gaussian surface conforms to the characteristics of the bright spot, it is judged that the driver is smoking, such as Figure 5 As shown in (b), at this time give a voice warning not to smoke, Figure 5 The final rendering for smoking detection.
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