Advertisement display device and smoking detection method thereof
By collecting visible light and infrared images in real time on the advertising display device and using the smoking detection neural network model to identify smokers, it solves the shortcomings of traditional smoke detectors in tiny particle detection, delay time and positioning, and achieves fast and accurate smoking detection. Behavior detection and reminders.
Patent Information
- Application Number
- CN201910098430.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-01-31
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2039-01-31
AI Technical Summary
Existing smoke detectors have shortcomings in their ability to detect tiny particles, their inability to distinguish gases or smoke with similar components, their long delay time, their reduced sensitivity, their inability to take photos for evidence collection, and their inability to locate smoking locations, making them unable to accurately detect whether someone is smoking.
Visible light and infrared environmental images are collected in real time through the advertising display device, and combined with face recognition and smoking detection neural network models, the image of the smoking person is recognized, and a prompt signal is sent through the alarm device.
It achieves fast and accurate smoking behavior detection, can identify smokers and issue reminders, provides a non-contact detection method, and avoids the shortcomings of traditional smoke detectors.
Smart Images

Figure CN109584759B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of advertising equipment, and in particular to an advertising display device and a smoking detection method thereof. Background Art
[0002] At present, the whole society advocates smoke-free public places and smoke-free offices; some public places and offices often use slogans of "No Smoking" for reminders, or use "No Smoking" voice reminders based on smoke detection, which detects the smoke conditions in the surrounding environment and gives voice reminders.
[0003] The "no smoking" detection device based on smoke detection has at least the following defects: its ability to detect tiny particles is poor, and it cannot distinguish between gases or smoke of similar composition, resulting in false alarms; the delay time is large, and the alarm can only be triggered when the gas or smoke is transmitted to the sensor device; long-term use will reduce the sensitivity of the detector, and it will not be able to accurately detect whether someone is smoking; it can only accurately detect when it is within the detectable range of the detector and the smoke concentration is high; the smoke detector can only detect when someone is smoking, but it cannot take photos for evidence, nor can it locate the specific location of smoking, which is not conducive to alarm feedback. Summary of the invention
[0004] In view of the defects in the prior art, an embodiment of the present invention provides an advertisement display device and a smoking detection method thereof, which automatically and accurately determines the smoker in the image by collecting the surrounding environment image through the advertisement display device.
[0005] In a first aspect, an embodiment of the present invention provides an advertising display device, comprising a body, a display screen provided on the body, an image acquisition device provided on the top of the body, a main controller and a power module provided inside the body,
[0006] The display screen is used to display images;
[0007] The image acquisition device is used to acquire visible light environment images and infrared environment images in real time, wherein the data of the visible light environment images and the infrared environment images are the same, and send the acquired visible light environment images and infrared environment images to the main controller;
[0008] The main controller receives a visible light environment image and an infrared environment image, and pre-processes the visible light environment image and the infrared environment image to obtain a pre-processed visible light image and infrared image, and combines the visible light image and the infrared image to perform face recognition and smoke detection and recognition to obtain a face image of a person smoking;
[0009] The power module is used to provide working power for the display screen, the image acquisition device and the main controller;
[0010] The image acquisition device and the display screen are respectively connected to the main controller, and the power supply module is respectively connected to the image acquisition device, the main controller and the display screen.
[0011] Furthermore, the image acquisition device includes a zoom lens, an infrared camera, a camera and a semi-reflective and semi-transparent beam splitter. The infrared camera and the camera are installed in the same longitudinal direction. The zoom lens is located in front of the infrared camera. A semi-reflective and semi-transparent beam splitter is arranged between the infrared camera and the camera. The angle between the semi-reflective and semi-transparent beam splitter and the horizontal line is 45 degrees. The camera and the infrared camera are respectively connected to the main controller.
[0012] Furthermore, it also includes an alarm device, which is used to send out a prompt signal and is connected to the main controller.
[0013] Furthermore, the alarm device includes a voice module, which is used to play reminder voice information, and the voice module is connected to the main controller.
[0014] In a second aspect, an embodiment of the present invention provides a smoking detection method for an advertising display device, comprising:
[0015] Acquire a visible light environment image and an infrared environment image synchronously photographed by the advertising display device, wherein the visible light environment image and the infrared environment image have the same data; the visible light environment image and the infrared environment image have the same shooting angle, shooting content, and setting parameters during shooting;
[0016] Preprocessing the visible light environment image and the infrared environment image;
[0017] Performing face recognition on the preprocessed visible light environment image, and dividing the preprocessed visible light environment image into a plurality of visible light sub-images containing faces;
[0018] Extracting the infrared sub-image of the face in the corresponding area from the preprocessed infrared environment image according to the size of the visible light sub-image of the face and the position of the face image in the visible light environment image;
[0019] Inputting the visible light sub-image of the face and the infrared sub-image of the face into a smoking detection neural network model to perform smoking behavior recognition;
[0020] The smoking detection neural network model identifies facial images of people smoking.
[0021] Furthermore, after the smoking detection neural network model recognizes the facial image of a smoker, the method further includes: controlling an alarm device to send out a voice prompt signal.
[0022] Furthermore, the method also includes establishing a smoking detection neural network model. The specific method of establishing the smoking detection neural network model includes:
[0023] Selecting publicly available visible light environment images and infrared environment images, wherein the visible light environment images and infrared environment images have the same content, the same size, and the same shooting angle, and the publicly available visible light environment images and infrared environment images include a smoking face image and a non-smoking face image;
[0024] A face recognition method is used to obtain a visible light face image from a public visible light image;
[0025] According to the size of the visible light face image and the position of the face image in the visible light environment image, the infrared face image of the corresponding area is obtained from the public infrared environment image, and the visible light face image and the infrared face image are used as a smoking detection training set.
[0026] Labeling each smoking image according to whether there is smoke in each image in the smoking detection training set;
[0027] According to the labels, a preset smoking detection neural network model is trained using a smoking detection training set until the model converges.
[0028] Furthermore, the smoking detection neural network model adopts a deep convolutional neural network, which includes 5 convolutional layers, 4 fully connected layers and 1 classification layer.
[0029] Furthermore, the advertising display device includes a body, a display screen is arranged on the body, an image acquisition device is arranged on the top of the body, and a main controller and a power supply module are arranged inside the body.
[0030] The display screen is used to display images;
[0031] The image acquisition device is used to acquire visible light environment images and infrared environment images in real time, wherein the data of the visible light environment images and the infrared environment images are the same, and send the acquired visible light environment images and infrared environment images to the main controller;
[0032] The main controller receives a visible light environment image and an infrared environment image, and pre-processes the visible light environment image and the infrared environment image to obtain a pre-processed visible light image and infrared image, and combines the visible light image and the infrared image to perform face recognition and smoke detection and recognition to obtain a face image of a person smoking;
[0033] The power module is used to provide working power for the display screen, the image acquisition device and the main controller;
[0034] The image acquisition device and the display screen are respectively connected to the main controller, and the power supply module is respectively connected to the image acquisition device, the main controller and the display screen.
[0035] Furthermore, the image acquisition device includes a zoom lens, an infrared camera, a camera and a semi-reflective and semi-transparent beam splitter. The infrared camera and the camera are installed in the same longitudinal direction. The zoom lens is located in front of the infrared camera. A semi-reflective and semi-transparent beam splitter is arranged between the infrared camera and the camera. The angle between the semi-reflective and semi-transparent beam splitter and the horizontal line is 45 degrees. The camera and the infrared camera are respectively connected to the main controller.
[0036] Beneficial effects of the present invention:
[0037] The advertising display device provided by the embodiment of the present invention collects visible light environment images and infrared environment images in real time through an image acquisition device. The data of the visible light environment images and the infrared environment images are the same. The main controller preprocesses the received visible light environment images and infrared environment images to obtain preprocessed visible light images and infrared images, combines the visible light images and infrared images to perform face recognition and smoking detection and recognition to obtain a face image of a smoker, thereby realizing recognition of the face of a smoker by the advertising display device. The main controller controls the image acquisition device to acquire images and controls the display screen to display advertising information.
[0038] The smoking detection method for an advertising display device provided in an embodiment of the present invention synchronously collects and captures visible light environment images and infrared environment images, analyzes and processes the visible light images and infrared images, and uses a smoking detection neural network model to identify facial images of smokers and facial images of non-smokers, thereby realizing contactless detection of smoking behavior and quickly and accurately identifying facial images of smokers. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the description of the prior art. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.
[0040] Figure 1 A schematic structural diagram of an advertisement display device provided by a first embodiment of the present invention is shown;
[0041] Figure 2 A principle block diagram of an advertisement display device provided by a first embodiment of the present invention is shown;
[0042] Figure 3 It shows a schematic diagram of the optical path of synchronous shooting by the image acquisition device in the first embodiment of the present invention;
[0043] Figure 4 A flow chart of a smoking detection method for an advertisement display device provided by a second embodiment of the present invention is shown. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0045] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0046] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0047] It should be further understood that the term "and / or" used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0048] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.
[0049] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by those skilled in the art to which the present invention belongs.
[0050] like Figure 1 , 2As shown, an advertisement display device provided by the first embodiment of the present invention comprises a body 1, a display screen 2 is arranged on the body 1, an image acquisition device 3 is arranged on the top of the body 1, and a main controller 4 and a power module 5 are arranged inside the body.
[0051] The display screen 2 is used to display images;
[0052] The image acquisition device 3 is used to acquire visible light environment images and infrared environment images in real time, the data of the visible light environment images and the infrared environment images are the same, and send the acquired visible light environment images and infrared environment images to the main controller;
[0053] The main controller 4 receives the visible light environment image and the infrared environment image, and pre-processes the visible light environment image and the infrared environment image to obtain the pre-processed visible light image and infrared image, and combines the visible light image and the infrared image to perform face recognition and smoke detection and recognition to obtain the face image of the smoker;
[0054] The power module 5 is used to provide working power for the display screen, the image acquisition device and the main controller;
[0055] The image acquisition device 3 and the display screen 2 are respectively connected to the main controller 4, and the power module 5 is respectively connected to the image acquisition device 3, the main controller 4 and the display screen 2. The display screen 2 can be an LCD display screen or an OLED display screen.
[0056] In the advertising display device in the embodiment of the present invention, the main controller controls the image acquisition device to acquire images and controls the display screen to display advertising information. The image acquisition device acquires visible light environment images and infrared environment images in real time. The data of the visible light environment images and the infrared environment images are the same. The main controller preprocesses the received visible light environment images and infrared environment images to obtain preprocessed visible light images and infrared images. Face recognition and smoking detection and recognition are performed in combination with the visible light images and infrared images to obtain a face image of the smoker, thereby realizing the recognition of the smoker's face by the advertising display device.
[0057] like Figure 3As shown, a schematic diagram of the optical path of the image acquisition device for synchronous shooting is shown. In this embodiment, the image acquisition device 3 includes a zoom lens 31, an infrared camera 32, a camera 33 and a semi-reflective and semi-transparent beam splitter 34. The infrared camera 32 and the camera 33 are installed in the same longitudinal direction. The zoom lens 31 is located in front of the infrared camera 32. A semi-reflective and semi-transparent beam splitter 34 is arranged between the infrared camera 32 and the camera 33. The angle between the semi-reflective and semi-transparent beam splitter 34 and the horizontal line is 45 degrees. The camera 33 and the infrared camera 32 are respectively connected to the main controller 4. The infrared camera and the camera are installed in the position described in this embodiment, so that the infrared video and the visible light video can be shot synchronously, so that the infrared camera and the camera shoot the same content.
[0058] In this embodiment, the advertising display device further includes an alarm device 6, which is used to send a prompt signal, and the alarm device 6 is connected to the main controller 4. The alarm device includes a voice module, and the voice module is used to play a reminder voice message, and the voice module is connected to the main controller. The main controller analyzes and processes the image collected by the image acquisition device, and if a person smoking in the image is identified, a prompt signal is sent through the alarm device, such as: playing a voice prompt message of "Do not smoke" through the voice module, or publishing the facial image of the smoker by a unit with relevant law enforcement authority, which can effectively prohibit smoking in public areas.
[0059] like Figure 4 FIG. 1 is a flowchart of a smoking detection method for an advertisement display device provided by a second embodiment of the present invention. The method is applicable to the advertisement display device described in the first embodiment. The smoking detection method for the advertisement display device includes the following steps:
[0060] S1: The main controller obtains the visible light environment image and the infrared environment image synchronously taken by the advertising display device, and the data of the visible light environment image and the infrared environment image are the same; the shooting angle, shooting content and setting parameters of the visible light environment image and the infrared environment image are the same.
[0061] S2: The main controller pre-processes the visible light environment image and the infrared environment image.
[0062] S3: The main controller performs face recognition on the preprocessed visible light environment image, and divides the preprocessed visible light environment image into multiple visible light sub-images containing faces.
[0063] S4: The main controller extracts the infrared sub-image of the face in the corresponding area from the preprocessed infrared environment image according to the size of the visible light sub-image of the face and the position of the face image in the visible light environment image.
[0064] S5: The main controller inputs the visible light sub-image and the infrared sub-image of the face into the smoking detection neural network model to perform smoking behavior recognition.
[0065] S6: The smoking detection neural network model recognizes the facial images of people smoking.
[0066] S7: Control the alarm device to send out a voice prompt signal.
[0067] The smoking detection method of the advertising display device of this embodiment synchronously collects and captures visible light environment images and infrared environment images, analyzes and processes the visible light images and infrared images, and uses a smoking detection neural network model to identify the facial images of smokers and non-smokers, thereby realizing non-contact detection of smoking behavior and quickly and accurately identifying facial images of smokers. When a facial image of a person with smoking behavior is identified, the alarm device can also be controlled to send out a voice prompt signal to remind the smoker not to smoke, or the facial image of the smoker can be published by a unit with relevant law enforcement authority, which can effectively prohibit smoking in public areas.
[0068] In this embodiment, the specific method of establishing the smoking detection neural network model includes:
[0069] Selecting publicly available visible light environment images and infrared environment images, wherein the visible light environment images and infrared environment images have the same content, the same size, and the same shooting angle, and the publicly available visible light environment images and infrared environment images include a smoking face image and a non-smoking face image;
[0070] A face recognition method is used to obtain a visible light face image from a public visible light image;
[0071] According to the size of the visible light face image and the position of the face image in the visible light environment image, the infrared face image of the corresponding area is obtained from the public infrared environment image, and the visible light face image and the infrared face image are used as a smoking detection training set.
[0072] Labeling each smoking image according to whether there is smoke in each image in the smoking detection training set;
[0073] According to the labels, a preset smoking detection neural network model is trained using a smoking detection training set until the model converges.
[0074] The smoking detection neural network uses a deep convolutional neural network, which has 10 layers (from left to right, 5 convolutional layers, 4 fully connected layers, and 1 classification (softmax) layer). The parameters of each layer are described as follows:
[0075] The first convolution layer: 96 groups of convolution kernels, each group of convolution kernels has a size of 11*11*3 (11*11 represents the length and width of the convolution kernel, 3 represents the channel of the image to be convolved), and the convolution step size is 4; the 96 feature images obtained by convolution are subjected to RELU nonlinear mapping and downsampling with a kernel of 3*3 and a step size of 2, and then the 96 feature images obtained after regularization are sent to the second convolution layer;
[0076] The second convolutional layer: The steps are the same as the first convolutional layer, except that there are 256 groups of filter kernels, each with a size of 5*5*96, and a convolution step size of 1. The rest is the same as the first convolutional layer, and the output is sent to the third convolutional layer;
[0077] The third convolutional layer: The steps are the same as the first convolutional layer, except that there are 384 groups of filter kernels, each with a size of 3*3*256, and a convolution step size of 1. The rest is the same as the first convolutional layer 1; the output is sent to convolutional layer 4;
[0078] The fourth convolutional layer: The steps are the same as the first convolutional layer, except that there are 384 groups of filter kernels, each with a size of 3*3*384, and a convolution step size of 1. The other outputs are the same as the first convolutional layer and are sent to the fifth convolutional layer;
[0079] The fifth convolutional layer: The steps are the same as the first convolutional layer, except that there are 256 groups of filter kernels, each with a size of 3*3*384, and a convolution step size of 1. The rest is the same as the first convolutional layer, and the output is sent to the first fully connected layer;
[0080] The first fully connected layer: 4096 nodes, each node is dropped with a probability of 50%. Dropout means that during the training process of the deep learning network, for the neural network unit, it is temporarily discarded from the network according to a certain probability. The output of each node is subjected to a RELU (linear rectification function) nonlinear mapping as the final output, and the final output result is sent to the second fully connected layer;
[0081] Second fully connected layer: 4096 nodes, the operation is the same as the first fully connected layer, and the results are sent to the third fully connected layer;
[0082] The third fully connected layer: 4096 nodes, only one full connection, no dropout and nonlinear mapping operations, the results are sent to the fourth fully connected layer;
[0083] The fourth fully connected layer: 2048 nodes, the operation is the same as the third fully connected layer, and the results are sent to the classification layer;
[0084] Classification layer: Outputs classification results with smoking behavior or non-smoking behavior.
[0085] By constructing a smoking detection neural network model through the above deep convolutional neural network, people who smoke and those who do not smoke in the image can be quickly identified.
[0086] The smoking detection method of the advertising display device of the present embodiment synchronously collects and captures visible light environment images and infrared environment images, analyzes and processes the visible light images and infrared images, and uses a smoking detection neural network model to identify the facial images of smokers and non-smokers, thereby realizing contactless detection of smoking behavior and quickly and accurately identifying facial images of people engaging in smoking behavior.
[0087] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.
Claims
1. An advertising display device, comprising a body, a display screen provided on the body, characterized in that: An image acquisition device is arranged on the top of the machine body, and a main controller and a power supply module are arranged inside the machine body. The display screen is used to display images; The image acquisition device is used to acquire visible light environment images and infrared environment images in real time, wherein the data of the visible light environment images and the infrared environment images are the same, and send the acquired visible light environment images and infrared environment images to the main controller; The main controller receives a visible light environment image and an infrared environment image, and pre-processes the visible light environment image and the infrared environment image to obtain a pre-processed visible light image and infrared image, and combines the visible light image and the infrared image to perform face recognition and smoke detection and recognition to obtain a face image of a person smoking; The power module is used to provide working power for the display screen, the image acquisition device and the main controller; The image acquisition device and the display screen are respectively connected to the main controller, and the power module is respectively connected to the image acquisition device, the main controller and the display screen; Among them, the image acquisition device includes a zoom lens, an infrared camera, a camera and a semi-reflective and semi-transparent beam splitter. The infrared camera and the camera are installed in the same longitudinal direction. The zoom lens is located in front of the infrared camera. A semi-reflective and semi-transparent beam splitter is arranged between the infrared camera and the camera. The angle between the semi-reflective and semi-transparent beam splitter and the horizontal line is 45 degrees. The camera and the infrared camera are respectively connected to the main controller.
2. The advertising display device according to claim 1, characterized in that: It also includes an alarm device, which is used to send out a prompt signal and is connected to the main controller.
3. The advertising display device according to claim 2, characterized in that: The alarm device comprises a voice module, which is used to play a warning voice message, and the voice module is connected to a main controller.
4. A smoking detection method for an advertising display device, characterized in that: include: Acquire a visible light environment image and an infrared environment image synchronously photographed by the advertising display device, wherein the visible light environment image and the infrared environment image have the same data; the visible light environment image and the infrared environment image have the same shooting angle, shooting content, and setting parameters during shooting; Preprocessing the visible light environment image and the infrared environment image; Performing face recognition on the preprocessed visible light environment image, and dividing the preprocessed visible light environment image into a plurality of visible light sub-images containing faces; Extracting a human face infrared sub-image in a corresponding area from the preprocessed infrared environment image according to the size of the human face visible light sub-image and the position of the human face image in the visible light environment image; Inputting the visible light sub-image of the face and the infrared sub-image of the face into a smoking detection neural network model to perform smoking behavior recognition; The smoking detection neural network model identifies facial images of people smoking.
5. The smoking detection method for an advertisement display device according to claim 4, characterized in that: After the smoking detection neural network model recognizes the facial image of the smoker, the method also includes: controlling the alarm device to send out a voice prompt signal.
6. The smoking detection method for an advertisement display device according to claim 4, characterized in that: The method further includes establishing a smoking detection neural network model. The specific method of establishing the smoking detection neural network model includes: Selecting publicly available visible light environment images and infrared environment images, wherein the visible light environment images and infrared environment images have the same content, the same size, and the same shooting angle, and the publicly available visible light environment images and infrared environment images include a smoking face image and a non-smoking face image; A face recognition method is used to obtain a visible light face image from a public visible light image; According to the size of the visible light face image and the position of the face image in the visible light environment image, the infrared face image of the corresponding area is obtained from the public infrared environment image, and the visible light face image and the infrared face image are used as a smoking detection training set. Labeling each smoking image according to whether there is smoke in each image in the smoking detection training set; According to the labels, a preset smoking detection neural network model is trained using a smoking detection training set until the model converges.
7. The smoking detection method of the advertising display device according to claim 6, characterized in that: The smoking detection neural network model adopts a deep convolutional neural network, which includes 5 convolutional layers, 4 fully connected layers and 1 classification layer.
8. The smoking detection method for an advertisement display device according to claim 4, characterized in that: The advertising display device comprises a body, a display screen is arranged on the body, an image acquisition device is arranged on the top of the body, and a main controller and a power supply module are arranged inside the body.
9. The smoking detection method for an advertisement display device according to claim 8, characterized in that: The image acquisition device includes a zoom lens, an infrared camera, a camera and a semi-reflective and semi-transparent beam splitter. The infrared camera and the camera are installed in the same longitudinal direction. The zoom lens is located in front of the infrared camera. A semi-reflective and semi-transparent beam splitter is arranged between the infrared camera and the camera. The angle between the semi-reflective and semi-transparent beam splitter and the horizontal line is 45 degrees. The camera and the infrared camera are respectively connected to a main controller.
Citation Information
Patent Citations
Smoking detection system and device based on infrared thermal image
CN102519605A
Face recognition method and device based on multispectral fusion
CN108090477A
Smoking detection method, storage medium and computer
CN108629282A
Face identification method
CN108629305A
Face recognition method and device
CN109117725A
