Zoom control method and system based on gesture recognition

By obtaining the hand movement characteristics of the target object in the video frame and controlling the camera zoom, the problem of limited zoom multiple in the existing technology is solved, and the user can freely control the camera zoom.

CN118695082APending Publication Date: 2024-09-24REMO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310278940.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-21
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

In the existing technology, when controlling the zoom of a camera with gestures, it can only simply control the picture to be enlarged or reduced by two or four times. It cannot freely control the zoom factor of the camera and cannot meet the detailed needs of users.

Method used

By obtaining the hand movement characteristics of the target object in the video frame, including gestures, hand movement direction, and hand movement distance, the camera's zoom is controlled, allowing the image to be reduced or enlarged freely, allowing the user to freely control the zoom factor according to needs.

Benefits of technology

It achieves the purpose of users being able to freely control the zoom factor of the camera. The operation is simple and convenient, and meets the user's detailed needs for zoom control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118695082A
    Figure CN118695082A
Patent Text Reader

Abstract

The invention discloses a zoom control method and system based on gesture recognition. The zoom control method comprises the following steps: acquiring a hand movement feature of a target object in a video frame; wherein the hand movement features comprise a gesture, a hand movement direction and a hand movement distance; and controlling the camera to zoom according to the hand movement characteristics. Zooming is correspondingly controlled according to the detected gesture change, operation is simple and convenient, and the purpose that a user can freely control the zoom multiple of the camera is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of photography technology, and in particular to a method and system for controlling zoom based on gesture recognition. Background Art

[0002] With the popularity of video networks, more and more people use online videos for meetings, online classes, live broadcasts and other communications. People's requirements for network cameras are getting higher and higher, especially the demand for zoom control in practical applications is becoming more and more detailed. In the existing technology, when people control the zoom of the camera through gestures, they can only control the shooting / output picture to be enlarged or reduced by two or four times by recognizing fixed gestures, and cannot freely control the zoom multiple of the camera. Therefore, how to freely control the zoom of the camera to meet the user's requirements is a technical problem that we urgently need to solve. Summary of the invention

[0003] The present invention provides a method and system for controlling zoom based on gesture recognition, which achieves the purpose of enabling a user to freely control the zoom multiple of a camera by correspondingly controlling the zoom according to detected gesture changes.

[0004] To realize the above design, the present invention adopts the following technical solutions: On the one hand, a method for controlling zoom based on gesture recognition is provided, and the method for controlling zoom includes: Acquire hand movement features of a target object in a video frame; wherein the hand movement features include gestures, hand movement directions, and hand movement distances; The camera zoom is controlled according to the hand movement characteristics.

[0005] Wherein, controlling the camera zoom according to the hand movement feature comprises: If the gesture is a preset left-hand gesture, and the hand moves in the upward, rightward, or upper-right direction, the camera is controlled to zoom out the image according to the left-hand moving distance; If the gesture is a preset left-hand gesture, and the hand moves downward, leftward, or lower-left, the camera is controlled to zoom in on the image according to the distance the left hand moves; If the gesture is a preset right-hand gesture and the hand moves upward, left, or upper left, the camera is controlled to zoom out the image according to the right-hand moving distance; If the gesture is a preset right-hand gesture and the hand moves in a downward, rightward or lower-right direction, the camera is controlled to zoom in on the image according to the right-hand moving distance.

[0006] Wherein, controlling the camera zoom according to the hand movement feature comprises: If the gesture is a preset left-hand gesture, and the hand moves in the upward, rightward, or right-upward direction, the camera is controlled to zoom in on the image according to the distance the left hand moves. If the gesture is a preset left-hand gesture, and the hand moves downward, leftward, or lower-left, the camera is controlled to zoom out the image according to the left-hand moving distance; If the gesture is a preset right-hand gesture and the hand moves in the upward, left or upper left direction, the camera is controlled to zoom in on the image according to the right-hand moving distance; If the gesture is a preset right-hand gesture and the hand moves in a downward, rightward or lower-right direction, the camera is controlled to zoom out the image according to the right-hand moving distance.

[0007] Wherein, controlling the camera zoom according to the hand movement feature comprises: If the gesture is a preset gesture of both hands, and the relative distance between the two hands gradually decreases, the camera is controlled to zoom out the image according to the relative moving distance of the two hands; If the gesture is a preset gesture of both hands, and the relative distance between the two hands gradually increases, the camera is controlled to magnify the image according to the relative moving distance of the two hands.

[0008] Wherein, controlling the camera zoom according to the hand movement feature comprises: If the gesture is a preset gesture of both hands, and the relative distance between the two hands gradually decreases, the camera is controlled to zoom in on the image according to the relative moving distance of the two hands; If the gesture is a preset gesture of both hands, and the relative distance between the two hands gradually increases, the camera is controlled to zoom out the image according to the relative moving distance of the two hands.

[0009] The controlling the camera to perform zooming or zooming in processing on the image according to the moving distance of the left hand or the right hand specifically includes: As the distance of the left or right hand moving increases, the zoom speed of the corresponding direction of the camera is controlled to increase. When the hand moving distance no longer changes, the zoom speed remains unchanged; when the hand gesture of the target object is detected to be lowered, the zoom is stopped; or The reduction or enlargement range of the image is calculated according to the moving distance of the left hand or the right hand, and the camera is controlled to reduce or enlarge the image to the calculated range. When the moving distance of the hand no longer changes, the image scale remains unchanged.

[0010] The controlling of the camera to zoom in or zoom out the image according to the relative moving distance of the hands specifically includes: controlling the zoom speed of the camera in the corresponding direction to increase as the relative moving distance of the hands decreases or increases, and keeping the zoom speed constant when the relative moving distance of the hands no longer changes; stopping the zoom when the hand gesture of the target object is detected to be dropped; or The reduction or enlargement range of the image is calculated according to the relative movement distance of the hands, and the camera is controlled to reduce or enlarge the image to the calculated range. When the relative movement distance of the hands no longer changes, the zoom is stopped and the image scale remains unchanged.

[0011] Wherein, before acquiring the hand movement feature of the target object in the video frame, the method further includes: presetting a preset gesture for controlling zoom; After controlling the camera zoom according to the hand movement characteristics, the method further includes: if the gesture of the target object does not match the preset gesture, stopping the zoom control operation.

[0012] On the other hand, a system for controlling zoom based on gesture recognition is provided, and the system for controlling zoom includes: A feature acquisition unit, used to acquire hand movement features of a target object in a video frame; wherein the hand movement features include gestures, hand movement directions, and hand movement distances; A zoom control unit is used to control the zoom of the camera according to the hand movement characteristics. The zoom control unit is specifically used to: If the gesture is a preset left-hand gesture, and the hand moves in the upward, rightward, or upper-right direction, the camera is controlled to zoom out the image according to the left-hand moving distance; If the gesture is a preset left-hand gesture, and the hand moves downward, leftward, or lower-left, the camera is controlled to zoom in on the image according to the distance the left hand moves; If the gesture is a preset right-hand gesture and the hand moves upward, left, or upper left, the camera is controlled to zoom out the image according to the right-hand moving distance; If the gesture is a preset right-hand gesture and the hand moves in a downward, rightward or lower-right direction, the camera is controlled to zoom in on the image according to the right-hand moving distance.

[0013] Wherein, the zoom control unit is specifically used for: If the gesture is a preset left-hand gesture, and the hand moves in the upward, rightward, or right-upward direction, the camera is controlled to zoom in on the image according to the distance the left hand moves. If the gesture is a preset left-hand gesture, and the hand moves downward, leftward, or lower-left, the camera is controlled to zoom out the image according to the left-hand moving distance; If the gesture is a preset right-hand gesture and the hand moves in the upward, left or upper left direction, the camera is controlled to zoom in on the image according to the right-hand moving distance; If the gesture is a preset right-hand gesture and the hand moves in a downward, rightward or lower-right direction, the camera is controlled to zoom out the image according to the right-hand moving distance.

[0014] Wherein, the zoom control unit is specifically used for: If the gesture is a preset gesture of both hands, and the relative distance between the two hands gradually decreases, the camera is controlled to zoom out the image according to the relative moving distance of the two hands; If the gesture is a preset gesture of both hands, and the relative distance between the two hands gradually increases, the camera is controlled to magnify the image according to the relative moving distance of the two hands.

[0015] Wherein, the zoom control unit is specifically used for: If the gesture is a preset gesture of both hands, and the relative distance between the two hands gradually decreases, the camera is controlled to zoom in on the image according to the relative moving distance of the two hands; If the gesture is a preset gesture of both hands, and the relative distance between the two hands gradually increases, the camera is controlled to zoom out the image according to the relative moving distance of the two hands.

[0016] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention obtains the hand movement characteristics of the target object in the video frame, wherein the hand movement characteristics include gestures, hand movement direction and hand movement distance; and controls the camera zoom according to the hand movement characteristics, thereby achieving corresponding control of the zoom according to the detected gesture changes, with simple and convenient operation, thereby achieving the purpose of enabling users to freely control the camera zoom ratio. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the contents of the embodiments of the present invention and these drawings without paying any creative work.

[0018] Figure 1 It is a method flow chart of a first embodiment of a method for controlling zoom based on gesture recognition provided in a specific implementation manner of the present invention.

[0019] Figure 2 It is a method flow chart of a second embodiment of a method for controlling zoom based on gesture recognition provided in a specific implementation manner of the present invention.

[0020] Figure 3 a~n are gesture schematic diagrams provided in a specific implementation manner of the present invention.

[0021] Figure 4 It is a structural block diagram of an embodiment of a zoom control system based on gesture recognition provided in a specific implementation manner of the present invention.

[0022] Figure 5It is a structural block diagram of another embodiment of a zoom control system based on gesture recognition provided in a specific implementation manner of the present invention. Implementation

[0023] In order to make the technical problems solved by the present invention, the technical solutions adopted and the technical effects achieved clearer, the technical solutions of the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0024] Please refer to Figure 1 , which is a method flow chart of a first embodiment of a method for controlling zoom based on gesture recognition provided in a specific implementation of the present invention. As shown in the figure, the method for controlling zoom includes: Step S110: Acquire the hand movement features of the target object in the video frame; wherein the hand movement features include gestures, hand movement directions and hand movement distances.

[0025] In this embodiment, the hand movement features of the target object are obtained from the video frame, wherein the hand movement features include gestures, hand movement direction and hand movement distance, and then the camera zoom is controlled according to the hand movement features. The target object may be a tracked shooting target object, so that only the tracked person can send a control zoom command to the camera to control the camera zoom; the target object may also be any person in the shooting picture, so that anyone in the shooting picture can send a control zoom command to the camera to control the camera zoom.

[0026] Step S120: Control the camera zoom according to the hand movement characteristics.

[0027] In this embodiment, the camera zoom is controlled according to the gesture of the target object, the hand movement direction and the hand movement distance. When the gesture of the target object is recognized to be consistent with the preset gesture corresponding to the zoom command, the zoom command is triggered, and the camera zoom is controlled in combination with the hand movement method and the hand movement distance. The user can control the camera to reduce or enlarge the image according to the needs. In this embodiment, the zoom multiple is not simply enlarged or reduced to a fixed multiple of 2, 4 or 8, etc. In this embodiment, the reduction multiple or magnification multiple is not limited by a fixed multiple, and the purpose of freely controlling the zoom can be achieved.

[0028] To summarize, this embodiment obtains the hand movement features of the target object in the video frame, wherein the hand movement features include gestures, hand movement directions and hand movement distances, and then controls the camera zoom according to the hand movement features, thereby achieving the effect of controlling the zoom accordingly according to the detected gesture changes. The user can control the camera's image reduction or magnification ratio as needed, without being restricted by a fixed ratio. The operation is simple and convenient, and the user can freely control the zoom. Example

[0029] Please refer to Figure 2 , which is a method flow chart of a second embodiment of a method for controlling zoom based on gesture recognition provided in a specific implementation of the present invention. As shown in the figure, the method for controlling zoom includes: Step S210: presetting a preset gesture for controlling zoom.

[0030] In this embodiment, the preset gestures include an L-shaped gesture, an OK-shaped gesture, a straight-line gesture, a high-five gesture, a thumbs-up gesture, etc. The preset gesture for controlling the zoom can be set to a single-hand (left hand / right hand) preset gesture, such as a left-hand L-shaped gesture. Figure 3 a; left hand OK gesture, such as Figure 3 b; left hand one-line gesture, such as Figure 3 c; left hand clapping gesture, such as Figure 3 d; left hand thumbs-up gesture; right hand L-shaped gesture, as shown in Figure 3 e; right hand OK gesture, such as Figure 3 f; right hand straight gesture, such as Figure 3 g; the right hand clapping gesture, such as Figure 3 h; right hand thumbs up gesture; can also be set as a two-hand (left hand + right hand) preset gesture, such as a two-hand L-shaped gesture, such as Figure 3 i and 3j; the thumbs-up gesture with both hands, as shown in figure k; the OK gesture with both hands, as shown in Figure 3 l; two-handed straight gesture, such as Figure 3 m; high five gesture, such as Figure 3 n. Users can set preset gestures for controlling zoom according to their own usage habits, including presetting gestures for controlling zoom and zoom-in or zoom-out functions corresponding to each gesture, which is conducive to improving user experience and is also very friendly to people with different conventional thinking and disabilities.

[0031] Step S220: Acquire the gesture, hand movement direction and hand movement distance of the target object in the video frame.

[0032] The target object can be a tracking target object, so that only the person being tracked can send a zoom control command to the camera to control the camera zoom; the target object can also be any person in the shooting picture, so that anyone in the shooting picture can send a zoom control command to the camera to control the camera zoom. When the gesture of the target object is recognized to correspond to the preset gesture, the zoom control command is triggered, and the camera zoom is further controlled according to the gesture, the hand movement direction and the hand movement distance.

[0033] Step S230: Controlling the camera zoom according to the hand movement characteristics.

[0034] In some embodiments, step S230 specifically includes: If the gesture is a preset left-hand gesture, and the hand movement direction is upward, rightward, or upper right, the camera is controlled to zoom out the image according to the left-hand movement distance. For example, when the target object makes an L-shaped gesture with the left hand and moves upward, the camera zooms out the image according to the left-hand movement distance. For another example, when the target object makes an L-shaped gesture with the left hand and moves rightward or upper right, the camera zooms out the image according to the left-hand movement distance. Similarly, the preset gesture can be an OK-shaped gesture, a straight-line gesture, a high-five gesture, or a thumbs-up gesture, etc. If the gesture is a preset left-hand gesture, and the hand movement direction is downward, left, or lower left, the camera is controlled to zoom in on the image according to the distance the left hand moves. For example, when the target object makes an L-shaped gesture with the left hand and moves downward, the camera zooms in on the image according to the distance the left hand moves. For another example, when the target object makes an L-shaped gesture with the left hand and moves upward or lower left, the camera zooms in on the image according to the distance the left hand moves. Similarly, the preset gesture may be an OK-shaped gesture, a straight-line gesture, a high-five gesture, or a thumbs-up gesture, etc. If the gesture is a preset right-hand gesture, and the hand moves in an upward, left, or upper left direction, the camera is controlled to zoom out the image according to the right-hand moving distance; for example, when the target object makes an L-shaped gesture with the right hand and moves upward, the camera zooms out the image according to the right-hand moving distance; for another example, when the target object makes an L-shaped gesture with the left hand and moves to the left or upper left, the camera zooms out the image according to the right-hand moving distance; similarly, the preset gesture may be an OK-shaped gesture, a straight-line gesture, a high-five gesture, or a thumbs-up gesture, etc. If the gesture is a preset right-hand gesture and the hand moves downward, rightward or lower-right, the camera is controlled to zoom in on the image according to the distance the right hand moves. For example, when the target object makes an L-shaped gesture with his right hand and moves downward, the camera zooms out on the image according to the distance the right hand moves. For another example, when the target object makes an L-shaped gesture with his right hand and moves rightward or lower-right, the camera zooms in on the image according to the distance the right hand moves. Similarly, the preset gesture can be an OK gesture, a straight gesture, a high-five gesture or a thumbs-up gesture, etc.

[0035] In some other embodiments, step S230 specifically includes: If the gesture is a preset left-hand gesture, and the hand movement direction is upward, rightward, or upper right, the camera is controlled to zoom in on the image according to the left-hand movement distance. For example, when the target object makes an L-shaped gesture with the left hand and moves upward, the camera zooms in on the image according to the left-hand movement distance. For another example, when the target object makes an L-shaped gesture with the left hand and moves rightward or upper right, the camera zooms in on the image according to the left-hand movement distance. Similarly, the preset gesture may be an OK-shaped gesture, a straight-line gesture, a high-five gesture, or a thumbs-up gesture, etc. If the gesture is a preset left-hand gesture, and the hand movement direction is downward, left, or lower left, the camera is controlled to zoom out the image according to the left hand movement distance; for example, when the target object makes an L-shaped gesture with the left hand and moves downward, the camera zooms out the image according to the left hand movement distance; for another example, when the target object makes an L-shaped gesture with the left hand and moves upward or lower left, the camera zooms out the image according to the left hand movement distance; similarly, the preset gesture can be an OK gesture, a straight gesture, a high-five gesture, or a thumbs-up gesture, etc. If the gesture is a preset right-hand gesture, and the hand movement direction is upward, leftward, or upper left, the camera is controlled to zoom in on the image according to the right-hand movement distance; for example, when the target object makes an L-shaped gesture with the right hand and moves upward, the camera zooms in on the image according to the right-hand movement distance; for another example, when the target object makes an L-shaped gesture with the left hand and moves leftward or upper leftward, the camera zooms in on the image according to the right-hand movement distance; similarly, the preset gesture may be an OK-shaped gesture, a straight-line gesture, a high-five gesture, or a thumbs-up gesture, etc.; If the gesture is a preset right-hand gesture and the hand moves downward, rightward or lower-right, the camera is controlled to zoom out the image according to the moving distance of the right hand; for example, when the target object makes an L-shaped gesture with his right hand and moves downward, the camera zooms out the image according to the moving distance of the right hand; for another example, when the target object makes an L-shaped gesture with his right hand and moves rightward or lower-right, the camera zooms out the image according to the moving distance of the right hand; similarly, the preset gesture can be an OK gesture, a straight gesture, a high-five gesture or a thumbs-up gesture, etc.

[0036] In some embodiments, the control of the camera to zoom in or zoom out the image according to the moving distance of the left or right hand specifically includes: as the moving distance of the left or right hand increases, the zoom speed of the corresponding direction of the camera is controlled to increase, and when the moving distance of the hand no longer changes, the zoom speed remains unchanged; when the hand gesture of the target object is detected to be lowered, the zoom is stopped. Wherein, zoom speed = the increase in the hand moving distance * N, the increase in the hand moving distance = |current position-initial position|, N is a preset constant, where the current position is the current position of the target object in the current frame image when the corresponding preset gesture is made, the initial position is the initial position of the target object when the corresponding preset gesture is made, and when the increase in the hand moving distance no longer changes, the zoom speed remains unchanged, and the zoom speed is the maximum at this time; when the hand gesture of the target object is detected to be lowered, the zoom is stopped, and the zoom speed is 0 at this time.

