The gesture of drive recorder is taken pictures and method for recording and system
Technical field
The present invention relates to drive recorder technical field, more particularly to a kind of gesture of drive recorder is taken pictures and recording side
Method and system.
Background technology
With the continuous popularization of the vehicles such as automobile, drive recorder product is also rapidly increased, traditional row
Car recorder recording mode is more single, is typically used for the video image and sound for recording running car overall process, can be
Traffic accident provides evidence.The invention provides a kind of brand-new recording gimmick, user can by being waved to drive recorder,
Realization is taken pictures in real time or the function of video record.
The various functions of traditional drive recorder are required to the button by being carried to drive recorder fuselage or touched
Screen is touched to be operable to realize, and in order to not block the front window visual field, after generally all drive recorder can be arranged on
Behind visor, so operate very inconvenient, virtually add the danger in driving conditions, and larger operation be present
Delay, road conditions or landscape that can not be in real-time grasp shoot to driving conditions.
The content of the invention
In view of this, the present invention proposes that a kind of gesture of drive recorder is taken pictures and method for recording and system.
A kind of gesture of drive recorder is taken pictures and method for recording, and it comprises the following steps:
When S1, automobile data recorder system bring into operation, closely infrared distance sensor can start real time distance, and feed back distance
Data give application program processing;
S2, the newly-built thread of meeting carrys out special disposal ranging data after system program startup, and determines whether to wave to act,
When to wave to act, step S3 is jumped to;
S3, triggering automobile data recorder system are taken pictures and recorded a video.
The gesture of drive recorder of the present invention take pictures with method for recording,
The step S1 includes:
One is set in automobile data recorder system in advance apart from threshold values, the distance threshold be used for it is real there are currently no palm or its
When below its object proximity drive recorder, closely infrared distance sensor detects in automobile data recorder system distance meeting
More than apart from threshold values, when someone waves the palm by below recorder in threshold range, closely infrared distance sensor
The distance measured can be less than apart from threshold values;
Start automobile data recorder system operation, closely infrared distance sensor can start real time distance, and feed back range data
Give application program processing.
The gesture of drive recorder of the present invention take pictures with method for recording,
The step S2 includes:
The time interval of ranging data sampling is set in automobile data recorder system, the closely infrared distance measurement for differentiating people passes
Sensor collection waves to act, the distance number that application program is fed back to closely infrared distance sensor in automobile data recorder system
According to gentle processing is done, when first time measuring distance is less than apart from threshold values, real time distance data are reprocessed after the preset time that is delayed,
For avoiding measuring multiple distances being less than apart from threshold values in the short time, false triggering is caused.
The gesture of drive recorder of the present invention take pictures with method for recording,
The step S3 includes:
After range data processing Thread Analysis to action of once waving, trigger and taken pictures in automobile data recorder system and video recording journey
Sequence, current photo is taken, and record the video of lower front and rear default shooting time.
The present invention also provides a kind of gesture of drive recorder and taken pictures and recording system, and it includes such as lower unit:
Real-time detection unit, during for being brought into operation by automobile data recorder system, closely infrared distance sensor can start
Real time distance, and feed back range data and give application program processing;
Judging unit, carry out special disposal ranging data for a newly-built thread after system program starts, and judge whether
Acted to wave, when to wave to act, jump to triggering shooting unit;
Shooting unit is triggered, takes pictures and records a video for triggering automobile data recorder system.
The gesture of drive recorder of the present invention take pictures with recording system,
The detection unit in real time includes:
One is set in automobile data recorder system in advance apart from threshold values, the distance threshold be used for it is real there are currently no palm or its
When below its object proximity drive recorder, closely infrared distance sensor detects in automobile data recorder system distance meeting
More than apart from threshold values, when someone waves the palm by below recorder in threshold range, closely infrared distance sensor
The distance measured can be less than apart from threshold values;
Start automobile data recorder system operation, closely infrared distance sensor can start real time distance, and feed back range data
Give application program processing.
The gesture of drive recorder of the present invention take pictures with recording system,
The judging unit includes:
The time interval of ranging data sampling is set in automobile data recorder system, the closely infrared distance measurement for differentiating people passes
Sensor collection waves to act, the distance number that application program is fed back to closely infrared distance sensor in automobile data recorder system
According to gentle processing is done, when first time measuring distance is less than apart from threshold values, real time distance data are reprocessed after the preset time that is delayed,
For avoiding measuring multiple distances being less than apart from threshold values in the short time, false triggering is caused.
The gesture of drive recorder of the present invention take pictures with recording system,
The triggering shooting unit includes:
After range data processing Thread Analysis to action of once waving, trigger and taken pictures in automobile data recorder system and video recording journey
Sequence, current photo is taken, and record the video of lower front and rear default shooting time.
The gesture for implementing drive recorder provided by the invention is taken pictures and had compared with prior art with method for recording and system
Some beneficial effects:By camera function of waving, user more easily can operate to drive recorder, only need gently
Wave, can be achieved with taking pictures and recording a video in real time, allow drive recorder to become more practical interesting.User can also be avoided simultaneously
Button or touch-screen on drive recorder carry out the danger that operation is brought, and allow user to drive comfortable with safety.
Brief description of the drawings
Fig. 1 is that the gesture of the drive recorder of the embodiment of the present invention is taken pictures and method for recording flow chart.
Embodiment
As shown in figure 1, a kind of gesture of drive recorder is taken pictures and method for recording, it comprises the following steps:
When S1, automobile data recorder system bring into operation, closely infrared distance sensor can start real time distance, and feed back distance
Data give application program processing;
S2, the newly-built thread of meeting carrys out special disposal ranging data after system program startup, and determines whether to wave to act,
When to wave to act, step S3 is jumped to;
S3, triggering automobile data recorder system are taken pictures and recorded a video.
The gesture of drive recorder of the present invention take pictures with method for recording,
The step S1 includes:
One is set in automobile data recorder system in advance apart from threshold values, the distance threshold be used for it is real there are currently no palm or its
When below its object proximity drive recorder, closely infrared distance sensor detects in automobile data recorder system distance meeting
More than apart from threshold values, when someone waves the palm by below recorder in threshold range, closely infrared distance sensor
The distance measured can be less than apart from threshold values;Optionally, distance threshold can be 10cm.
Start automobile data recorder system operation, closely infrared distance sensor can start real time distance, and feed back distance
Data give application program processing.
The gesture of drive recorder of the present invention take pictures with method for recording,
The step S2 includes:
The time interval of ranging data sampling is set in automobile data recorder system, the closely infrared distance measurement for differentiating people passes
Sensor collection waves to act, the distance number that application program is fed back to closely infrared distance sensor in automobile data recorder system
According to gentle processing is done, when first time measuring distance is less than apart from threshold values, real time distance data are reprocessed after the preset time that is delayed,
For avoiding measuring multiple distances being less than apart from threshold values in the short time, false triggering is caused.Optionally, time interval is 20 millis
Second.Optionally, the preset time that is delayed is 2 seconds.
The gesture of drive recorder of the present invention take pictures with method for recording,
The step S3 includes:
After range data processing Thread Analysis to action of once waving, trigger and taken pictures in automobile data recorder system and video recording journey
Sequence, current photo is taken, and record the video of lower front and rear default shooting time.
The present invention also provides a kind of gesture of drive recorder and taken pictures and recording system, and it includes such as lower unit:
Real-time detection unit, during for being brought into operation by automobile data recorder system, closely infrared distance sensor can start
Real time distance, and feed back range data and give application program processing;
Judging unit, carry out special disposal ranging data for a newly-built thread after system program starts, and judge whether
Acted to wave, when to wave to act, jump to triggering shooting unit;
Shooting unit is triggered, takes pictures and records a video for triggering automobile data recorder system.
The gesture of drive recorder of the present invention take pictures with recording system,
The detection unit in real time includes:
One is set in automobile data recorder system in advance apart from threshold values, the distance threshold be used for it is real there are currently no palm or its
When below its object proximity drive recorder, closely infrared distance sensor detects in automobile data recorder system distance meeting
More than apart from threshold values, when someone waves the palm by below recorder in threshold range, closely infrared distance sensor
The distance measured can be less than apart from threshold values;
Start automobile data recorder system operation, closely infrared distance sensor can start real time distance, and feed back range data
Give application program processing.
The gesture of drive recorder of the present invention take pictures with recording system,
The judging unit includes:
The time interval of ranging data sampling is set in automobile data recorder system, the closely infrared distance measurement for differentiating people passes
Sensor collection waves to act, the distance number that application program is fed back to closely infrared distance sensor in automobile data recorder system
According to gentle processing is done, when first time measuring distance is less than apart from threshold values, real time distance data are reprocessed after the preset time that is delayed,
For avoiding measuring multiple distances being less than apart from threshold values in the short time, false triggering is caused.
The gesture of drive recorder of the present invention take pictures with recording system,
The triggering shooting unit includes:
After range data processing Thread Analysis to action of once waving, trigger and taken pictures in automobile data recorder system and video recording journey
Sequence, current photo is taken, and record the video of lower front and rear default shooting time.
The gesture for implementing drive recorder provided by the invention is taken pictures and had compared with prior art with method for recording and system
Some beneficial effects:By camera function of waving, user more easily can operate to drive recorder, only need gently
Wave, can be achieved with taking pictures and recording a video in real time, allow drive recorder to become more practical interesting.User can also be avoided simultaneously
Button or touch-screen on drive recorder carry out the danger that operation is brought, and allow user to drive comfortable with safety.
Above method embodiment is one-to-one with system embodiment, and therefore, the extension of embodiment of the method is also applicable
In said system embodiment.
Directly it can be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor
Capable software module, or the two combination are implemented.Software module can be placed in random access memory, internal memory, read-only storage,
Institute is public in electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
In the storage medium for any other forms known.
It is understood that for the person of ordinary skill of the art, it can be conceived with the technique according to the invention and done
Go out other various corresponding changes and deformation, and all these changes and deformation should all belong to the protection model of the claims in the present invention
Enclose.