The present disclosure relates to vehicle assistance devices, and particularly to a vehicle assistance device assisting a vehicle to automatically engage a handbrake when moving when no one is in the driver's seat and a related method.
A driver can engage a handbrake after a vehicle is parked to prevent the vehicle from moving when parked on a sloped or uneven surface.
The components of the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout several views.
The embodiments of the present disclosure are now described in detail, with reference to the accompanying drawings.
Referring to
In the embodiment, the vehicle assistance device 1 includes at least one processor 10 and a storage unit 20. A vehicle assistance system 30 is applied in the vehicle assistance device 1. In the embodiment, the vehicle assistance system 30 includes a speed obtaining module 31, a determining module 32, an image obtaining module 33, a model creating module 34, an image analyzing module 35, an executing module 36, and a releasing module 37. One or more programs of the above function modules may be stored in the storage unit 20 and executed by the processor 10. In general, the word “module,” as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language. The software instructions in the modules may be embedded in firmware, such as in an erasable programmable read-only memory (EPROM) device. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of computer-readable medium or other storage device. The processor 10 can be a central processing unit, a digital processor, or a single chip, for example. The storage unit 20 can be a hard disk, a compact disk, or a flash memory, for example.
In the embodiment, the storage unit 20 stores a number of preset three-dimensional (3D) models of a person sitting in the driver's seat 3. Each preset 3D model has a unique name and a number of characteristic features. In one embodiment, the preset 3D models are created based on a number of images of the person sitting in the driver's seat 3 pre-collected by the camera 5 and the distance between the camera 5 and the person recorded in the pre-collected images of the special person. In the embodiment, when the images of the person are pre-collected by the camera 5, the person is sitting in the driver's seat 3 and facing toward the camera 5.
The speed obtaining module 31 obtains the speed of the vehicle 2 detected by the speed detection unit 4 when the vehicle 2 is parked.
The determining module 32 determines whether the vehicle 2 is moving according to the obtained speed of the vehicle 2. When the obtained speed of the vehicle 2 is greater than zero, the determining module 32 determines that the vehicle 2 is moving (See
The image obtaining module 33 obtains an image of the driver's seat 3 captured by the camera 5 every predetermined time interval when the determining module 32 determines that the vehicle 2 is moving.
The model creating module 34 creates a 3D model of the driver's seat 3 corresponding to the obtained image and the distance between the camera 5 and each object of the image captured by the camera 5.
The image analyzing module 35 determines whether a person occupies the driver's seat 3 according to the created 3D model of the driver's seat 3. In detail, the image analyzing module 35 extracts data from the created 3D model of the driver's seat 3 corresponding to shapes of the objects in the created 3D model of the driver's seat 3. The image analyzing module 35 compares the extracted data from the created 3D model of the driver's seat 3 with characteristic features of each of the preset 3D models to determine whether a person is in the created 3D model. If the extracted data of the 3D model does not match the characteristic features of any of the preset 3D models, the image analyzing module 35 determines that no person is in the created 3D model, and accordingly determines that no person occupies the driver's seat 3. If the extracted data from the created 3D model matches the characteristic features of at least one of the preset 3D models, the image analyzing module 35 determines that a person is in the created 3D model, and accordingly determines that a person occupies the driver's seat 3.
The executing module 36 controls the driving unit 6 to drive the pushing unit 7 to engage the handbrake 8 of the vehicle 2 when no person occupies the driver's seat 3.
In the embodiment, the image obtaining module 33 turns on the camera 5 only when the determining module 12 determines that the vehicle 2 is moving while the vehicle 2 is parked. Then, the image obtaining module 33 obtains the images captured by the camera 5 every predetermined time interval.
In the embodiment, the vehicle assistance device 1 is further connected to an input unit 9. The releasing module 37 controls the driving unit 6 to restore the pushing unit 7 to an initial state in response to a user operation on the input unit 9. Thus, after a person comes back to the vehicle 2 and inputs the user input on the input unit 9, the person can manually disengage the handbrake 8 of the vehicle 2.
In step S401, when the vehicle 2 is parked, the speed obtaining module 31 obtains a speed of the vehicle 2 detected by the speed detection unit 4.
In step S402, the determining module 32 determines whether the vehicle 2 is moving according to the obtained speed of the vehicle 2. When the obtained speed of the vehicle 2 is greater than zero, the determining module 32 determines that the vehicle 2 is moving, and the procedure goes to step S403. When the obtained speed of the vehicle 2 is zero, the determining module 32 determines that the vehicle 2 is motionless, and the procedure ends.
In step S403, the image obtaining module 33 obtains an image of the driver's seat 3 captured by the camera 5 every predetermined time interval.
In step S404, the model creating module 34 creates a 3D model of the driver's seat 3 corresponding to the obtained image and the distance between the camera 5 and each object of the image captured by the camera 5.
In step S405, the image analyzing module 35 determines whether a person occupies the driver's seat 3 according to the created 3D model of the driver's seat 3. If no person occupies the driver's seat 3, the procedure goes to step S406. If a person occupies the driver's seat 3, the procedure ends. In detail, the image analyzing module 35 extracts data from the created 3D model of the driver's seat 3 corresponding to shapes of the objects in the created 3D model of the driver's seat 3. The image analyzing module 35 compares the extracted data from the created 3D model of the driver's seat 3 with characteristic features of each of the preset 3D models to determine whether a person is in the created 3D model. If the extracted data of the 3D model does not match the characteristic features of any of the preset 3D models, the image analyzing module 35 determines that no person is in the created 3D model, and accordingly determines that no person occupies the driver's seat 3. If the extracted data from the created 3D model matches the characteristic features of at least one of the preset 3D models, the image analyzing module 35 determines that a person is in the created 3D model, and accordingly determines that a person occupies the driver's seat 3.
In step S406, the executing module 36 controls a driving unit 6 to drive a pushing unit 7 to engage a handbrake 8 of the vehicle 2 when no person occupies the driver's seat 3.
Although the present disclosure has been specifically described on the basis of the exemplary embodiment thereof, the disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiment without departing from the scope and spirit of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
102148598 | Dec 2013 | TW | national |