[0037] In other embodiments, the controlling the camera to reduce or enlarge the image according to the moving distance of the left or right hand specifically includes: calculating the reduction or enlargement amplitude of the image according to the moving distance of the left or right hand, controlling the camera to reduce or enlarge the image to the calculated amplitude, and when the hand moving distance no longer changes, the image scale remains unchanged. Wherein, the image reduction or enlargement amplitude = the increase amplitude of the hand moving distance * M, the increase amplitude of the hand moving distance = |current position-initial position|, M is a preset constant, wherein the current position is the current position of the target object in the current frame image when the corresponding preset gesture is made, the initial position is the initial position of the target object when the corresponding preset gesture is made, and when the increase amplitude of the hand moving distance no longer changes, the image scale remains unchanged, and the zoom speed is 0 at this time.

[0038] In some embodiments, step S230 specifically includes: If the gesture is a two-hand preset gesture, and the relative distance between the two hands is gradually reduced, the camera is controlled to zoom out the image according to the relative movement distance of the two hands; for example, when the target object makes an L-shaped gesture with the left and right hands at the same time, and the distance between the left and right hands is gradually shortened (i.e., the left hand moves to the right and the right hand does not move, the left hand does not move and the right hand moves to the left, or the left hand moves to the right and the right hand moves to the left), the camera zooms out the image according to the movement distance of the left hand; similarly, the preset gesture can be an OK gesture, a straight gesture, a high-five gesture, or a thumbs-up gesture, etc. If the gesture is a preset gesture of both hands, and the relative distance between the two hands gradually increases, the camera is controlled to zoom in on the image according to the relative movement distance of the two hands; for example, when the target object makes an L-shaped gesture with the left and right hands at the same time, and the distance between the left and right hands gradually increases (that is, the left hand moves to the left and the right hand does not move, the left hand does not move and the right hand moves to the right, or the left hand moves to the left and the right hand moves to the right), the camera zooms in on the image according to the movement distance of the left hand; similarly, the preset gesture can be an OK gesture, a straight gesture, a high-five gesture, or a thumbs-up gesture, etc.

[0039] In some other embodiments, step S230 specifically includes: If the gesture is a preset gesture of both hands, and the relative distance between the two hands is gradually reduced, the camera is controlled to zoom in on the image according to the relative movement distance of the two hands; for example, when the target object makes an L-shaped gesture with the left and right hands at the same time, and the distance between the left and right hands is gradually shortened (i.e., the left hand moves to the right and the right hand does not move, the left hand does not move and the right hand moves to the left, or the left hand moves to the right and the right hand moves to the left), the camera zooms in on the image according to the movement distance of the left hand; similarly, the preset gesture can be an OK gesture, a straight gesture, a high-five gesture, or a thumbs-up gesture, etc. If the gesture is a preset gesture of both hands, and the relative distance between the two hands gradually increases, the camera is controlled to zoom out the image according to the relative movement distance of the two hands; for example, when the target object makes an L-shaped gesture with the left and right hands at the same time, and the distance between the left and right hands gradually increases (that is, the left hand moves to the left and the right hand does not move, the left hand does not move and the right hand moves to the right, or the left hand moves to the left and the right hand moves to the right), the camera zooms out the image according to the movement distance of the left hand; similarly, the preset gesture can be an OK gesture, a straight gesture, a high-five gesture, or a thumbs-up gesture, etc.

[0040] In some embodiments, the control of the camera to zoom in or zoom out the image according to the relative movement distance of the hands specifically includes: controlling the zoom speed of the camera in the corresponding direction to speed up as the relative movement distance of the hands decreases or increases, and when the hand movement distance no longer changes, the zoom speed remains unchanged; when the hand gesture of the target object is detected to be put down, the zoom is stopped. Wherein, zoom speed = the amplitude of the change of the relative movement distance of the hands * N, the amplitude of the change of the relative movement distance of the hands = | the current relative distance of the hands - the initial relative distance of the hands |, N is a preset constant, wherein the current relative distance of the hands is the relative distance between the left hand and the right hand of the target object in the current frame image when the corresponding preset gesture is made, and the initial relative distance of the hands is the relative distance between the initial positions of the left hand and the right hand when the target object makes the corresponding preset gesture. When the amplitude of the increase of the hand movement distance no longer changes, the zoom speed remains unchanged, and the zoom speed is the maximum at this time; when the hand gesture of the target object is detected to be put down, the zoom is stopped, and the zoom speed is 0 at this time.

