CN109524853B - Gesture recognition socket and socket control method - Google Patents

Gesture recognition socket and socket control method Download PDF

Info

Publication number
CN109524853B
CN109524853B CN201811234409.4A CN201811234409A CN109524853B CN 109524853 B CN109524853 B CN 109524853B CN 201811234409 A CN201811234409 A CN 201811234409A CN 109524853 B CN109524853 B CN 109524853B
Authority
CN
China
Prior art keywords
gesture
socket
module
gesture recognition
microprocessor
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
CN201811234409.4A
Other languages
Chinese (zh)
Other versions
CN109524853A (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.)
Zhuhai Jieli Technology Co Ltd
Original Assignee
Zhuhai Jieli Technology Co Ltd
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 Zhuhai Jieli Technology Co Ltd filed Critical Zhuhai Jieli Technology Co Ltd
Priority to CN201811234409.4A priority Critical patent/CN109524853B/en
Publication of CN109524853A publication Critical patent/CN109524853A/en
Application granted granted Critical
Publication of CN109524853B publication Critical patent/CN109524853B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/665Structural association with built-in electrical component with built-in electronic circuit
    • 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
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/665Structural association with built-in electrical component with built-in electronic circuit
    • H01R13/6683Structural association with built-in electrical component with built-in electronic circuit with built-in sensor
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/70Structural association with built-in electrical component with built-in switch

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Multimedia (AREA)
  • Psychiatry (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to a gesture recognition socket and a socket control method, belonging to the technical field of sockets, wherein the gesture recognition socket comprises a microprocessor, a gesture recognition module, a camera device and a control switch; camera device shoots the gesture image, gesture recognition module discernment gesture image, microprocessor regulates and control switch according to the recognition result, through the break-make of control switch control socket circuit to this realizes through gesture recognition control socket break-make electricity, utilizes non-contact operation can provide the safety guarantee for the socket operator, especially in high-voltage power utilization occasion, plays effectual isolation effect to human body and electricity, reduces the accident that causes the short circuit electric shock, and is also very simple and convenient to the control operation of socket moreover.

Description

Gesture recognition socket and socket control method
Technical Field
The invention relates to the technical field of sockets, in particular to a gesture recognition socket and a socket control method.
Background
At present, a socket is a ubiquitous interface in daily life of people, and is generally used for providing power energy transmission for various household appliances and electronic equipment. Ordinary socket is through mechanical switch control, realizes supply socket's break-make electricity state through finger touch switch, but ordinary socket exists the restriction of control mode, when being stained with the hand of water or handheld foreign matter, causes the accident of short circuit electric shock easily through finger touch switch.
Disclosure of Invention
Therefore, it is necessary to provide a gesture recognition socket and a socket control method, aiming at the problem that the conventional socket is limited in control mode and is easy to cause short-circuit electric shock accidents.
A gesture recognition socket comprises a microprocessor, a gesture recognition module, a camera device and a control switch;
the microprocessor is respectively connected with the gesture recognition module and the control switch, and the gesture recognition module is also connected with the camera device;
the camera device is used for shooting gesture images, the gesture recognition module is used for recognizing the gesture images, the microprocessor is used for regulating and controlling the control switch according to recognition results of the gesture recognition module, and the control switch is used for controlling on-off of the socket circuit.
According to the gesture recognition socket, the gesture recognition socket comprises a microprocessor, a gesture recognition module, a camera device and a control switch; camera device shoots the gesture image, gesture recognition module discernment gesture image, microprocessor regulates and control switch according to the recognition result, through the break-make of control switch control socket circuit to this realizes through gesture recognition control socket break-make electricity, utilizes non-contact operation can provide the safety guarantee for the socket operator, especially in high-voltage power utilization occasion, plays effectual isolation effect to human body and electricity, reduces the accident that causes the short circuit electric shock, and is also very simple and convenient to the control operation of socket moreover.
In one embodiment, the gesture recognition socket further comprises a wireless communication module and an antenna module which are connected with each other, and the wireless communication module is further connected with the microprocessor;
and the microprocessor performs data interaction with external equipment through the wireless communication module and the antenna module.
In one embodiment, the gesture recognition socket further comprises a signal indicator light connected with the microprocessor, and the signal indicator light is used for indicating the on-off state of the socket circuit.
In one embodiment, the gesture recognition socket further comprises a voltage conversion circuit connected with the microprocessor;
the voltage conversion circuit is used for converting the power supply voltage connected with the socket into the working voltage of the microprocessor.
A socket control method is applied to the gesture recognition socket and comprises the following steps:
the camera device shoots a gesture image, the gesture recognition module recognizes the gesture image, and a recognition result is obtained and sent to the microprocessor;
and the microprocessor regulates and controls the control switch according to the identification result so as to control the on-off of the socket circuit.
According to the socket control method, the gesture recognition socket comprising the microprocessor, the gesture recognition module, the camera device and the control switch is applied, the camera device shoots gesture images, the gesture recognition module recognizes the gesture images, the microprocessor regulates and controls the control switch according to recognition results, and the on-off of a socket circuit is controlled through the control switch, so that the socket can be controlled to be switched on and off through gesture recognition, safety guarantee can be provided for socket operators through non-contact operation, particularly in high-voltage power utilization occasions, the socket has an effective isolation effect on human bodies and electricity, accidents causing short-circuit electric shock are reduced, and the control operation of the socket is simple and convenient.
In one embodiment, the camera device comprises a sensing module and a camera module; the step of shooting the gesture image by the camera device comprises the following steps:
when the sensing module senses that an object enters the sensing area, the camera module is started, and the sensing area is shot within a preset time period to obtain a plurality of groups of images;
the camera module compares a plurality of groups of images, and if the ratio of the number of image groups containing the same gesture signals to the total number of image groups exceeds a threshold value, the fact that the plurality of groups of images contain gesture signals is judged.
In one embodiment, the step of recognizing the gesture image by the gesture recognition module comprises the following steps:
when camera module judges that contain the gesture signal in the multiunit image, the gesture recognition module draws the regional image of gesture in the multiunit image, zooms gesture regional image, acquires the panoramic information of hand, carries out fast Fourier transform to the regional image of gesture according to panoramic information, draws finger joint information, acquires the gesture eigenvalue according to finger joint information to convert the gesture eigenvalue into first gesture signal code, the recognition result includes first gesture signal code.
In one embodiment, the step of controlling the control switch by the microprocessor according to the recognition result comprises the following steps:
microprocessor compares first gesture signal code and predetermined second gesture signal code, acquires with second gesture signal code assorted first gesture signal code quantity, if the ratio of quantity and first gesture signal code total number is greater than or equal to and predetermines the ratio, regulates and control switch according to the operation item that second gesture signal code corresponds.
In one embodiment, the control switch comprises an electromagnetic relay, and the gesture recognition socket further comprises a signal indicator lamp connected with the microprocessor;
the step of regulating and controlling the control switch according to the operation item corresponding to the second gesture signal code comprises the following steps:
starting an electromagnetic relay and lightening a signal indicator lamp;
or, the electromagnetic relay is closed, and the signal indicator lamp is extinguished.
In one embodiment, the gesture recognition socket further comprises a wireless communication module and an antenna module which are connected with each other, and the wireless communication module is further connected with the microprocessor; the method further comprises the following steps:
and the microprocessor performs data interaction with external equipment through the wireless communication module and the antenna module, and modifies the second gesture signal code.
A readable storage medium having stored thereon an executable program which, when executed by a processor, performs the steps of the socket control method described above.
The readable storage medium comprises an executable program stored in the readable storage medium, a camera device shoots gesture images, a gesture recognition module recognizes the gesture images, a microprocessor regulates and controls a control switch according to recognition results, the on-off of a socket circuit is controlled through the control switch, the socket is controlled to be powered on and powered off through gesture recognition, safety guarantee can be provided for socket operators through non-contact operation, particularly in high-voltage power utilization occasions, the readable storage medium has an effective isolation effect on human bodies and electricity, accidents of short-circuit electric shock are reduced, and the control operation of the socket is simple and convenient.
Drawings
FIG. 1 is a diagram of an application scenario of a gesture recognition socket in one embodiment;
FIG. 2 is a schematic diagram of a gesture recognition socket in one embodiment;
FIG. 3 is a schematic diagram of another embodiment of a gesture recognition socket;
FIG. 4 is a schematic diagram of a gesture recognition socket according to yet another embodiment;
FIG. 5 is a schematic diagram of a gesture recognition socket in yet another embodiment;
FIG. 6 is a flow chart illustrating a method for controlling a receptacle according to one embodiment;
FIG. 7 is a front view of a gesture recognition socket in one embodiment;
FIG. 8 is a block diagram of a control circuit board in the gesture recognition socket in one embodiment;
fig. 9 is a flowchart illustrating a socket control method according to another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the detailed description and specific examples, while indicating the scope of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention. It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings.
It should be noted that the term "first \ second" referred to in the embodiments of the present invention only distinguishes similar objects, and does not represent a specific ordering for the objects, and it should be understood that "first \ second" may exchange a specific order or sequence when allowed. It should be understood that "first \ second" distinct objects may be interchanged under appropriate circumstances such that embodiments of the invention described herein may be practiced in sequences other than those illustrated or described herein.
The gesture recognition socket and the socket control method provided by the application can be applied to the application environment shown in fig. 1. The gesture recognition socket can shoot gestures made by an operator using the socket through the camera device, recognize the gestures through the gesture recognition module, and then control the socket to be powered on or powered off. The gesture recognition socket can be applied to various occasions using electronic equipment and can be different types of sockets matched with various plugs.
Fig. 2 is a schematic structural diagram of a gesture recognition socket according to an embodiment of the present invention. The gesture recognition socket in this embodiment includes a microprocessor 110, a gesture recognition module 120, a camera 130 and a control switch 140;
the microprocessor 110 is connected with the gesture recognition module 120 and the control switch 140, respectively, and the gesture recognition module 120 is further connected with the camera device 130;
camera device 130 is used for shooing the gesture image, and gesture recognition module 120 is used for discerning the gesture image, and microprocessor 110 is used for regulating and control switch 140 according to the recognition result of gesture recognition module 120, and control switch 140 is used for controlling the break-make of socket circuit.
In the embodiment, the gesture recognition socket includes a microprocessor 110, a gesture recognition module 120, a camera 130 and a control switch 140; camera device 130 shoots the gesture image, gesture recognition module 120 discerns the gesture image, microprocessor 110 regulates and control switch 140 according to the recognition result, break-make through control switch 140 control socket circuit, thereby realize passing through gesture recognition control socket break-make electricity, utilize non-contact operation can provide the safety guarantee for the socket operator, especially in high-voltage power utilization occasion, play effectual isolation to human body and electricity, reduce the accident that causes the short circuit electric shock, and the control operation to the socket is also very simple and convenient.
It should be noted that the gesture recognition socket may include a socket board, the socket board is provided with a socket hole, the microprocessor 110, the gesture recognition module 120, the camera device 130 and the control switch 140 are disposed on the back of the socket board, the back of the socket board is further provided with a socket circuit connected to a power supply, the control switch 140 is connected to the socket circuit, the control socket circuit is connected to the power supply, the socket board is provided with a through hole, and the camera device 130 may capture an area scene in front of the socket board through the through hole to obtain a gesture image of an operator.
Furthermore, the camera device 130 may include a camera, the camera may be installed at an inner ring of the through hole, and glass with good permeability is installed at an outer ring of the through hole to protect the camera, isolate contact of foreign objects, and prevent damage to the camera; the control switch 140 may include an electromagnetic relay, which may control a larger current and a higher voltage with a smaller current and a lower voltage in a high-voltage electricity application; the socket board can select hardness height, intensity height, high temperature resistant, corrosion-resistant material, can avoid traditional finger long-time operation socket switch and cause the seal of a government organization in old china that switch department mechanical structure damaged and corrosion action appears, prolongs the life of socket.
In one embodiment, as shown in fig. 3, the gesture recognition socket further includes a wireless communication module 150 and an antenna module 160 connected to each other, the wireless communication module 150 being further connected to the microprocessor 110;
the microprocessor 110 performs data interaction with external devices through the wireless communication module 150 and the antenna module 160.
In this embodiment, the wireless communication module 150 and the antenna module 160 are disposed in the gesture recognition socket, the wireless communication module 150 converts data, and the data is radiated into a space in an energy form through the antenna module 160 to realize connection with an external device and data transmission, the external device can obtain a specific working state and related parameters of the gesture recognition socket, and can modify and set the basic functions of the microprocessor 110 to realize the internet of things control of the gesture recognition socket.
Furthermore, the wireless communication module can use a communication mode of Wifi or bluetooth, the working frequency band is 2.4G, the wireless communication module can be connected with an intelligent mobile terminal with Wifi or bluetooth functions through reliable connection speed and large data throughput, wireless control and data modification are achieved through the mobile terminal, and the data modification can be gesture recognition type modification or user-defined gesture type modification.
In one embodiment, as shown in fig. 4, the gesture recognition socket further comprises a signal indicator lamp 170 connected to the microprocessor, the signal indicator lamp 170 being used to indicate the on-off state of the socket circuit.
In this embodiment, a signal indicating lamp can be further arranged in the gesture recognition socket and used for indicating the on-off state of the socket circuit, so that the working state of the gesture recognition socket can be conveniently and visually known.
Specifically, when the socket circuit is controlled to be switched on through gesture recognition, the signal indicator lamp is turned on, and when the socket circuit is controlled to be switched off, the signal indicator lamp is turned off; alternatively, the signal indicator light may be an RGB light, and the control signal indicator light may display different colors to indicate different states of the receptacle circuit.
In one embodiment, as shown in FIG. 5, the gesture recognition socket further includes a voltage conversion circuit 180 connected to the microprocessor;
the voltage conversion circuit 180 is used for converting a power supply voltage connected to the socket into a working voltage of the microprocessor.
In this embodiment, the voltage conversion circuit 180 is disposed in the gesture recognition socket, and converts the power voltage connected to the socket into the working voltage of the microprocessor, so that the microprocessor can be supplied with a stable voltage to operate normally without separately configuring a power supply.
Furthermore, a power supply protection circuit can be further arranged in the gesture recognition socket and connected between a socket power supply and the voltage conversion circuit 180, the socket power supply is isolated, the high-voltage surge and the electric leakage are prevented from damaging the socket, and when the power supply is abnormal, the power supply protection circuit can cut off a power supply loop in time to play a role in protecting the socket circuit.
According to the gesture recognition socket, an embodiment of the invention further provides a socket control method, and the following describes an embodiment of the socket control method in detail.
Fig. 6 is a schematic flow chart of a socket control method according to an embodiment of the present invention. The socket control method in this embodiment, which applies the above gesture recognition socket, includes the following steps:
step S210: the camera device shoots a gesture image;
step S220: the gesture recognition module recognizes the gesture image, obtains a recognition result and sends the recognition result to the microprocessor;
step S230: and the microprocessor regulates and controls the control switch according to the identification result so as to control the on-off of the socket circuit.
In this embodiment, the application includes microprocessor, the gesture recognition module, camera device and control switch's gesture recognition socket, camera device shoots the gesture image, gesture recognition module discernment gesture image, microprocessor regulates and control switch according to the recognition result, break-make through control switch control socket circuit, with this realization through gesture recognition control socket break-make electricity, utilize non-contact operation can provide the safety guarantee for the socket operator, especially in high-voltage power utilization occasion, play effectual isolation to human body and electricity, reduce the accident that causes the short circuit electric shock, and the control operation to the socket is also very simple and convenient.
In one embodiment, the camera device comprises a sensing module and a camera module; the step of shooting the gesture image by the camera device comprises the following steps:
when the sensing module senses that an object enters the sensing area, the camera module is started, and the sensing area is shot within a preset time period to obtain a plurality of groups of images;
the camera module compares a plurality of groups of images, and if the ratio of the number of image groups containing the same gesture signals to the total number of image groups exceeds a threshold value, the fact that the plurality of groups of images contain gesture signals is judged.
In this embodiment, the camera device includes a sensing module and a camera module, the sensing module has a certain sensing area, the sensing module senses whether an object enters the corresponding sensing area, if so, it indicates that gesture recognition is required, the camera module is started and performs shooting at this time, a plurality of groups of images are obtained within a preset time period, image information is compared to determine whether a ratio of the number of image groups containing the same gesture signal to the total number of image groups exceeds a threshold value, the exceeding of the threshold value indicates that gesture operation for the socket exists at this time, and the plurality of groups of images contain gesture signals; the shooting of the multiple groups of images for comparison is to avoid artificial misoperation, if an operator mistakenly enters the induction area, the socket does not need to be controlled at the moment, the retention time in the induction area is not too long during misoperation through shooting the multiple groups of images, the ratio of the number of image groups containing the same gesture signals to the total number of image groups does not exceed a threshold value, the misoperation condition can be eliminated, and the recognition rate of effective gesture signals is improved.
Specifically, the sensing module may adopt an infrared sensing mode, when an operator enters the sensing area, the camera module is started to shoot the sensing area of the sensing module, at this time, the operator puts out a gesture and fixes for 3 seconds, the camera module collects image information in the time period, for example, 10 groups of gesture images are shot in 1 second, and 10 groups of images are compared, if the number of image groups containing the same gesture signal exceeds 50%, it is determined that a gesture signal exists, otherwise, it is determined that an error operation is performed, the step of shooting the sensing area in a preset time period is returned, and the image information is collected again; if a non-human body enters the induction area, the camera module can enter a sleep mode, power consumption is reduced, and the service life of the device is prolonged.
In one embodiment, the step of recognizing the gesture image by the gesture recognition module comprises the following steps:
when camera module judges that contain the gesture signal in the multiunit image, the gesture recognition module draws the regional image of gesture in the multiunit image, zooms gesture regional image, acquires the panoramic information of hand, carries out fast Fourier transform to the regional image of gesture according to panoramic information, draws finger joint information, acquires the gesture eigenvalue according to finger joint information to convert the gesture eigenvalue into first gesture signal code, the recognition result includes first gesture signal code.
In this embodiment, when the camera module judges that the plurality of groups of images contain the gesture signals, the gesture recognition module performs specific recognition on the gesture signals, extracts and scales the gesture area images in the plurality of groups of images firstly, so as to accurately acquire panoramic information of a hand, including all depth of field information, extracts finger joint information through fast fourier transform, can acquire a gesture characteristic value from the image, converts the gesture characteristic value into a first gesture signal code, can finish recognition on the gesture signals of the plurality of groups of images, and is convenient for subsequent comparison and judgment.
In one embodiment, the step of the microprocessor controlling the control switch according to the recognition result comprises the following steps:
microprocessor compares first gesture signal code and predetermined second gesture signal code, acquires with second gesture signal code assorted first gesture signal code quantity, if the ratio of quantity and first gesture signal code total number is greater than or equal to and predetermines the ratio, regulates and control switch according to the operation item that second gesture signal code corresponds.
In this embodiment, the preset second gesture signal code is a signal code corresponding to a standard gesture, and the gesture can be determined by comparing the first gesture signal code with the second gesture signal code; the gesture signal code that every kind of gesture corresponds has a plurality ofly, and at the in-process of comparing, the signal code that accounts for ratio more than or equal to preset ratio in the first gesture signal code matches with second gesture signal code, shows that the gesture matches successfully, and second gesture signal code all has the operation item that corresponds the relevance, and when first gesture signal code matches with one of them gesture signal code, the operation item that adopts to correspond regulates and control switch.
Further, the preset ratio may be 50%, 70%, 90%, and the like, the gesture recognition socket may further include a storage module, the preset second gesture signal code is stored in the storage module, and the microprocessor extracts the second gesture signal code from the storage module before adjusting and controlling the control switch according to the recognition result.
Further, if the ratio of the number of the first gesture signal codes matched with the second gesture signal codes is smaller than a preset ratio, the gesture signal codes are failed to be matched, or the gesture signals do not exist, the step of shooting the induction area within a preset time period is returned, and the image information is collected again.
In one embodiment, the control switch comprises an electromagnetic relay, and the gesture recognition socket further comprises a signal indicator light connected with the microprocessor;
the step of regulating and controlling the control switch according to the operation item corresponding to the second gesture signal code comprises the following steps:
starting an electromagnetic relay and lightening a signal indicator lamp;
or, the electromagnetic relay is closed, and the signal indicator lamp is extinguished.
In this embodiment, control switch can be electromagnetic relay, can use less electric current, lower voltage to control great electric current, higher voltage in the high-voltage power consumption occasion, can control socket circuit's break-make, utilizes signal indicator lamp can instruct socket circuit's break-make state, is convenient for know the operating condition of gesture recognition socket directly perceivedly.
Further, when the gesture signal code matching fails, the driving signal indicator lamp flickers to prompt the operator to confirm the gesture again.
In one embodiment, the gesture recognition socket further comprises a wireless communication module and an antenna module which are connected with each other, and the wireless communication module is further connected with the microprocessor; the method further comprises the following steps:
and the microprocessor performs data interaction with external equipment through the wireless communication module and the antenna module, and modifies the second gesture signal code.
In this embodiment, the wireless communication module and the antenna module are arranged in the gesture recognition socket, the wireless communication module converts data, the data are radiated into a space in an energy form through the antenna module, connection with external equipment and data transmission are achieved, the external equipment can acquire a specific working state and related parameters of the gesture recognition socket, and basic functions of the microprocessor can be modified and set, for example, a second gesture signal code in the storage module connected with the microprocessor is modified, and internet of things control of the gesture recognition socket is achieved.
Furthermore, the wireless communication module can use a communication mode of Wifi or bluetooth, the working frequency band is 2.4G, the wireless communication module can be connected with an intelligent mobile terminal with Wifi or bluetooth functions through reliable connection speed and large data throughput, wireless control and data modification are achieved through the mobile terminal, and the data modification can be gesture recognition type modification or user-defined gesture type modification.
According to the socket control method, the embodiment of the invention also provides a readable storage medium.
A readable storage medium having stored thereon an executable program which, when executed by a processor, performs the steps of the above-described outlet control method.
The readable storage medium comprises an executable program stored in the readable storage medium, a camera device shoots gesture images, a gesture recognition module recognizes the gesture images, a microprocessor regulates and controls a control switch according to recognition results, the on-off of a socket circuit is controlled through the control switch, the socket is controlled to be powered on and powered off through gesture recognition, safety guarantee can be provided for socket operators through non-contact operation, particularly in high-voltage power utilization occasions, the readable storage medium has an effective isolation effect on human bodies and electricity, accidents of short-circuit electric shock are reduced, and the control operation of the socket is simple and convenient.
It will be understood by those skilled in the art that all or part of the processes in the methods for implementing the embodiments described above may be implemented by hardware related to instructions of a computer program, and the program may be stored in a non-volatile computer readable storage medium, for example, in the embodiments, the program may be stored in a storage medium of a computer system, and executed by at least one processor in the computer system, so as to implement the processes including the embodiments of the socket control method described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
In one embodiment, the gesture recognition socket mainly comprises a socket board, wherein a control circuit board is mounted on the back surface of the socket board, and a microprocessor, a gesture recognition module, a camera, a wireless communication module, an antenna module, an electromagnetic relay, an indicator light, a storage module and the like are arranged on the control circuit board.
As shown in fig. 7, a camera through hole 1 is arranged on the front surface of the socket board, the inner ring of the through hole is used for installing a camera, and the outer ring is provided with glass with good permeability and used for protecting the camera, isolating contact of foreign objects and preventing damage to the camera; the LED lamp is also provided with a working indicator lamp through hole 2, the indicator lamp is an RGB lamp, and the color of the RGB lamp can be displayed by controlling the brightness of three different colors; a national standard jack 3 is also arranged, and the two-pin plug and the three-pin plug can be compatible; the socket board is made of high-hardness, high-strength and high-temperature-resistant materials, and meanwhile, the surface of the socket board is not easy to yellow and is corrosion-resistant.
As shown in fig. 8, which is a schematic view of a structural framework of a control circuit board, an MCU is connected to a wireless communication module as a control and data operation processing unit of the entire control circuit board, and acquires gesture image processing information from a gesture recognition module, controls an electromagnetic relay and an RGB indicator, and stores the acquired data information in a storage unit; the wireless communication module can use a Wifi or bluetooth communication mode, has a working frequency band of 2.4G, has a mature development environment, reliable connection speed and large data throughput, can be connected with most of the existing smart phones with Wifi and bluetooth functions, realizes wireless control and data modification through a phone end APP, and can modify gesture identification types or user-defined gesture types; the antenna module is connected with the wireless communication module, the wireless communication module radiates energy to the space through the antenna module through data conversion, connection and data transmission with the smart phone device are achieved, the antenna module follows the standard 50-ohm impedance characteristic, and the wireless communication module has good transmission efficiency and effective connection distance; acquiring a gesture image signal through a camera, wherein a gesture recognition module is a unit for processing the image signal, decomposing the gesture image signal and extracting effective image key information; the gesture signal is transmitted to the MCU for comparison, the MCU performs effective information matching with the gesture signal extracted by the gesture recognition module through acquiring a gesture signal library preset in the storage module, and after the matching is successful, the MCU controls the electromagnetic relay 10 to switch on and off the power supply, so that the power supply of the socket is controlled; in addition, the voltage conversion circuit shown in fig. 8 converts 220V commercial power into 5V and 3.3V voltages required by the control circuit board, and meanwhile, in order to protect the working environment of the control circuit board, a power protection circuit is further provided, which is used for isolating 220V high voltage, preventing the control circuit board from being damaged by high voltage surge and leakage, and cutting off a power supply loop in time when power supply abnormality occurs, so as to protect circuit components.
As shown in fig. 9, which is a schematic flow chart of a socket control method, the purpose is to improve the recognition accuracy of gesture recognition, and further improve the convenience and reliability of using the socket.
(1) The camera is provided with the response module, when the response module sensed that there is the human body to be close to, the camera can open the shooting function, be close to the camera with the gesture, the distance is between 50cm-100cm, fix the gesture for 3 seconds, the camera can gather image information at this time quantum, for example, shoot 10 group gesture image information in 1 second, and compare 10 group image information simultaneously, if it appears the same gesture signal to exceed 50% image, judge that the gesture signal exists, this step is to avoid artificial maloperation, improve effective gesture signal's recognition rate.
(2) If the judgment is that the human body is in misoperation, returning to the step (1) to collect the gesture image information again, or judging that a non-human body approaches, and then enabling the image collection part to enter a sleep mode, so that the power consumption is reduced and the service life of the device is prolonged.
(3) When (1) the gesture recognition operation is confirmed, the gesture recognition module analyzes the characteristic values of 10 groups of gesture images collected by the camera, firstly, the gesture recognition module performs image scaling to obtain all depth of field information of the hand, so that Fast Fourier Transform (FFT) is performed on the images, finger joint information is extracted, the posture of the hand is determined, the gesture characteristic values are obtained, and the gesture characteristic values are converted into gesture signal codes in a preset format.
(4) The gesture signal code who obtains by (3) is passed to MCU and is handled, and MCU draws the gesture signal code that has set for in advance in the storage module simultaneously, and both compare, when the gesture signal code that appears 50% successfully matches, explain that the gesture matches successfully, and MCU can control according to the operation item that the gesture signal code corresponds at this moment. For example, if the matching is successful, the gesture signal corresponds to the fact that the electromagnetic relay is opened, the power-on indicating lamp is lightened, the indicating lamp can be seen on the front face of the socket board and is lightened, and meanwhile, the socket can be normally powered on for use.
(5) And if the matched gesture signal fails or does not exist, returning to the step (1) for collecting the gesture image information again, and enabling the indicating lamp to flicker to request for confirming the gesture signal again.
To sum up, this scheme can control the socket through gesture recognition and break down the electricity, and the discernment rate of accuracy is high, and non-contact operation provides the guarantee to human safety, especially at high-voltage power consumption scene, plays effectual effect to human and electric isolation. The human body does not need the direct contact socket, improves the security and the convenience of operation, and control is intelligent, and is easy and simple to handle, can solve the receipts direct contact socket that is stained with water and cause the short circuit electric shock accident easily, and the easy damage mechanical structure of normal operating socket switch leads to the problem that ordinary socket life reduces.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
Those skilled in the art will appreciate that all or part of the steps in the method for implementing the above embodiments may be implemented by a program instructing the relevant hardware. The program may be stored in a computer-readable storage medium. Which when executed comprises the steps of the method described above. The storage medium includes: ROM/RAM, magnetic disk, optical disk, etc.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (7)

1. A gesture recognition socket is characterized by comprising a microprocessor, a gesture recognition module, a camera device, a control switch, a storage module and a signal indicator lamp; the microprocessor is respectively connected with the gesture recognition module, the control switch, the storage module and the signal indicator lamp, and the gesture recognition module is also connected with the camera device;
the camera device comprises a sensing module and a camera module, wherein,
the sensing module is used for sensing whether an object enters a sensing area or not in an infrared sensing mode;
the camera module is used for starting after the induction module induces that an object enters an induction area, shooting the induction area within a preset time period to obtain a plurality of groups of images, comparing the plurality of groups of images, and if the ratio of the number of image groups containing the same gesture signal to the total number of image groups exceeds a threshold value, judging that the plurality of groups of images contain gesture signals; the camera module is also used for entering a sleep mode when the sensing module senses that a non-human body enters the sensing area;
the gesture recognition module is used for recognizing the multiple groups of images to obtain a first gesture signal code;
the microprocessor is used for comparing the first gesture signal code with a preset second gesture signal code, acquiring the number of the first gesture signal codes matched with the second gesture signal code, if the ratio of the number to the total number of the first gesture signal codes is greater than or equal to a preset ratio, regulating and controlling the control switch according to an operation item corresponding to the second gesture signal code, and driving the signal indicator lamp to flash to prompt an operator to confirm the gesture again under the condition that the matched gesture signal fails or the gesture signal does not exist;
the control switch is used for controlling the on-off of the socket circuit;
the storage module is used for storing the second gesture signal code;
the signal indicator lamp is also used for indicating the on-off state of the socket circuit.
2. The gesture recognition socket of claim 1, further comprising a wireless communication module and an antenna module connected to each other, the wireless communication module further connected to the microprocessor;
and the microprocessor performs data interaction with external equipment through the wireless communication module and the antenna module.
3. The gesture recognition socket of claim 1, further comprising a voltage conversion circuit connected to the microprocessor;
the voltage conversion circuit is used for converting power supply voltage connected with the socket into working voltage of the microprocessor.
4. A socket control method, wherein the gesture recognition socket of claim 1 is applied, the method comprising the steps of:
when the sensing module senses that a non-human body object enters a sensing area, the camera module enters a sleep mode;
when the sensing module senses that an object enters the sensing area, the camera module is started, and the sensing area is shot within a preset time period to obtain a plurality of groups of images;
the camera module compares the multiple groups of images, if the ratio of the number of image groups containing the same gesture signals to the total number of image groups exceeds a threshold value, the multiple groups of images are judged to contain gesture signals, and the multiple groups of images are sent to the gesture recognition module;
the gesture recognition module recognizes the multiple groups of images to obtain a first gesture signal code and sends the first gesture signal code to the microprocessor;
the microprocessor extracts a preset second gesture signal code from the storage module, compares the first gesture signal code with the second gesture signal code, acquires the number of first gesture signal codes matched with the second gesture signal code, and regulates and controls the control switch according to an operation item corresponding to the second gesture signal code if the ratio of the number to the total number of the first gesture signal codes is larger than or equal to a preset ratio so as to control the on-off of the socket circuit and drive the signal indicator lamp to flash to prompt an operator to confirm the gesture again under the condition that the matched gesture signal fails or does not exist.
5. The socket control method according to claim 4, wherein the step of the gesture recognition module recognizing the plurality of sets of images comprises the steps of:
when the camera module judges that the multiple groups of images contain gesture signals, the gesture recognition module extracts gesture area images in the multiple groups of images, zooms the gesture area images, acquires panoramic information of a hand, performs fast Fourier transform on the gesture area images according to the panoramic information, extracts finger joint information, acquires gesture characteristic values according to the finger joint information, and converts the gesture characteristic values into first gesture signal codes.
6. The socket control method according to claim 4, wherein the control switch comprises an electromagnetic relay, and the gesture recognition socket further comprises a signal indicator lamp connected to the microprocessor;
the step of regulating and controlling the control switch according to the operation item corresponding to the second gesture signal code comprises the following steps:
turning on the electromagnetic relay and lightening the signal indicator lamp;
or the electromagnetic relay is closed, and the signal indicator lamp is extinguished.
7. The socket control method according to claim 4, wherein the gesture recognition socket further comprises a wireless communication module and an antenna module connected with each other, the wireless communication module being further connected with the microprocessor; the method further comprises the steps of:
and the microprocessor performs data interaction with external equipment through the wireless communication module and the antenna module to modify the second gesture signal code.
CN201811234409.4A 2018-10-23 2018-10-23 Gesture recognition socket and socket control method Active CN109524853B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811234409.4A CN109524853B (en) 2018-10-23 2018-10-23 Gesture recognition socket and socket control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811234409.4A CN109524853B (en) 2018-10-23 2018-10-23 Gesture recognition socket and socket control method

Publications (2)

Publication Number Publication Date
CN109524853A CN109524853A (en) 2019-03-26
CN109524853B true CN109524853B (en) 2020-11-24

Family

ID=65772860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811234409.4A Active CN109524853B (en) 2018-10-23 2018-10-23 Gesture recognition socket and socket control method

Country Status (1)

Country Link
CN (1) CN109524853B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111736688A (en) * 2020-02-27 2020-10-02 珠海市杰理科技股份有限公司 Bluetooth headset, system and gesture recognition method thereof
CN112614488A (en) * 2020-12-31 2021-04-06 广州奥鹏能源科技有限公司 Method for controlling communication system between high-power portable energy storage equipment and user terminal
CN115832791A (en) * 2022-09-30 2023-03-21 许宵闻 Barrier-free interactive intelligent socket system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841712A (en) * 2012-07-11 2012-12-26 广州市久邦数码科技有限公司 Method and system for identifying and editing gestures
CN103105928A (en) * 2012-12-11 2013-05-15 渭南高新区晨星专利技术咨询有限公司 Gesture remote control system
CN103530352A (en) * 2013-10-10 2014-01-22 浙江大学 Device and method for obtaining scenic spot information in real time based on smart watch
CN104898981A (en) * 2015-06-29 2015-09-09 安一恒通(北京)科技有限公司 Gesture recognizing method, device and terminal

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8587526B2 (en) * 2006-04-12 2013-11-19 N-Trig Ltd. Gesture recognition feedback for a dual mode digitizer
CN202210263U (en) * 2011-06-30 2012-05-02 汉王科技股份有限公司 Face recognition device
CN102930256B (en) * 2012-11-14 2016-06-22 汉王科技股份有限公司 Face identification device and facial image recognition method
US9459697B2 (en) * 2013-01-15 2016-10-04 Leap Motion, Inc. Dynamic, free-space user interactions for machine control
CN103576862B (en) * 2013-11-18 2015-05-20 合一网络技术(北京)有限公司 Gesture-control camera shooting method and device
CN103984415B (en) * 2014-05-19 2017-08-29 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN204681646U (en) * 2015-06-15 2015-09-30 祝怀月 Novel intelligent gesture switching system
CN104993813A (en) * 2015-06-29 2015-10-21 广西瀚特信息产业股份有限公司 Intelligent switching device based on ultrasonic gesture recognition and processing method of intelligent switching device
CN105375209A (en) * 2015-11-12 2016-03-02 牛宝芬 Protective type intelligent socket
CN107885316A (en) * 2016-09-29 2018-04-06 阿里巴巴集团控股有限公司 A kind of exchange method and device based on gesture
CN106547359A (en) * 2016-11-30 2017-03-29 珠海迈科智能科技股份有限公司 High voltage power supply with gesture identification function and its recognition methodss
CN106778670A (en) * 2016-12-30 2017-05-31 上海集成电路研发中心有限公司 Gesture identifying device and recognition methods
CN107820046A (en) * 2017-09-23 2018-03-20 张敬敏 The video monitoring system that terminal collection uses

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841712A (en) * 2012-07-11 2012-12-26 广州市久邦数码科技有限公司 Method and system for identifying and editing gestures
CN103105928A (en) * 2012-12-11 2013-05-15 渭南高新区晨星专利技术咨询有限公司 Gesture remote control system
CN103530352A (en) * 2013-10-10 2014-01-22 浙江大学 Device and method for obtaining scenic spot information in real time based on smart watch
CN104898981A (en) * 2015-06-29 2015-09-09 安一恒通(北京)科技有限公司 Gesture recognizing method, device and terminal

Also Published As

Publication number Publication date
CN109524853A (en) 2019-03-26

Similar Documents

Publication Publication Date Title
CN109524853B (en) Gesture recognition socket and socket control method
CN102999162B (en) Mobile terminal keeps the method for bright screen state, system and mobile terminal automatically
US20110298419A1 (en) Method for identification of a light inductive charger
CN101752749A (en) Intelligent electric-shock protection socket based on pyroelectric infrared detection
CN106654739B (en) A kind of socket and housed device intelligence power-off implementation method of band intelligence power down function
CN104272326A (en) Card burning preventing detecting device, terminal equipment, and card burning detecting and processing method
CN110689647A (en) Intelligent door lock and charging control method thereof
US6639382B1 (en) Mobile phone charger with automatic light
CN107479435A (en) A kind of smart jack control system
CN105048211A (en) Intelligent socket
CN104269837B (en) Pull out electrical protective device
CN112212458B (en) Electric cabinet safety control device and method and electrical equipment
CN107612571A (en) Terminal and its control circuit of multipurpose Kato, prevent SIM card from burning the method for card
CN207381957U (en) A kind of intelligent illuminating system overcurrent protective device
CN208433778U (en) A kind of vehicle with light prompt facility, which fills, to be set
CN108270130B (en) Socket and power supply system
CN107706902B (en) Safe power connection equipment and system and its mistake proofing circuitry phase detection method
CN209803606U (en) Starting control system of coal mining machine based on iris recognition
CN107565630A (en) A kind of control method and its charging socket of USB charging sockets
CN104882855B (en) Intelligent electric machine comprehensive protection device
CN204720964U (en) Intelligent electric machine comprehensive protection device
CN106182023A (en) A kind of household service robot with attack early warning function
CN203416452U (en) LED light and storage card
CN203731706U (en) Electric water heater with active safety protecting device
CN205644198U (en) Electrical equipment power line carrier remote control device

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
CP02 Change in the address of a patent holder

Address after: 519000 No. 333, Kexing Road, Xiangzhou District, Zhuhai City, Guangdong Province

Patentee after: ZHUHAI JIELI TECHNOLOGY Co.,Ltd.

Address before: Floor 1-107, building 904, ShiJiHua Road, Zhuhai City, Guangdong Province

Patentee before: ZHUHAI JIELI TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder