This application claims priority to Chinese Patent Application No. 201710252091.1 filed on Apr. 18, 2017, the contents of which are incorporated by reference herein.
The subject matter herein generally relates to automobile safety, and particularly to a detecting device and a method of detecting a target object in a vehicle.
A careless guardian may leave a child alone in a locked car. This is dangerous for the child. Improvement in the art is preferred.
Many aspects of the disclosure can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures, and components have not been described in detail so as not to obscure the related relevant feature being described. Also, the description is not to be considered as limiting the scope of the embodiments described herein. The drawings are not necessarily to scale and the proportions of certain parts may be exaggerated to better illustrate details and features of the present disclosure.
The present disclosure, referencing the accompanying drawings, is illustrated by way of examples and not by way of limitation. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one.”
Furthermore, the term “module”, as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as Java, C, or assembly. One or more software instructions in the modules can be embedded in firmware, such as in an EPROM. The modules described herein can be implemented as either software and/or hardware modules and can be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives.
In at least one exemplary embodiment, the microprocessor chip 100 can be electrically connected with the controller 20. The controller 20 can send an engine off signal to the microprocessor chip 100 when an engine of the vehicle 1 is turned off. The controller 20 can further send a locked signal to the microprocessor chip 100 when doors of the vehicle 1 are locked (e.g., the doors of the vehicle 1 are back locked).
In at least one exemplary embodiment, the communication device 400 can be a subscriber identification module (SIM) card. The detecting device 1 can communicate with an external device 2 through the communication device 400. In at least one exemplary embodiment, the external device 2 can be a mobile phone or a smart watch.
In at least one exemplary embodiment, the microprocessor chip 100 can include, but is not limited to, a detecting module 101, an obtaining module 102, an analyzing module 103, and a prompting module 104. In at least one exemplary embodiment, the modules 101-104 include computerized codes in the form of one or more programs that may be stored in the microprocessor chip 100. The computerized codes include instructions that can be executed by the microprocessor chip 100.
In at least one exemplary embodiment, the detecting module 101 can detect whether the vehicle 1 is in a first condition of engine off and can detect whether the vehicle 1 is in a second condition that doors of the vehicle 1 are locked.
As mentioned above, the controller 20 can send an engine off signal to the microprocessor chip 100 when the engine of the vehicle 1 is turned off, such that the detecting module 101 can determine the vehicle 1 is in the first condition of engine off when the engine off signal is received from the controller 20. Similarly, the detecting module 101 can determine the vehicle 1 is in the second condition when the locked signal is received from the controller 20.
When the vehicle 1 meets the first condition and the second condition, the obtaining module 102 can control the image obtaining device 200 to capture images of a current environment inside the vehicle 1 at preset time intervals (e.g., every second).
In at least one exemplary embodiment, when the vehicle 1 meets the first condition and the second condition, the obtaining module 102 can control the at least one camera device 201 to capture optical images of the current environment inside the vehicle 1 and can control the infrared sensor 202 to capture infrared images of the current environment inside the vehicle 1.
In at least one exemplary embodiment, the analyzing module 103 can determine whether a target object is detected by analyzing the images of the current environment inside the vehicle 1. In at least one exemplary embodiment, the target object can be human or an animal, or other objects that can give off infrared signals.
In at least one exemplary embodiment, the analyzing module 103 can recognize an outline of each object in the images of the current environment inside the vehicle 1 using image edge detection algorithm. The analyzing module 103 can compare the recognized outline with one or more preset outlines to determine whether the target object is detected. When a first similarity degree value between the recognized outline and one of the one or more preset outlines is greater than or equal to a first preset value (e.g., 95%), the analyzing module 103 can determine that the target object is detected. When the first similarity degree value is less than the first preset value, the analyzing module 103 can determine that the target object is not detected.
In at least one exemplary embodiment, the one or more preset outlines can include one or more outlines of objects that can give off infrared signals. For example, the one or more preset outlines can include human outlines, and/or one or more animal outlines.
In other exemplary embodiments, the detecting device 10 pre-stores a reference image which is captured by the image obtaining device 200 under a condition that no target object is inside the vehicle 1, i.e., the reference image is an image of the environment inside vehicle 1 in which there is no human or animal. The analyzing module 103 can compare each of the images of the current environment inside the vehicle 1 and the reference image. When a second similarity degree value between one of the images of the current environment inside the vehicle 1 and the reference image is greater than or equal to a second preset value (e.g., 90%), the analyzing module 103 can determine that a target object is not detected. When the second similarity degree value is less than the second preset value, the analyzing module 103 can determine that a target object is detected.
When the target object is detected, the prompting module 104 can transmit a first preset prompt. In at least one exemplary embodiment, the prompting module 104 can transmit the first preset prompt by activating a horn of the vehicle 1 and/or activating a lighting device of the vehicle 1.
In other exemplary embodiments, the prompting module 104 can transmit a second preset prompt to the external device 2 through the communication device 400. For example, the prompting module 104 can transmit the second preset prompt to a software application that is installed in the external device 2. In at least one exemplary embodiment, the external device 2 can use the software application to access a social network site, and the second preset prompt may be in form of a text message or in a voice message. In other exemplary embodiments, the prompting module 104 can automatically make a telephone call by dialing a phone number of the external device 2 through the communication device 400, such that when a user of the external device 2 answers the call, vocal communication with the target object can take place.
At block S101, the detecting module 101 can detect whether the vehicle 1 is in a first condition of engine off and can detect whether the vehicle 1 is in a second condition that doors of the vehicle 1 are locked.
As mentioned above, the controller 20 can send an engine off signal to the microprocessor chip 100 when the engine of the vehicle 1 is turned off, such that the detecting module 101 can determine the vehicle 1 meets the first condition when the engine off signal is received from the controller 20. Similarly, the detecting module 101 can determine the vehicle 1 meets the second condition when the locked signal is received from the controller 20.
At block S102, when the vehicle 1 meets the first condition and the second condition, the obtaining module 102 can control the image obtaining device 200 to capture images of a current environment inside the vehicle 1 at preset time intervals (e.g., every second).
In at least one exemplary embodiment, when the vehicle 1 meets the first condition and the second condition, the obtaining module 102 can control the at least one camera device 201 to capture optical images of the current environment inside the vehicle 1 and can control the infrared sensor 202 to capture infrared images of the current environment inside the vehicle 1.
At block S103, the analyzing module 103 can determine whether a target object is detected by analyzing the images of the current environment inside the vehicle 1. When the target object is detected, the process goes to block S104. When the target object is not detected, the process goes to block S101. In at least one exemplary embodiment, the target object can be human or an animal, or other objects that can give off infrared signals.
In at least one exemplary embodiment, the analyzing module 103 can recognize an outline of each object in the images of the current environment inside the vehicle 1 using image edge detection algorithm. The analyzing module 103 can compare the recognized outline with one or more preset outlines to determine whether the target object is detected. When a first similarity degree value between the recognized outline and one of the one or more preset outlines is greater than or equal to a first preset value (e.g., 95%), the analyzing module 103 can determine that the target object is detected. When the first similarity degree value is less than the first preset value, the analyzing module 103 can determine that the target object is not detected.
In at least one exemplary embodiment, the one or more preset outlines can include one or more outlines of objects that can give off infrared signals. For example, the one or more preset outlines can include human outlines, and/or one or more animal outlines.
In other exemplary embodiments, the detecting device 10 pre-stores a reference image which is captured by the image obtaining device 200 under a condition that no target object is inside the vehicle 1, i.e., the reference image is an image of the environment inside vehicle 1 in which there is no human or animal. The analyzing module 103 can compare each of the images of the current environment inside the vehicle 1 and the reference image. When a second similarity degree value between one of the images of the current environment inside the vehicle 1 and the reference image is greater than or equal to a second preset value (e.g., 90%), the analyzing module 103 can determine that a target object is not detected. When the second similarity degree value is less than the second preset value, the analyzing module 103 can determine that a target object is detected.
At block S104, when the target object is detected, the prompting module 104 can transmit a first preset prompt. In at least one exemplary embodiment, the prompting module 104 can transmit the first preset prompt by activating a horn of the vehicle 1 and/or activating a lighting device of the vehicle 1.
In other exemplary embodiments, the prompting module 104 can transmit a second preset prompt to the external device 2 through the communication device 400. For example, the prompting module 104 can transmit the second preset prompt to a software application that is installed in the external device 2. In at least one exemplary embodiment, the external device 2 can use the software application to access a social network site, and the second preset prompt may be in form of a text message or in a voice message. In other exemplary embodiments, the prompting module 104 can automatically make a telephone call by dialing a phone number of the external device 2 through the communication device 400, such that when a user of the external device 2 answers the call, vocal communication with the target object can take place.
It should be emphasized that the above-described embodiments of the present disclosure, including any particular embodiments, are merely possible examples of implementations, set forth for a clear understanding of the principles of the disclosure. Many variations and modifications can be made to the above-described embodiment(s) of the disclosure without departing substantially from the spirit and principles of the disclosure. All such modifications and variations are intended to be included herein within the scope of this disclosure and protected by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
201710252091.1 | Apr 2017 | CN | national |