[0041] In other embodiments, controlling the camera to reduce or enlarge the image according to the relative movement distance of the hands specifically includes: calculating the reduction or enlargement amplitude of the image according to the relative movement distance of the hands, controlling the camera to reduce or enlarge the image to the calculated amplitude, and when the hand movement distance no longer changes, the image scale remains unchanged. Wherein, the image reduction or enlargement amplitude = the amplitude of the change in the relative movement distance of the hands * M, the amplitude of the change in the relative movement distance of the hands = |the current relative distance of the hands - the initial relative distance of the hands |, M is a preset constant, wherein the current position is the current position of the target object in the current frame image when the corresponding preset gesture is made, and the initial position is the initial position of the target object when the corresponding preset gesture is made. When the amplitude of the increase in the hand movement distance no longer changes, the image scale remains unchanged, and the zoom speed is 0 at this time.

[0042] In summary, this embodiment obtains the gesture, hand movement direction and hand movement distance of the target object in the video frame. The gestures include L-shaped gesture, OK-shaped gesture, straight-line gesture, high-five gesture and thumbs-up gesture. The preset gestures are diverse and users can set them according to their own usage habits. Users can control them with one hand or with both hands. The hand movement direction determines whether the image is reduced or enlarged. The direction setting also conforms to the user's usage habits. Various combinations further improve the user experience. The user can freely control the reduction or enlargement ratio by the hand movement distance, which further meets the user's further needs and is simple and convenient to operate. This embodiment realizes the corresponding control of zoom according to the detected gesture changes. The user can control the camera's reduction or enlargement ratio of the image according to needs, without being restricted by a fixed ratio. The operation is simple and convenient, and the user can freely control the zoom.

[0043] The following is an embodiment of a zoom control system based on gesture recognition provided in a specific implementation manner of the present invention. The embodiment of the system is implemented based on the embodiment of the above-mentioned method. For any incomplete description of the system, please refer to the embodiment of the above-mentioned method.

[0044] Please refer to Figure 4 , which is a structural block diagram of an embodiment of a control zoom system based on gesture recognition provided in a specific implementation of the present invention. As shown in the figure, the control zoom system includes a feature acquisition unit 10 and a control zoom unit 20, and the specific contents are as follows: The feature acquisition unit 10 is used to acquire the hand movement features of the target object in the video frame; wherein the hand movement features include gestures, hand movement directions and hand movement distances.

[0045] In some embodiments, the feature acquisition unit 10 is specifically used to: acquire the gesture, hand movement direction and hand movement distance of the target object in the video frame.

[0046] The zoom control unit 20 is used to control the camera zoom according to the hand movement characteristics. In some embodiments, the zoom control unit 20 is specifically used to: If the gesture is a preset left-hand gesture, and the hand moves in the upward, rightward, or upper-right direction, the camera is controlled to zoom out the image according to the left-hand moving distance; If the gesture is a preset left-hand gesture, and the hand moves downward, leftward, or lower-left, the camera is controlled to zoom in on the image according to the distance the left hand moves; If the gesture is a preset right-hand gesture and the hand moves upward, left, or upper left, the camera is controlled to zoom out the image according to the right-hand moving distance; If the gesture is a preset right-hand gesture and the hand moves in a downward, rightward or lower-right direction, the camera is controlled to zoom in on the image according to the right-hand moving distance.

[0047] In some other embodiments, the control zoom unit 20 is specifically used to: If the gesture is a preset left-hand gesture, and the hand moves in the upward, rightward, or right-upward direction, the camera is controlled to zoom in on the image according to the distance the left hand moves. If the gesture is a preset left-hand gesture, and the hand moves downward, leftward, or lower-left, the camera is controlled to zoom out the image according to the left-hand moving distance; If the gesture is a preset right-hand gesture and the hand moves in the upward, left or upper left direction, the camera is controlled to zoom in on the image according to the right-hand moving distance; If the gesture is a preset right-hand gesture and the hand moves in a downward, rightward or lower-right direction, the camera is controlled to zoom out the image according to the right-hand moving distance.

[0048] In this embodiment, controlling the camera to zoom in or zoom out the image according to the moving distance of the left or right hand specifically includes: as the moving distance of the left or right hand increases, controlling the zoom speed of the camera in the corresponding direction to increase, and when the relative moving distance of the two hands no longer changes, the zoom speed remains unchanged; when it is detected that the target object is lowered, the zoom is stopped; or the reduction or enlargement range of the image is calculated according to the moving distance of the left or right hand, and the camera is controlled to reduce or enlarge the image to the calculated range, and when the hand moving distance no longer changes, the zoom is stopped and the image scale remains unchanged.

[0049] In some embodiments, the control zoom unit 20 is specifically used to: If the gesture is a preset gesture of both hands, and the relative distance between the two hands gradually decreases, the camera is controlled to zoom out the image according to the relative moving distance of the two hands; If the gesture is a preset gesture of both hands, and the relative distance between the two hands gradually increases, the camera is controlled to magnify the image according to the relative moving distance of the two hands.

