CN107371307B - A kind of lamp effect control method and system based on gesture identification - Google Patents

A kind of lamp effect control method and system based on gesture identification Download PDF

Info

Publication number
CN107371307B
CN107371307B CN201710577064.1A CN201710577064A CN107371307B CN 107371307 B CN107371307 B CN 107371307B CN 201710577064 A CN201710577064 A CN 201710577064A CN 107371307 B CN107371307 B CN 107371307B
Authority
CN
China
Prior art keywords
image
hand
lamp
brightness
gray
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710577064.1A
Other languages
Chinese (zh)
Other versions
CN107371307A (en
Inventor
杜炜
柏明明
代棋帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China University of Geosciences
Original Assignee
China University of Geosciences
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China University of Geosciences filed Critical China University of Geosciences
Priority to CN201710577064.1A priority Critical patent/CN107371307B/en
Publication of CN107371307A publication Critical patent/CN107371307A/en
Application granted granted Critical
Publication of CN107371307B publication Critical patent/CN107371307B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition
    • G06V40/28Recognition of hand or arm movements, e.g. recognition of deaf sign language

Abstract

The invention discloses a kind of lamp effect control methods and system based on gesture identification, the image for including hand captured by image taking module is obtained first, then the image of hand in described image is extracted, according to the image of the hand extracted, it identifies the stretching degree of hand, and is used to adjust come the control instruction of the brightness of lamp according to the variation generation of hand stretching degree.Implement the effect control method of the lamp based on gesture identification and system of the present invention, operating personnel on the premise of any remote control is not carried, can realize the adjusting of the brightness to lamp, convenient and simple.

Description

A kind of lamp effect control method and system based on gesture identification
Technical field
The present invention relates to the equivalent control fields of field of light fittings, more specifically lamps and lanterns, are related to a kind of based on gesture identification Lamp effect control method and system.
Background technology
Lamp is as an indispensable part in people's daily life, work, in addition to carrying out necessary switch, very much When also need to carry out brightness adjusting, place the lamp into different brightness.The brightness of lamp is adjusted, current major way It is manually adjusting switch, by adjusting to different gear or aperture to adjust the brightness of lamp switch.However, pass through The mode operating personnel of manual adjusting switch necessarily are at switch and could be operated, and sometimes use and not convenient.
To solve the above-mentioned problems, the side for providing a kind of handheld remote control device in the prior art to solve the above problems Method, operating personnel realize that the brightness to lamp is adjusted by triggering the switch on handheld remote control device.However, one side hand It holds remote control to be easily lost, another aspect handheld remote control device needs to occupy the hand of operator, in some occasions also ten It is point not convenient, it such as shaken hands with people in needs, embraced when interacting.
The content of the invention
The technical problem to be solved in the present invention is, using adjusting manually when being adjusted for the above-mentioned brightness to lamp Mode and handheld remote control device adjustable switch mode, sharp and easy to be lost handheld remote control device technological deficiency inconvenient for use, Provide a kind of lamp effect control method and system based on gesture identification.
According to the first aspect of the invention, the present invention provides a kind of based on gesture identification to solve its technical problem Lamp imitates control system, including:
Image collection module, for obtaining the image of the hand comprising operator captured by image taking module;
Hand extraction module, for extracting the image of hand in described image;
Action recognition module, for according to the image of hand extracted, identifying the stretching degree of hand;
Brightness adjusting section refers to for the variation generation according to hand stretching degree for adjusting come the control of the brightness of lamp Order.
In the effect control system of the lamp based on gesture identification of the present invention, above-mentioned control instruction meets when acting on lamp:When When hand stretching degree increases, the brightness increase of lamp, when the stretching degree of hand increases small, the brightness of lamp reduces.
The present invention based on gesture identification lamp effect control system in, hand from be closed into completely open completely it is each Each brightness of a stretching degree respectively with lamp from minimum brightness to high-high brightness corresponds;Alternatively,
Hand from be closed into completely the variation of each stretching degree opened completely respectively with brightness minimum change to Each variable quantity of brightness minimum change corresponds.
In the effect control system of the lamp based on gesture identification of the present invention, further include:
Color adjustment module, for when the pace of change of stretching degree is more than preset value, generation to switch the color of lamp Control instruction.
In the effect control system of the lamp based on gesture identification of the present invention, hand extraction module includes:
Gray processing handles processing module, and the image for that will shoot carries out gray processing processing;
Inter-class variance spider module, for according to following formula, calculating after gray processing processing each pixel in image Gray value inter-class variance, draw so that inter-class variance maximum gray value;
G=ω1×ω2×(μ12)2,
In formula, g is inter-class variance, ω1It is more than the gray value of current selected for gray value in image after gray processing processing Pixel number accounts for the ratio of the pixel number of entire image, μ1Gray value is more than the ash of current selected in image after gray processing processing The average gray value of the pixel of angle value, ω2It is less than the picture of the gray value of current selected for gray value in image after gray processing processing Vegetarian refreshments number accounts for the ratio of the pixel number of entire image, μ2Gray value is less than the gray scale of current selected in image after gray processing processing The average gray value of the pixel of value;
Binary conversion treatment module, for using drawing so that the gray value of inter-class variance maximum is as segmentation threshold, by ash Degreeization treated image carries out binary conversion treatment, draws the image of hand.
According to another aspect of the present invention, the present invention additionally provides a kind of based on gesture identification to solve its technical problem Lamp effect control method, including:
Image acquisition step:Obtain the image of the hand of the operator comprising operator captured by image taking module;
Hand extraction step:Extract the image of hand in described image;
Action recognition step:According to the image of the hand extracted, the stretching degree of hand is identified;
Brightness adjustment step:According to the variation generation of hand stretching degree for adjustment come the control instruction of the brightness of lamp.
In the effect control system of the lamp based on gesture identification of the present invention, above-mentioned control instruction meets when acting on lamp:When When hand stretching degree increases, the brightness increase of lamp, when the stretching degree of hand increases small, the brightness of lamp reduces.
The present invention based on gesture identification lamp effect control system in, hand from be closed into completely open completely it is each Each brightness of a stretching degree respectively with lamp from minimum brightness to high-high brightness corresponds;Alternatively, hand by opening completely It reaches and is fully closed to the variation for opening each stretching degree completely by being closed into completely respectively with zero variable quantity of brightness to bright Each variable quantity for spending minimum change corresponds.
In the effect control system of the lamp based on gesture identification of the present invention, further include:
Color set-up procedure, for when the pace of change of stretching degree is more than preset value, generation to switch the color of lamp Control instruction.
In the effect control system of the lamp based on gesture identification of the present invention, hand extraction step includes:
Gray processing handles processing step, and the image for that will shoot carries out gray processing processing;
Inter-class variance traversal step, for according to following formula, calculating after gray processing processing each pixel in image Gray value inter-class variance, draw so that inter-class variance maximum gray value;
G=ω1×ω2×(μ12)2,
In formula, g is inter-class variance, ω1It is more than the gray value of current selected for gray value in image after gray processing processing Pixel number accounts for the ratio of the pixel number of entire image, μ1Gray value is more than the ash of current selected in image after gray processing processing The average gray value of the pixel of angle value, ω2It is less than the picture of the gray value of current selected for gray value in image after gray processing processing Vegetarian refreshments number accounts for the ratio of the pixel number of entire image, μ2Gray value is less than the gray scale of current selected in image after gray processing processing The average gray value of the pixel of value;
Binary conversion treatment step, for using drawing so that the gray value of inter-class variance maximum is as segmentation threshold, by ash Degreeization treated image carries out binary conversion treatment, draws the image of hand.
The effect control method of the lamp based on gesture identification and system of the present invention, obtains first captured by image taking module Then image comprising hand extracts the image of hand in described image, according to the image of the hand extracted, identification is sold The stretching degree in portion, and be used to adjust come the control instruction of the brightness of lamp according to the variation generation of hand stretching degree.Implement this The effect control method of the lamp based on gesture identification of invention and system, operating personnel can not carry the premise of any remote control Under, realize the adjusting of the brightness to lamp, it is convenient and simple, and algorithm is simple, arithmetic speed is fast, and the cost religion of making is low.
Description of the drawings
Below in conjunction with accompanying drawings and embodiments, the invention will be further described, in attached drawing:
Fig. 1 is the functional block diagram of effect one preferred embodiment of control system of the lamp based on gesture identification of the present invention;
Fig. 2 is the flow chart of effect one preferred embodiment of control method of the lamp based on gesture identification of the present invention.
Specific embodiment
In order to which the technical features, objects and effects to the present invention are more clearly understood, now compare attached drawing and be described in detail The specific embodiment of the present invention.
As shown in Figure 1, the functional block diagram of effect one preferred embodiment of control system of the lamp based on gesture identification of its present invention. There is gesture identification end 1 and lamp effect control terminal 2 in the lamp effect control system of the present embodiment, gesture control end 1, which has, to be sequentially connected Image taking module 11, hand extraction module 12, action recognition module 13, brightness adjusting section 14 and bluetooth module one 15.There is lamp effect control terminal 2 bluetooth module 2 22 of connection and lamp to imitate control module 21.Bluetooth module 1 and bluetooth module two 22 can communicate to connect.
In the present embodiment, image taking module 11 uses the camera of establishing shot angle, camera in the present embodiment The image of hand of the shooting comprising lamp effect operating personnel, by the hand of the personnel arbitrarily occurred in the coverage of camera during shooting The hand that portion is regarded as operator is shot, and the hand images of shooting are regarded as effective image.In another implementation of the present invention In example, image taking module 11 is monopod video camera, and monopod video camera is corresponded to according to pre-set personnel's image from motion tracking Personnel, the gesture for shooting the personnel is handled, and the hand images of the other staff of shooting are considered as invalid image, invalid figure Generation or effect as being not involved in control instruction.
Hand extraction module 12 has signal conditioning circuit and the hand extraction unit being connected with signal conditioning circuit.Letter As taking module 11, the image shot to image taking module 11 is nursed one's health, signal is amplified to for number modulate circuit connection figure Default scope, is then filtered again, is transmitted to and hand extraction unit, hand extraction list after filtering out noise therein Member handles the image after conditioning, extracts the image of hand.
Action recognition module 13 connects hand extraction module 12, according to the image of the hand extracted, identifies hand Stretching degree.
Brightness adjusting section 14 generates to control the control of the brightness of lamp to refer to according to hand in the variation of stretching degree Order.After control instruction generation, the bluetooth module 1 being connected with brightness adjusting section 14 sends control instruction.Hand exists In opening process, stretching degree gradually increases;During holding with a firm grip, stretching degree is gradually reduced hand.
After bluetooth module 2 22 receives above-mentioned control instruction, lamp effect control device 21 connected to it, lamp are sent to Effect control device 21 responds above-mentioned control instruction, and adjusts the brightness of lamp, and brightness is tuned up or turned down.
In another embodiment of the invention, gesture control end 1 and lamp effect control terminal 2 can not be two using the present invention Bluetooth module is transmitted, and uses other transmission modes, i.e., above-mentioned two bluetooth modules can be by following any one Kind module replaces simultaneously:RS232 communication modules, RS485 communication modules, RS422 communication modules, SPI (Serial Peripheral Interface) communication module, IIC (Inter-Integrated Circuit) communication module, Zigbee lead to Believe module and NRF communication modules.
By treated, image is handled hand extraction module 12, and the image for extracting hand can be by following modules It is realized.
Gray processing handles processing module, and the image after the conditioning of shooting is carried out gray processing processing.What camera collected Image information is RGB coloured pictures, and in order to reduce calculation amount, RGB image is carried out gray processing processing, after processing each first The pixel value of pixel is:
Gray=R*0.299+G*0.587+B*0.114
Wherein, Gray is the pixel value of the gray-scale map formed after gray processing is handled, before R, G, B are respectively gray processing processing Coloured picture in pixel value corresponding to red, green, blue.
Inter-class variance spider module, for according to following formula, calculating after gray processing processing each pixel in image Gray value inter-class variance, draw so that inter-class variance maximum gray value
G=ω1×ω2×(μ12)2,
In formula, g is inter-class variance, ω1It is more than the gray value of current selected for gray value in image after gray processing processing Pixel number accounts for the ratio of the pixel number of entire image, μ1Gray value is more than the ash of current selected in image after gray processing processing The average gray value of the pixel of angle value, ω2It is less than the picture of the gray value of current selected for gray value in image after gray processing processing Vegetarian refreshments number accounts for the ratio of the pixel number of entire image, μ2Gray value is less than the gray scale of current selected in image after gray processing processing The average gray value of the pixel of value;
Binary conversion treatment module connects inter-class variance spider module, and the second processor of connecting moves identification module, with It is drawing so that the gray value of inter-class variance maximum is as segmentation threshold, at gray processing treated image progress binaryzation Then reason carries out expansive working and etching operation wiping out background, draw the image of hand.In the present embodiment, gray value is less thanPixel be binarized as " 0 ", be otherwise binarized as " 1 ", all two-values turn to the pixel groups of " 1 " into the hand of the present invention The image in portion, and two-value turns to the image of the background residing for the pixel groups into the back of the hand of the present invention of " 0 ".
Action recognition module 13 identifies the stretching degree of hand according to the image of the hand extracted.In order to reduce quilt The calculation error of area in invention after binary conversion treatment, can also use expansive working and etching operation, in wiping out background Noise, that is, filter out two-value and turn to a small amount of " 1 " that the pixel of " 0 " is surrounded.Then the image after binary conversion treatment is carried out Summation, is equivalent to and sums to the region of the image of hand, and all " 1 " is mutually added up and is drawn and the representative of the size of sum The pace of change of the stretching degree sum of hand can also reflect that the pace of change of the stretching degree of hand and variation are faster, open journey The variation of degree is bigger and variation is slower, and the variation of stretching degree is smaller.Preferably, stretching degree=(hand is currently corresponding It is corresponding with-hand minimum and)/(hand is corresponding maximum and-hand is corresponding minimum and), wherein the corresponding maximum of hand with It is corresponding with hand maximum and obtained by predetermined manner, both can different operating can be directed to the average value of adult in advance Person is acquired.
Brightness adjusting section 14 is used to adjust come the control instruction of the brightness of lamp according to the variation generation of hand stretching degree, Control instruction meets when acting on lamp:When hand stretching degree increases, the brightness increase of lamp, when the stretching degree increasing of hand is small When, the brightness of lamp reduces.The brightness of lamp is tuned up to after maximum, and hand continues to open, and the brightness of lamp is not further added by;Lamp it is bright After degree is transferred to minimum brightness, hand continues to be closed, and brightness no longer reduces.There are two types of the modes for realizing above-mentioned control instruction:1、 Hand from it is complete be closed (clenching fist) to opening (finger stretches) completely each stretching degree respectively with lamp from minimum brightness (such as Lamp is closed) it is corresponded to each brightness of high-high brightness (such as light saturation), preferred stretching degree during this It is in direct ratio with the brightness of lamp;2nd, hand opens each opening completely by opening up into be fully closed to completely by being closed into completely Degree variation respectively with each variable quantity of zero variable quantity of brightness to brightness minimum change correspond, i.e., hand from open It reaches complete closed pair and answers minimum change, such as -30% (brightness reduces 30%), hand is closed into open completely completely and correspond to most Big variable quantity (brightness increases by 30%), if certain hand has hand to be closed into opening 50% completely, then brightness becomes larger 15%, when needing During the brightness larger (being more than 30%) repeatedly to adjust, can repeatedly it be adjusted.When hand performs opening or closed action When, the brightness of lamp can be gradually changed with the action of hand opening/closing, can also be held in the action of hand opening/closing After row, brightness is directly adjusted to last result.
This lamp effect control system also has color adjustment module, for being more than preset value in the pace of change of opening and closing degree When, the control instruction of the color of generation switching lamp.Namely when the pace of change of above-mentioned sum is more than preset value, lamp effect control device 21 respond the control instruction, and the color of lamp is switched to another color by current color, and color refers to single color herein, It can be the color that multiple color is composed.
The folding that people completes a hand probably needs hundreds of milliseconds, and it is Δ t (Δ t to take interval of time<It is 100ms) fixed For the unit time, the area (sum being obtained, similarly hereinafter) of the image of the hand before acquiring Δ t is St, the image of current hand Area be St+Δt, the pace of change of the area of the image of hand is drawn using formula:
It so can obtain the pace of change υ of the area of the image of the hand in Δ ts.Determine whether υsIt is positive value or negative Value, if υsIt is positive value, the operating state of hand is represented as open configuration, if υsFor negative value represent hand operating state be State.
Fig. 2 is the flow chart of effect one preferred embodiment of control method of the lamp based on gesture identification of the present invention.In this implementation In example, lamp effect control method includes following step:
The image of the hand comprising operator captured by S1, acquisition image taking module.In the present embodiment, image is Captured by camera, the image of shooting is coloured image.
S2, the image for extracting hand in described image.In the present embodiment, step S2 is specifically included:
First, RGB image is subjected to gray processing processing, the pixel value of each pixel after processing is:
Gray=R*0.299+G*0.587+B*0.114
Wherein, Gray is the pixel value of the gray-scale map formed after gray processing is handled, before R, G, B are respectively gray processing processing Coloured picture in pixel value corresponding to red, green, blue.
Secondly, according to following formula, calculate square between the class of the gray value of each pixel in image after gray processing is handled Difference draws the gray value so that inter-class variance maximum
G=ω1×ω2×(μ12)2,
In formula, g is inter-class variance, ω1It is more than the gray value of current selected for gray value in image after gray processing processing Pixel number accounts for the ratio of the pixel number of entire image, μ1Gray value is more than the ash of current selected in image after gray processing processing The average gray value of the pixel of angle value, ω2It is less than the picture of the gray value of current selected for gray value in image after gray processing processing Vegetarian refreshments number accounts for the ratio of the pixel number of entire image, μ2Gray value is less than the gray scale of current selected in image after gray processing processing The average gray value of the pixel of value;
Then, using drawing so that the gray value of inter-class variance maximum is as segmentation threshold, by gray processing, treated schemes As carrying out binary conversion treatment, expansive working and etching operation wiping out background are then carried out, draws the image of hand.In the present embodiment In, gray value is less thanPixel be binarized as " 0 ", be otherwise binarized as " 1 ", all two-values turn to the pixel groups of " 1 " Into the image of the hand of the present invention, and two-value turns to the image of the background residing for the pixel groups into the back of the hand of the present invention of " 0 ".
S3, the image according to the hand extracted identify the stretching degree of hand.In order to reduce by the area in invention Calculation error, after binary conversion treatment, expansive working and etching operation can also be used, the noise in wiping out background is filtered Except two-value turns to a small amount of " 1 " that the pixel of " 0 " surrounded.Then sum, be equivalent to the image after binary conversion treatment Sum to represent to the region of the image of hand, all " 1 " is mutually added up draw and the size of sum represent hand The pace of change of stretching degree sum can also reflect the pace of change of the stretching degree of hand and change faster, the change of stretching degree Change is bigger and variation is slower, and the variation of stretching degree is smaller.
S4, it is used to adjust come the control instruction of the brightness of lamp according to the variation generation of hand stretching degree, control instruction is made For meeting during lamp:When hand stretching degree increases, the brightness of lamp increase, when the stretching degree of hand increases small, lamp it is bright Degree reduces.There are two types of the modes for realizing above-mentioned control instruction:1st, hand from complete closure (clenching fist) to complete opening, (stretch by finger Each stretching degree directly) is respectively with lamp from minimum brightness (such as lamp closing) to each of high-high brightness (such as light saturation) Brightness corresponds, and preferably the brightness of the stretching degree during this and lamp is in direct ratio;2nd, hand by opening up into completely Be fully closed to opened completely by being closed into completely the variation of each stretching degree respectively with zero variable quantity of brightness to brightness most Each variable quantity of small variable quantity corresponds, i.e., hand answers minimum change from complete closed pair is opened up into, and such as -30% (brightness reduces 30%), hand is closed into completely opens corresponding maximum variable quantity (brightness increases by 30%) completely, such as certain hand There is hand to be closed into opening 50% completely, then brightness becomes larger 15%, when the brightness for needing repeatedly to adjust larger (being more than 30%), It can repeatedly be adjusted.
This lamp effect control method also has color set-up procedure:It is raw when the pace of change of opening and closing degree is more than preset value Into the control instruction of the color of switching lamp.Namely when the pace of change of above-mentioned sum is more than preset value, lamp effect 21 sound of control device Should control instruction, the color of lamp is switched to another color by current color, color refers to single color herein, can also It is the color that multiple color is composed.
The folding that people completes a hand probably needs hundreds of milliseconds, and it is Δ t (Δ t to take interval of time<It is 100ms) fixed For the unit time, the area (sum being obtained, similarly hereinafter) of the image of the hand before acquiring Δ t is St, the image of current hand Area be St+Δt, the pace of change of the area of the image of hand is drawn using formula:
It so can obtain the pace of change υ of the area of the image of the hand in Δ ts.Determine whether υsIt is positive value or negative Value, if υsIt is positive value, the operating state of hand is represented as open configuration, if υsFor negative value represent hand operating state be State.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much Form, these are belonged within the protection of the present invention.

Claims (8)

1. a kind of lamp effect control system based on gesture identification, which is characterized in that including:
Image collection module, for obtaining the image of the hand comprising operator captured by image taking module;
Hand extraction module, for extracting the image of hand in described image;
Action recognition module, for according to the image of hand extracted, identifying the stretching degree of hand;
Brightness adjusting section is used to adjust come the control instruction of the brightness of lamp for the variation generation according to hand stretching degree;
The hand extraction module includes:
Gray processing handles processing module, and the image for that will shoot carries out gray processing processing;
Inter-class variance spider module, for according to following formula, calculating the ash of each pixel in image after gray processing processing The inter-class variance of angle value draws the gray value so that inter-class variance maximum;
G=ω1×ω2×(μ12)2,
In formula, g is inter-class variance, ω1It is more than the pixel of the gray value of current selected for gray value in image after gray processing processing Number accounts for the ratio of the pixel number of entire image, μ1Gray value is more than the gray value of current selected in image after gray processing processing The average gray value of pixel, ω2It is less than the pixel number of the gray value of current selected for gray value in image after gray processing processing Account for the ratio of the pixel number of entire image, μ2Gray value is less than the picture of the gray value of current selected in image after gray processing processing The average gray value of element;
Binary conversion treatment module, for using drawing so that the gray value of inter-class variance maximum is as segmentation threshold, by gray processing Treated, and image carries out binary conversion treatment, draws the image of hand;
And in the lamp imitates control system, it is to sum to the image after binary conversion treatment, all " 1 " is mutually added up Draw and, with the size of sum represent the stretching degree sum of hand pace of change represent hand stretching degree pace of change.
2. lamp according to claim 1 imitates control system, which is characterized in that the control instruction meets when acting on lamp: When hand stretching degree increases, the brightness increase of lamp, when the stretching degree of hand increases small, the brightness of lamp reduces.
3. lamp according to claim 2 imitates control system, which is characterized in that
Hand is every from minimum brightness to high-high brightness with lamp respectively from each stretching degree for opening completely is closed into completely One brightness corresponds;Alternatively,
Hand from be closed into completely the variation of each stretching degree opened completely respectively with brightness minimum change to brightness Each variable quantity of minimum change corresponds.
4. lamp according to claim 1 imitates control system, which is characterized in that further includes:
Color adjustment module, for when the pace of change of stretching degree is more than preset value, generation to switch the control of the color of lamp Instruction.
5. a kind of lamp effect control method based on gesture identification, which is characterized in that including:
Image acquisition step:Obtain the image of the hand comprising operator captured by image taking module;
Hand extraction step:Extract the image of hand in described image;
Action recognition step:According to the image of the hand extracted, the stretching degree of hand is identified;
Brightness adjustment step:According to the variation generation of hand stretching degree for adjustment come the control instruction of the brightness of lamp;
The hand extraction step includes:
Gray processing handles processing step, and the image for that will shoot carries out gray processing processing;
Inter-class variance traversal step, for according to following formula, calculating the ash of each pixel in image after gray processing processing The inter-class variance of angle value draws the gray value so that inter-class variance maximum;
G=ω1×ω2×(μ12)2,
In formula, g is inter-class variance, ω1It is more than the pixel of the gray value of current selected for gray value in image after gray processing processing Number accounts for the ratio of the pixel number of entire image, μ1Gray value is more than the gray value of current selected in image after gray processing processing The average gray value of pixel, ω2It is less than the pixel number of the gray value of current selected for gray value in image after gray processing processing Account for the ratio of the pixel number of entire image, μ2Gray value is less than the picture of the gray value of current selected in image after gray processing processing The average gray value of element;
Binary conversion treatment step, for using drawing so that the gray value of inter-class variance maximum is as segmentation threshold, by gray processing Treated, and image carries out binary conversion treatment, draws the image of hand;
And in the lamp imitates control method, it is to sum to the image after binary conversion treatment, all " 1 " is mutually added up Draw and, with the size of sum represent the stretching degree sum of hand pace of change represent hand stretching degree pace of change.
6. lamp according to claim 5 imitates control method, which is characterized in that the control instruction meets when acting on lamp: When hand stretching degree increases, the brightness increase of lamp, when the stretching degree of hand increases small, the brightness of lamp reduces.
7. lamp according to claim 6 imitates control method, which is characterized in that
Hand is every from minimum brightness to high-high brightness with lamp respectively from each stretching degree for opening completely is closed into completely One brightness corresponds;Alternatively,
Hand by open up into completely be fully closed to the variation for opening each stretching degree completely by being closed into completely respectively with Each variable quantity of zero variable quantity of brightness to brightness minimum change corresponds.
8. lamp according to claim 5 imitates control method, which is characterized in that further includes:
Color set-up procedure:When the pace of change of stretching degree is more than preset value, the control instruction of the color of generation switching lamp.
CN201710577064.1A 2017-07-14 2017-07-14 A kind of lamp effect control method and system based on gesture identification Active CN107371307B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710577064.1A CN107371307B (en) 2017-07-14 2017-07-14 A kind of lamp effect control method and system based on gesture identification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710577064.1A CN107371307B (en) 2017-07-14 2017-07-14 A kind of lamp effect control method and system based on gesture identification

Publications (2)

Publication Number Publication Date
CN107371307A CN107371307A (en) 2017-11-21
CN107371307B true CN107371307B (en) 2018-06-05

Family

ID=60307408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710577064.1A Active CN107371307B (en) 2017-07-14 2017-07-14 A kind of lamp effect control method and system based on gesture identification

Country Status (1)

Country Link
CN (1) CN107371307B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636676A (en) * 2018-06-22 2019-12-31 欧阳院红 Stage lighting control system
CN111107701B (en) * 2018-10-25 2022-02-01 松下电气机器(北京)有限公司 Lamp controller and lighting system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104143195A (en) * 2014-07-04 2014-11-12 华南理工大学 Method for modifying tracking deviation caused by hand shape changes in gesture tracking process
CN106227350A (en) * 2016-07-28 2016-12-14 青岛海信电器股份有限公司 Method and the smart machine that operation controls is carried out based on gesture

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201032087A (en) * 2009-02-19 2010-09-01 Asustek Comp Inc Command control system and method thereof
JP2013069224A (en) * 2011-09-26 2013-04-18 Sony Corp Motion recognition apparatus, motion recognition method, operation apparatus, electronic apparatus, and program
CN105357842B (en) * 2015-12-11 2018-10-02 北京毫米科技有限公司 Master control intelligent lamp

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104143195A (en) * 2014-07-04 2014-11-12 华南理工大学 Method for modifying tracking deviation caused by hand shape changes in gesture tracking process
CN106227350A (en) * 2016-07-28 2016-12-14 青岛海信电器股份有限公司 Method and the smart machine that operation controls is carried out based on gesture

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
灰度图像二值化算法研究;孙少林,马志强,汤伟;《价值工程》;20100531;第1-2页 *

Also Published As

Publication number Publication date
CN107371307A (en) 2017-11-21

Similar Documents

Publication Publication Date Title
CN107660039B (en) A kind of lamp control system of identification dynamic gesture
Kusamichi et al. A new scheme for color night vision by quaternion neural network
CN105682310B (en) Combined lighting device and method based on image quality control
CN107729805B (en) The neural network identified again for pedestrian and the pedestrian based on deep learning recognizer again
CN107371307B (en) A kind of lamp effect control method and system based on gesture identification
CN109271875B (en) A kind of fatigue detection method based on supercilium and eye key point information
CN109934276A (en) Capsule endoscope image classification system and method based on transfer learning
CN102871784A (en) Positioning controlling apparatus and method
CN106650596A (en) Fundus image analysis method, device and system
CN103699222B (en) Display terminal image quality Automatic adjustment method and display terminal
CN106488629A (en) A kind of projection control type intelligence lamp system
CN109996379B (en) Light control method and device
CN107885090A (en) To the food image shooting environmental adjusting means and method in pan
CN108604046A (en) Device and its working method and working procedure are supported in photography
JP5793493B2 (en) Gesture recognition using chroma key
CN106941750A (en) A kind of lighting control system
CN108551699A (en) Eye control intelligent lamp and control method thereof
CN109146985B (en) Image processing method, device and the retina stimulator of retina stimulator
CN116704553B (en) Human body characteristic identification auxiliary system based on computer vision technology
CN107145217A (en) Intelligent interactive system and intelligent interactive method
CN105516577B (en) Camera filming control method and system
CN107272893A (en) Man-machine interactive system and method based on gesture control non-touch screen
CN206835226U (en) It is a kind of that there is the anti-camera taken on the sly
CN211698883U (en) Gesture recognition control switch device based on FPGA
CN105988273A (en) Projector with adaptive illumination

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant