Summary of the invention
The embodiment of the present application provides a kind of on-vehicle machines people and exchange method, solves on-vehicle machines human speech in the prior art
Sound identification is wrong to lead to not the problem of being precisely accomplished corresponding operating.
A kind of on-vehicle machines people provided by the embodiments of the present application and exchange method, specifically include:
Ultrasonic radar, on-vehicle machines people processor, vehicle-mounted camera and vehicle-carrying display screen;
The ultrasonic radar, for identification gesture operation of user;
The on-vehicle machines people processor, for determining control instruction corresponding with the gesture operation;The control refers to
Enable the rotation direction for controlling the vehicle-mounted camera;According to the control instruction, the vehicle-mounted camera is turned into institute
Rotation direction is stated to be shot;
The vehicle-mounted camera turns to the rotation for receiving the control instruction, and according to the control instruction
Direction is shot;
The vehicle-carrying display screen, for showing the image of the vehicle-mounted camera shooting.
A kind of possible implementation, the on-vehicle machines people processor are specifically used for:
If it is determined that the gesture operation is to slide n times to the first glide direction, it is determined that the corresponding control of the gesture operation
Instruction rotates M degree according to the corresponding rotation direction of first glide direction for controlling the vehicle-mounted camera;N, M be greater than
0 integer.
A kind of possible implementation, first glide direction are left sliding, then first glide direction is corresponding
Rotation direction be it is horizontal to the left;
First glide direction is right sliding, then the corresponding rotation direction of first glide direction is horizontally to the right;
First glide direction is upper sliding, then the corresponding rotation direction of first glide direction is vertically upward;
First glide direction is lower slider, then the corresponding rotation direction of first glide direction is vertically downward.
A kind of possible implementation, the on-vehicle machines people processor are specifically used for:
If it is determined that the gesture operation is slid clockwise L circle, it is determined that the gesture operation corresponds to control instruction and is used for
The vehicle-mounted camera is controlled to rotate L times according to the second direction;The second direction is horizontal left direction X degree;
If it is determined that the gesture operation is that sliding R is enclosed counterclockwise, it is determined that the gesture operation corresponds to control instruction and is used for
The vehicle-mounted camera is controlled to rotate R times according to the third direction;The third direction is horizontal right direction Y degree.
A kind of possible implementation, the on-vehicle machines people processor are specifically used for:
If it is determined that when the gesture operation is the first default gesture, it is determined that the gesture operation corresponds to control instruction and is used for
It controls the vehicle-mounted camera and is reset to initial position.
A kind of possible implementation, the on-vehicle machines people processor are specifically used for:
If it is determined that the gesture operation is the second default gesture, it is determined that the gesture operation corresponds to control instruction for controlling
Make the vehicle-mounted camera adjustment focal length.
A kind of possible implementation, the on-vehicle machines people processor are specifically used for:
If it is determined that the gesture operation is that third presets gesture, it is determined that the gesture operation corresponds to control instruction for controlling
Make the first time of the vehicle-mounted camera adjustment video recording.
A kind of on-vehicle machines people provided by the embodiments of the present application and exchange method, specifically include:
Identify the gesture operation of user gesture;
Determine control instruction corresponding with the gesture operation;The control instruction is for controlling the vehicle-mounted camera
Rotation direction;
According to the control instruction, the vehicle-mounted camera is turned into the rotation direction and is shot;
Show the image of the vehicle-mounted camera shooting on vehicle-carrying display screen.
A kind of possible implementation, determination control instruction corresponding with the gesture operation, comprising:
If it is determined that the gesture operation is to slide n times to the first glide direction, it is determined that the corresponding control of the gesture operation
Instruction rotates M degree according to the corresponding rotation direction of first glide direction for controlling the camera;N, M are greater than 0
Integer.
A kind of possible implementation, first glide direction are left sliding, then first glide direction is corresponding
Rotation direction be it is horizontal to the left;
First glide direction is right sliding, then the corresponding rotation direction of first glide direction is horizontally to the right;
First glide direction is upper sliding, then the corresponding rotation direction of first glide direction is vertically upward;
First glide direction is lower slider, then the corresponding rotation direction of first glide direction is vertically downward.
Using a kind of on-vehicle machines people provided by the invention and exchange method, has the advantages that and pass through ultrasonic wave
Radar identifies gesture, further according to the rotation direction of the corresponding control instruction control vehicle-mounted camera of gesture operation, to make user
It being capable of more convenient, accurate shooting when taking pictures or image by on-vehicle machines people.
Specific embodiment
In order to better understand the above technical scheme, below in conjunction with Figure of description and specific embodiment to above-mentioned
Technical solution is described in detail, it should be understood that the specific features in the embodiment of the present application and embodiment are to the application skill
The detailed description of art scheme, rather than the restriction to technical scheme, in the absence of conflict, the embodiment of the present application
And the technical characteristic in embodiment can be combined with each other.
Fig. 1 is on-vehicle machines people a kind of in the embodiment of the present application and the system schematic of exchange method, as shown, framework
It include: ultrasonic radar sensor module 101, on-vehicle machines people processor (Central Processing Unit, CPU)
102, vehicle-mounted camera 103, vehicle-carrying display screen 104, robot power supply and console interface 105 and robot audio interface 106.
Wherein, ultrasonic radar sensor module 101 is connect with on-vehicle machines people processor 102, for identification user
Gesture operation.
On-vehicle machines people processor 102 is and ultrasonic radar sensor module 101, vehicle-mounted camera 103, car-mounted display
Screen 104, robot power supply and console interface 105 and robot audio interface 106 connect, for handling gesture operation, and really
Fixed control instruction corresponding with gesture operation, is sent to vehicle-mounted camera 103 for control instruction;
Be also used to for 103 acquired image of vehicle-mounted camera being sent to vehicle-carrying display screen 104 and robot power supply and
Console interface 105 shows 103 acquired image of vehicle-mounted camera by vehicle-carrying display screen and console display screen simultaneously;
It is also used to control the connection of robot power supply and console interface 105 and the connection of robot audio interface 106.
Vehicle-mounted camera 103 is connect with on-vehicle machines people processor 102, for receiving on-vehicle machines people processor 102
The control instruction of transmission turns to rotation direction and is shot according to control instruction.
Vehicle-carrying display screen 104 is connect with on-vehicle machines people processor 102, for receiving on-vehicle machines people processor 102
103 acquired image of vehicle-mounted camera of transmission, and show image.
Robot power supply and console interface 105 are connect with on-vehicle machines people processor 102, for on-vehicle machines people
Normal operation give and power, charge;It is also used to connect with vehicle-mounted console, shares audio and video number with on-vehicle machines people
According to.
Robot audio interface 106 is connect with on-vehicle machines people processor 102, mainly there is microphone and loudspeaker, wherein
Microphone is for speech recognition, recording lamp etc.;Loudspeaker are for playing alarm sound etc..
Fig. 2 is to interact in the system of a kind of on-vehicle machines people and exchange method with vehicle centre console in the embodiment of the present application
Schematic diagram, as shown, mainly there is two big frameworks: on-vehicle machines people 201 and vehicle centre console 202, wherein on-vehicle machines people 201
In in addition to robot power supply and console interface 105 expand into video interface and audio and control interface, other are the same as frame in Fig. 1
Structure;Vehicle centre console 202 includes console display screen 203 and console audio-frequency module 204.
Wherein, on-vehicle machines people 201 is connected by video interface and audio with control interface with vehicle centre console 202.
Console display screen 203 is connect by video interface with on-vehicle machines people 201, for total with on-vehicle machines people 201
Enjoy video data, such as the video shot by vehicle-mounted camera.
Console audio-frequency module 204 is connect by audio and control interface with on-vehicle machines people 201, is used for and vehicle-mounted machine
Device people shares audio data, such as speech recognition, recording lamp and broadcasting alarm sound.
Fig. 3 is on-vehicle machines people a kind of in the embodiment of the present application and the flow chart of exchange method, and specific steps below will be detailed
Thin description.
Step 301: identifying the gesture operation of user gesture;
Step 302: determining control instruction corresponding with the gesture operation;The control instruction is described vehicle-mounted for controlling
The rotation direction of camera;
Step 303: according to the control instruction, the vehicle-mounted camera being turned into the rotation direction and is shot;
Step 304: showing the image of the vehicle-mounted camera shooting on vehicle-carrying display screen.
Fig. 4 is on-vehicle machines people a kind of in the embodiment of the present application and the embodiment schematic diagram of exchange method, as shown, vehicle
Carry robot be mounted on the position among windshield and console, when driving on the way, when interior user has shooting demand, vehicle
The specific operation process for carrying robot is as follows.
Step 301 is the gesture operation that interior user gesture is captured by the ultrasonic radar in on-vehicle machines people, including
Distance, angle, the speed of gesture are equivalent.
Step 302 is that on-vehicle machines people processor processes gesture operation, using the three-dimensional coordinate of gesture as reference, example
Such as, the scale of three-dimensional coordinate by centimetre as unit of, the first coordinate before gesture is (X1, Y1, Z1), gesture slide 1 time after the
Two coordinates are (X2, Y2, Z2), wherein X-coordinate indicates horizontal left and right direction, and Y-coordinate indicates horizontal front and rear direction, and Z is sat
Mark indicates vertical upper and lower direction.
X2-X1, Z2-Z1 are calculated, judges whether X2-X1 is equal to whether 0 and Z2-Z1 is equal to 0.
(1) when X2-X1 is not equal to 0, gesture has horizontal left and right direction sliding;When X2-X1 is equal to 0, gesture does not have
Horizontal left and right direction sliding;
(2) when Z2-Z1 is not equal to 0, gesture has vertical upper and lower direction sliding;When X2-X1 is equal to 0, gesture does not have
Vertical upper and lower direction sliding.
After judging the sliding of horizontal and vertical two general orientation of gesture, the further left in determined level direction
To and right direction;And upper direction and lower direction in vertical direction.
(1) when X2-X1 is greater than 0, gesture has the sliding in direction horizontally to the right;
(2) when X2-X1 is less than 0, gesture has the sliding of horizontal left direction;
(3) when Z2-Z1 is greater than 0, gesture has sliding vertically upward;
(4) when X2-X1 is less than 0, gesture has the sliding of vertical downward direction.
Step 303 is at this moment, according to above-mentioned judging result it can be concluded that the corresponding control instruction of gesture operation, according to control
System instruction, vehicle-mounted camera can turn to and correspondingly rotate direction.Here it is made of inside vehicle-mounted camera two modules,
Including vehicle-mounted pick-up head module and webcam driver motor module, wherein webcam driver motor module controlled level and vertical two
The rotational angle of a dimension can drive camera to rotate horizontally 360 degree and 90 degree of vertical rotary.Therefore the rotation of vehicle-mounted camera
There are single horizontal direction, single vertical direction in direction or both horizontally and vertically all have.When both horizontally and vertically all sometimes,
The rotation order of vehicle-mounted camera is that first horizontal direction X1 goes to X2, then vertical direction Z1 goes to Z2.
For example, ultrasonic radar identifies the gesture operation of interior user, and on-vehicle machines people's processor is to gesture operation
It is handled, when the first coordinate of gesture operation is (3,2,6), after left direction is slided 1 time, the second coordinate is (- 2,2,6);Then
Determine that gesture operation corresponds to control instruction and slides corresponding rotation according to left direction level for controlling vehicle-mounted camera.
When the first coordinate of gesture operation is (- 2,3,6), after right direction is slided 1 time, the second coordinate is (4,3,6);Then really
Determine gesture operation and corresponds to control instruction for controlling vehicle-mounted camera according to the corresponding rotation of right direction level sliding.
When the first coordinate of gesture operation is (1,5,0), after upward direction is slided 1 time, the second coordinate is (1,5,4);Then really
Determine gesture operation and corresponds to control instruction for controlling vehicle-mounted camera according to the corresponding rotation of upward direction vertical sliding motion.
When the first coordinate of gesture operation is (2,4,3), after sliding 1 time in downward direction, the second coordinate is (2,4, -3);Then really
Determine gesture operation and corresponds to control instruction for controlling vehicle-mounted camera according to the corresponding rotation of vertical sliding motion in downward direction.
When the first coordinate of gesture operation is (2,4,3), after oblique sliding 1 time, the second coordinate is (3,4,0);Then determine hand
Gesture operates corresponding control instruction and corresponds to and turn according to direction horizontally to the right and vertical downward direction sliding for controlling vehicle-mounted camera
It is dynamic.
Here rotational angle has setting in on-vehicle machines people in advance, sliding 1 time such as every, rotates 5 degree of angles, others turn
Dynamic direction and rotational angle repeat no more.
Above-mentioned rotation direction is the mode fine-tuned, but is being driven a vehicle on the way, when interior user wants to pass through letter
Single gesture operation can make camera quickly position interior user location, when without fine adjustment camera rotation direction,
Following coarse adjustment is both with regard to this expansion.
The angle for going to interior user location is previously provided in on-vehicle machines people, such as 60 degree of angles, when gesture operation is suitable
1 circle of hour hands sliding, it is determined that gesture operation corresponds to control instruction and turns right for controlling vehicle-mounted camera according to 60 degree of angle horizontal directions
It is 1 time dynamic.
When gesture operation is 1 circle of sliding counterclockwise, it is determined that gesture operation corresponds to control instruction for controlling vehicle-mounted pick-up
Head turns left 1 time according to 60 degree of angle levels.
When vehicle-mounted camera turns to corresponding position, Focussing can be carried out according to preset gesture operation,
Including remote and short distance;Meanwhile when being recorded a video with camera, it can be carried out according to preset gesture operation correspondence
The selection of video time, such as 5 minutes, 10 minutes or half an hour.
It, can be according to pre- in on-vehicle machines people when needing camera being reset to initial position after the completion of camera shooting
The gesture respective operations first set.
Step 304 is that can check acquiring in real time when vehicle-mounted camera turns to corresponding position and shot
Image, to be confirmed whether to need to do turned position adjustment appropriate;Or it when adjusting camera focal length, can more accurately adjust
Remote, the short distance of its whole shooting.
Finally, it should be noted that it should be understood by those skilled in the art that, embodiments herein can provide as method, be
System or computer program product.Therefore, the application can be used complete hardware embodiment, complete software embodiment or combine software
With the form of the embodiment of hardware aspect.Moreover, it wherein includes that computer can use journey that the application, which can be used in one or more,
The computer implemented in the computer-usable storage medium (including but not limited to magnetic disk storage, optical memory etc.) of sequence code
The form of program product.
The application be referring to according to the present processes, equipment (system) and computer program product flow chart and/or
Block diagram describes.It should be understood that each process that can be realized by computer program instructions in flowchart and/or the block diagram and/or
The combination of process and/or box in box and flowchart and/or the block diagram.It can provide these computer program instructions to arrive
General purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor to generate one
Machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for realizing flowing
The device for the function of being specified in journey figure one process or multiple processes and/or block diagrams one box or multiple boxes.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
Obviously, those skilled in the art can carry out various modification and variations without departing from the model of the application to the application
It encloses.In this way, if these modifications and variations of the application belong within the scope of the claim of this application and its equivalent technologies, then
The application is also intended to include these modifications and variations.