[0050] In some other embodiments, the control zoom unit 20 is specifically used to: If the gesture is a preset gesture of both hands, and the relative distance between the two hands gradually decreases, the camera is controlled to zoom in on the image according to the relative moving distance of the two hands; If the gesture is a preset gesture of both hands, and the relative distance between the two hands gradually increases, the camera is controlled to zoom out the image according to the relative moving distance of the two hands.

[0051] In this embodiment, controlling the camera to zoom in or zoom out the image according to the relative movement distance of the hands specifically includes: controlling the camera to zoom in or zoom out the image according to the relative movement distance of the hands specifically includes: controlling the zoom speed of the camera in the corresponding direction to increase as the relative movement distance of the hands decreases or increases, and when the relative movement distance of the hands no longer changes, the zoom speed remains unchanged; when it is detected that the target object is lowered, the zoom is stopped; or the zoom-in or zoom-out amplitude of the image is calculated according to the relative movement distance of the hands, and the camera is controlled to zoom in or zoom out the image to the calculated amplitude, and when the relative movement distance of the hands no longer changes, the zoom is stopped and the image scale remains unchanged.

[0052] In some embodiments, Figure 5 As shown, the zoom control system provided by the embodiment of the present invention also includes: a preset gesture setting unit 30, which is used to pre-set the preset gestures for controlling the zoom. The preset gestures include L-shaped gestures, OK-shaped gestures, straight-shaped gestures, high-five gestures, thumbs-up gestures, etc. The preset gestures for controlling the zoom can be set as single-hand (left hand / right hand) preset gestures. Users can set the preset gestures for controlling the zoom according to their own usage habits, including pre-setting the gestures for controlling the zoom and the zoom-in or zoom-out functions corresponding to each gesture. This is conducive to improving the user experience and is also very friendly to people with different conventional thinking and people with disabilities.

[0053] To summarize, this embodiment obtains the hand movement features of the target object in the video frame and controls the camera zoom according to the hand movement features, thereby achieving the effect of controlling the zoom according to the detected gesture changes. The user can control the camera's image reduction or magnification ratio as needed, without being restricted by a fixed ratio. The operation is simple and convenient, and the user can freely control the zoom.

[0054] The technical principle of the present invention is described above in conjunction with specific embodiments. These descriptions are only for explaining the principle of the present invention and cannot be interpreted as limiting the scope of protection of the present invention in any way. Based on the explanations herein, those skilled in the art can associate other specific implementations of the present invention without paying creative labor, and these methods will fall within the scope of protection of the present invention.

Claims

1. A method for controlling zoom based on gesture recognition, characterized in that: The method for controlling zoom includes: Acquire hand movement features of a target object in a video frame; wherein the hand movement features include gestures, hand movement directions, and hand movement distances; The camera zoom is controlled according to the hand movement characteristics.

2. The method for controlling zoom based on gesture recognition according to claim 1, characterized in that: The step of controlling the camera zoom according to the hand movement feature comprises: If the gesture is a preset left-hand gesture, and the hand moves in the upward, rightward, or upper-right direction, the camera is controlled to zoom out the image according to the left-hand moving distance; If the gesture is a preset left-hand gesture, and the hand moves downward, leftward, or to the lower left, the camera is controlled to zoom in on the image according to the distance the left hand moves; If the gesture is a preset right-hand gesture and the hand moves upward, left, or upper left, the camera is controlled to zoom out the image according to the right-hand moving distance; If the gesture is a preset right-hand gesture and the hand moves in a downward, rightward or lower-right direction, the camera is controlled to zoom in on the image according to the right-hand moving distance.

3. The method for controlling zoom based on gesture recognition according to claim 1, characterized in that: The step of controlling the camera zoom according to the hand movement feature comprises: If the gesture is a preset left-hand gesture, and the hand moves in the upward, rightward, or upper-right direction, the camera is controlled to zoom in on the image according to the distance the left hand moves. If the gesture is a preset left-hand gesture, and the hand moves downward, leftward, or lower-left, the camera is controlled to zoom out the image according to the left-hand moving distance; If the gesture is a preset right-hand gesture and the hand moves in the upward, left or upper left direction, the camera is controlled to zoom in on the image according to the right-hand moving distance; If the gesture is a preset right-hand gesture and the hand moves downward, rightward or lower-right, the camera is controlled to zoom out the image according to the moving distance of the right hand.

4. The method for controlling zoom based on gesture recognition according to claim 1, characterized in that: The step of controlling the camera zoom according to the hand movement feature comprises: If the gesture is a preset gesture of both hands, and the relative distance between the two hands gradually decreases, the camera is controlled to zoom out the image according to the relative moving distance of the two hands; If the gesture is a preset gesture of both hands, and the relative distance between the two hands gradually increases, the camera is controlled to magnify the image according to the relative moving distance of the two hands.

