Arm projection method and device
Technical Field
The present disclosure relates to wearable devices, and particularly to a projection method and apparatus for a wearable device.
Background
Image display is the most important part of human-computer interaction, and the current display is realized by a display screen device or a projection device which projects an image onto a large plane body. The display screen is a large part of the electronic equipment, and occupies a large weight and a large volume proportion of the electronic equipment, so that the electronic equipment is inconvenient to carry. While current projection devices rely on large planar bodies, it is difficult to find a natural planar body as a projection carrier when the user is in open areas or under natural conditions. Therefore, if one can have a method without a screen, the method of human-computer interaction with a user through projection is very meaningful in any place.
Disclosure of Invention
One of the technical problems to be solved by the present invention is to provide a projection method for a wearable device, which can directly display on a human arm without depending on a display screen, so as to perform image display and human-computer interaction anytime and anywhere.
One of the technical problems to be solved by the invention is realized as follows: an arm projection method, comprising:
step 10, when the user wears the device, enabling the emission direction of a laser emitter of the device, the direction of a camera and the projection direction of the projection device to be the direction from the wrist of the user to the elbow; the projection is initial, the emission angle of the laser emitter is controlled to be adjusted step by step from the angle closest to the wrist to the elbow direction according to the stepping angle until the maximum emission angle is reached;
step 20, the camera angle is located at the middle angle position of the projection angle range at the moment, and an image is collected once when the angle is adjusted in a stepping mode every time;
step 30, finding the brightest laser point according to the brightness analysis in the image, then recording the light intensity of each laser stepping angle to the stress light point, if no laser point is judged in the image, indicating that the laser has scanned the shooting range, and recording the light intensity of the laser point corresponding to the angle as zero; when the laser scanning from the minimum angle to the maximum angle is finished, setting the laser emission angle as the emission angle corresponding to the maximum light intensity value of the laser spot, and emitting the laser;
step 40, after the laser emission angle is adjusted to the emission angle corresponding to the maximum light intensity value of the laser point, performing step scanning action on the camera, and stepping from the angle closest to the wrist to the maximum projection angle value, wherein in the period, the camera acquires an image during each step;
step 50, finding a laser point according to the brightness analysis in the collected image, then recording the position of the laser point in the image and recording the corresponding step angle, and finding the step angle of the position of the laser point closest to the center and storing the step angle as the optimal angle value after the shooting and scanning are finished;
and step 60, setting a projection angle of the projection equipment according to the optimal angle value for projection.
The second technical problem to be solved by the present invention is to provide a projection device of a wearable device, which can directly display on the arm of a human without depending on a display screen, so as to display images and perform human-computer interaction anytime and anywhere.
The second technical problem to be solved by the invention is realized as follows: an arm projection device comprises a laser emitter, a laser scanning stepping motor, a laser scanning motor controller, an optimal angle analysis and judgment unit, a camera scanning stepping motor, a camera scanning motor controller, an optimal angle storage unit, a projection equipment angle controller motor, projection equipment and a projection angle scanning range storage unit; the laser emitter, the laser scanning stepping motor, the laser scanning motor controller, the optimal angle analysis and judgment unit, the camera scanning stepping motor, the camera scanning motor controller, the optimal angle storage unit, the projection equipment angle controller motor and the projection equipment are sequentially connected; the projection angle scanning range storage unit is connected with the camera scanning motor controller;
the projection is initial, the laser scanning motor controller controls the emission angle of the laser emitter to adjust the emission angle step by step from the angle closest to the wrist to the elbow direction according to the step angle until the maximum emission angle is reached; the camera angle is positioned in the middle angle position of the projection angle range, and an image is collected once during angle stepping adjustment every time and is sent to the optimal angle analysis and judgment unit;
the optimal angle analysis and judgment unit finds the brightest laser point according to the brightness analysis in the image, then records the light intensity of each laser stepping angle to the stress light point, if the laser point is not judged to exist in the image, the laser is indicated to have scanned the shooting range, and the light intensity of the laser point corresponding to the angle is recorded as zero; when the scanning of the laser from the minimum angle to the maximum angle is finished, the optimal angle analyzing and judging unit sends the obtained laser emission angle corresponding to the maximum light intensity value of the laser point to the laser scanning motor controller, sets the laser emission angle of the laser emitter to be the emission angle corresponding to the maximum light intensity value of the laser point and emits the laser;
when the laser emission angle is adjusted to the emission angle corresponding to the maximum light intensity value of the laser point, the optimal angle analysis and judgment unit controls the camera scanning motor controller to perform step scanning action on the camera, and the camera is stepped from the angle closest to the wrist to the maximum projection angle value, wherein the maximum projection angle value is stored in the projection angle scanning range storage unit, and during the period, the camera collects an image every time the camera is stepped and sends the image to the optimal angle analysis and judgment unit for analysis;
the optimal angle analysis and judgment unit finds the laser point in the image according to the brightness analysis in the image, then records the position of the laser point in the image and records the corresponding stepping angle of the laser point, and after the shooting and scanning are finished, finds the stepping angle of which the position of the laser point is closest to the center and stores the stepping angle in the optimal angle storage unit;
and then the projection equipment angle controller sets a projection angle according to the optimal angle value of the optimal angle storage unit to perform projection.
The invention has the following advantages:
1. the projection device can be directly worn on the arm of a human body to display without other screen devices;
2. the optimal projection angle can be automatically found according to different wearing habits of users and different projection angles caused by different thicknesses of human arms through laser point scanning tests, so that the optimal display effect is achieved;
3. the best projection position can be found, the best projection arm position is found according to the angle with the strongest laser reflection light intensity, and then the projection angle is adjusted to enable the arm position which is the most suitable for projection to be exactly positioned at the center of projection content, so that the best projection effect is achieved.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a projection method of a wearable device according to the present invention.
Fig. 2 is a schematic view of the wearing state of the wearable device on the arm and the scanning direction.
Fig. 3 is a schematic view of the projection direction of the wearable device according to the present invention.
Fig. 4 is a block diagram of a projection device of the wearable device according to the present invention.
Detailed Description
As shown in fig. 1, the arm projection method of the present invention includes:
step 10, when the user wears the device, as shown in fig. 2, and the emitting direction of the laser emitter of the device, the direction of the camera and the projection direction of the projection device are consistent and all are from the wrist of the user to the elbow; the projection is initial, as shown by an arrow in fig. 2, the emission angle of the laser emitter is controlled to be adjusted step by step from the angle closest to the wrist to the elbow direction according to the step angle until the maximum emission angle is reached;
step 20, the camera angle is located at the middle angle position of the projection angle range at the moment, and an image is collected once when the angle is adjusted in a stepping mode every time;
step 30, finding the brightest laser point (the brightness of the laser point is obviously greater than the ambient light intensity) according to the brightness analysis in the image, then recording the light intensity of each laser stepping angle to the stress light point, if no laser point is judged in the image, indicating that the laser has scanned the shooting range, and recording the light intensity of the laser point corresponding to the angle as zero; when the laser scanning from the minimum angle to the maximum angle is finished, setting the laser emission angle as the emission angle corresponding to the maximum light intensity value of the laser spot, and emitting the laser;
step 40, after the laser emission angle is adjusted to the emission angle corresponding to the maximum light intensity value of the laser point, performing step scanning action on the camera, and stepping from the angle closest to the wrist to the maximum projection angle value, wherein in the period, the camera acquires an image during each step;
step 50, finding a laser point according to the brightness analysis in the collected image, then recording the position of the laser point in the image and recording the corresponding step angle, and finding the step angle of the position of the laser point closest to the center and storing the step angle as the optimal angle value after the shooting and scanning are finished;
and step 60, setting a projection angle of the projection equipment according to the optimal angle value to perform projection, as shown in fig. 3.
As shown in fig. 1 to 4, the arm projection apparatus of the present invention includes a laser emitter 1, a laser scanning stepping motor 2, a laser scanning motor controller 3, an optimal angle analyzing and determining unit 4, a camera 5, a camera scanning stepping motor 6, a camera scanning motor controller 7, an optimal angle storage unit 8, a projection apparatus angle controller motor 9, a projection apparatus 10, and a projection angle scanning range storage unit 11; the laser projector 1, the laser scanning stepping motor 2, the laser scanning motor controller 3, the optimal angle analysis and judgment unit 4, the camera 5, the camera scanning stepping motor 6, the camera scanning motor controller 7, the optimal angle storage unit 8, the projection equipment angle controller motor 9 and the projection equipment 10 are sequentially connected; the projection angle scanning range storage unit 11 is connected with the camera scanning motor controller 7; wherein,
the laser emitter 1 is responsible for generating and emitting a laser column;
the laser scanning stepping motor 2 is responsible for controlling the laser emitter 1 to perform vertical scanning action in the direction vertical to the arm projection information bearing plane;
the laser scanning motor controller 3 is responsible for controlling the specific scanning angle of the laser scanning stepping motor 2, and continuously adjusting the laser emission angle of the laser scanning stepping motor 2 after receiving the judgment result of the optimal angle analysis and judgment unit 4 so as to achieve the optimal judgment result of light spot analysis and judgment;
the optimal angle analyzing and judging unit 4 is responsible for judging and analyzing laser points in the image, judging to obtain an image with an optimal projection angle, and informing the laser scanning motor controller 3 to send optimal angle information to the optimal angle storage unit 8 when the image with the optimal projection angle is obtained through analysis;
the camera 5 is responsible for collecting image information in the laser emission direction of the laser emitter 1 and sending the image to the optimal angle analysis and judgment unit 4; the adjustable range of the camera angle of the camera 5 is equal to the adjustable range of the projection angle of the projection equipment;
the camera scanning stepping motor 6 is responsible for controlling the angle of the camera 5 and performs vertical scanning action in the direction vertical to the arm projection information bearing plane;
the camera scanning motor controller 7 is responsible for controlling the specific scanning angle of the camera scanning stepping motor 6, and storing the optimal scanning angle information into an optimal angle storage unit 8 after receiving the judgment result of the optimal angle analysis and judgment unit 4;
the optimal angle storage unit 8 is responsible for receiving the optimal angle information sent by the camera scanning motor controller 7 and sending the information to the projection equipment angle control motor 9;
the projection equipment angle controller motor 9 is responsible for adjusting the projection equipment angle according to the optimal angle information sent by the optimal angle storage unit 8;
the projection device 10 is responsible for projecting image information of human-computer interaction onto the arm of a user;
the projection angle scanning range storage unit 11 is responsible for storing the angle range which can be scanned by the projection device 10;
the projection flow of the arm projection device of the invention is as follows:
the projection is initial, the laser scanning motor controller 3 controls the emission angle of the laser emitter 1 to be adjusted step by step from the angle closest to the wrist to the elbow direction according to the step angle until the maximum emission angle is reached; the angle of the camera 5 is positioned in the middle angle position of the projection angle range, and an image is collected once when the angle is adjusted in a stepping mode every time and is sent to the optimal angle analysis and judgment unit;
the optimal angle analyzing and judging unit 4 finds the brightest laser point according to the brightness analysis in the image, then records the light intensity of each laser stepping angle to the stress light point, if the laser point is not judged to exist in the image, the laser is indicated to have scanned the shooting range, and the light intensity of the laser point corresponding to the angle is recorded as zero; when the scanning of the laser from the minimum angle to the maximum angle is finished, the optimal angle analyzing and judging unit 4 sends the obtained laser emission angle corresponding to the maximum light intensity value of the laser point to the laser scanning motor controller 3, sets the laser emission angle of the laser emitter 1 to be the emission angle corresponding to the maximum light intensity value of the laser point, and emits the laser;
when the laser emission angle is adjusted to the emission angle corresponding to the maximum light intensity value of the laser point, the optimal angle analysis and judgment unit 4 controls the camera scanning motor controller 7 to perform step scanning action on the camera 5, and the step scanning action is performed from the angle closest to the wrist to the maximum projection angle value, wherein the maximum projection angle value is stored in the projection angle scanning range storage unit 11, and during the period, the camera 5 collects an image every time the step is performed and sends the image to the optimal angle analysis and judgment unit 4 for analysis;
the optimal angle analyzing and judging unit 4 finds the laser point in the image according to the brightness analysis in the image, then records the position of the laser point in the image and records the corresponding stepping angle, and after the shooting and scanning are finished, finds the stepping angle of which the position of the laser point is closest to the center and stores the stepping angle in the optimal angle storage unit 8;
then, the projection device angle controller 9 sets a projection angle according to the optimal angle value of the optimal angle storage unit 8 to perform projection.
Although specific embodiments of the invention have been described above, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, and that equivalent modifications and variations can be made by those skilled in the art without departing from the spirit of the invention, which is to be limited only by the appended claims.