5. The method for controlling zoom based on gesture recognition according to claim 1, characterized in that: The step of controlling the camera zoom according to the hand movement feature comprises: If the gesture is a preset gesture of both hands, and the relative distance between the two hands gradually decreases, the camera is controlled to magnify the image according to the relative moving distance of the two hands; If the gesture is a preset gesture of both hands, and the relative distance between the two hands gradually increases, the camera is controlled to zoom out the image according to the relative moving distance of the two hands.

6. The method for controlling zoom based on gesture recognition according to claim 2 or 3, characterized in that: The controlling of the camera to perform zooming or zooming in of the image according to the moving distance of the left hand or the right hand specifically includes: As the distance of the left or right hand moving increases, the zoom speed of the corresponding direction of the camera is controlled to increase. When the hand moving distance no longer changes, the zoom speed remains unchanged; when the hand gesture of the target object is detected to be lowered, the zoom is stopped; or The reduction or enlargement range of the image is calculated according to the moving distance of the left hand or the right hand, and the camera is controlled to reduce or enlarge the image to the calculated range. When the moving distance of the hand no longer changes, the image scale remains unchanged.

7. The method for controlling zoom based on gesture recognition according to claim 4 or 5, characterized in that: The controlling the camera to perform zooming or zooming in processing on the image according to the relative moving distance of the two hands specifically includes: As the relative moving distance of the hands decreases or increases, the zoom speed of the camera in the corresponding direction is controlled to increase, and when the relative moving distance of the hands no longer changes, the zoom speed remains unchanged; when the hand gesture of the target object is detected to be dropped, the zoom is stopped; or The reduction or enlargement range of the image is calculated according to the relative movement distance of the hands, and the camera is controlled to reduce or enlarge the image to the calculated range. When the relative movement distance of the hands no longer changes, the zoom is stopped and the image scale remains unchanged.

8. The method for controlling zoom based on gesture recognition according to claim 1, characterized in that: Before acquiring the hand movement features of the target object in the video frame, the method further includes: presetting a preset gesture for controlling zoom.

9. A zoom control system based on gesture recognition, characterized in that: The zoom control system comprises: A feature acquisition unit, used to acquire hand movement features of a target object in a video frame; wherein the hand movement features include gestures, hand movement directions, and hand movement distances; A zoom control unit is used to control the zoom of the camera according to the hand movement characteristics.

10. The zoom control system based on gesture recognition according to claim 9, characterized in that: The zoom control unit is specifically used for: If the gesture is a preset left-hand gesture, and the hand moves in the upward, rightward, or upper-right direction, the camera is controlled to zoom out the image according to the left-hand moving distance; If the gesture is a preset left-hand gesture, and the hand moves downward, leftward, or to the lower left, the camera is controlled to zoom in on the image according to the distance the left hand moves; If the gesture is a preset right-hand gesture and the hand moves upward, left, or upper left, the camera is controlled to zoom out the image according to the right-hand moving distance; If the gesture is a preset right-hand gesture and the hand moves in a downward, rightward or lower-right direction, the camera is controlled to zoom in on the image according to the right-hand moving distance.

11. The zoom control system based on gesture recognition according to claim 9, characterized in that: The zoom control unit is specifically used for: If the gesture is a preset left-hand gesture, and the hand moves in the upward, rightward, or upper-right direction, the camera is controlled to zoom in on the image according to the distance the left hand moves. If the gesture is a preset left-hand gesture, and the hand moves downward, leftward, or lower-left, the camera is controlled to zoom out the image according to the left-hand moving distance; If the gesture is a preset right-hand gesture and the hand moves in the upward, left or upper left direction, the camera is controlled to zoom in on the image according to the right-hand moving distance; If the gesture is a preset right-hand gesture and the hand moves downward, rightward or lower-right, the camera is controlled to zoom out the image according to the moving distance of the right hand.

12. The zoom control system based on gesture recognition according to claim 9, characterized in that: The zoom control unit is specifically used for: If the gesture is a preset gesture of both hands, and the relative distance between the two hands gradually decreases, the camera is controlled to zoom out the image according to the relative moving distance of the two hands; If the gesture is a preset gesture of both hands, and the relative distance between the two hands gradually increases, the camera is controlled to magnify the image according to the relative moving distance of the two hands.

13. The zoom control system based on gesture recognition according to claim 9, characterized in that: The zoom control unit is specifically used for: If the gesture is a preset gesture of both hands, and the relative distance between the two hands gradually decreases, the camera is controlled to magnify the image according to the relative moving distance of the two hands; If the gesture is a preset gesture of both hands, and the relative distance between the two hands gradually increases, the camera is controlled to zoom out the image according to the relative moving distance of the two hands.