WO2019033364A1 - 穿衣镜控制方法及装置 - Google Patents

穿衣镜控制方法及装置 Download PDF

Info

Publication number
WO2019033364A1
WO2019033364A1 PCT/CN2017/097931 CN2017097931W WO2019033364A1 WO 2019033364 A1 WO2019033364 A1 WO 2019033364A1 CN 2017097931 W CN2017097931 W CN 2017097931W WO 2019033364 A1 WO2019033364 A1 WO 2019033364A1
Authority
WO
WIPO (PCT)
Prior art keywords
human body
mirror
character image
image
wearing
Prior art date
Application number
PCT/CN2017/097931
Other languages
English (en)
French (fr)
Inventor
叶胡星
Original Assignee
深圳市优品壹电子有限公司
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 深圳市优品壹电子有限公司 filed Critical 深圳市优品壹电子有限公司
Priority to PCT/CN2017/097931 priority Critical patent/WO2019033364A1/zh
Publication of WO2019033364A1 publication Critical patent/WO2019033364A1/zh

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47GHOUSEHOLD OR TABLE EQUIPMENT
    • A47G1/00Mirrors; Picture frames or the like, e.g. provided with heating, lighting or ventilating means

Definitions

  • the present invention relates to the field of communication technologies, and in particular, to a mirror control method and apparatus.
  • a mirror is an object that has a smooth surface and is capable of reflecting light.
  • the most common mirrors are plane mirrors, which are often used by people to organize their appearance. However, some of them have a single function and cannot meet the needs of people who are getting faster and faster in modern life. For example, when customers buy clothes in the mall, they need to try on the clothes one by one to see the effect of the clothes, and try on them. When the clothes are too much, the customer easily forgets the effect of trying on the clothes before, so that the trials of multiple pieces of clothing are very wasteful time; sometimes, the clothes mirror does not have the function of playing music, and the speaker needs to be additionally set, which increases the cost and wastes. space.
  • the embodiment of the invention provides a method and a device for controlling the wearing mirror, which can automatically control the wearing mirror and realize the diversification of the function of the wearing mirror.
  • an embodiment of the present invention provides a mirror control method, including:
  • the micro server collects an image of a person through an imaging device, the imaging device is integrated in a wearing mirror, and the wearing mirror comprises a plane mirror and a convex lens;
  • the micro server identifies the character image to obtain a human body parameter of the human body included in the character image
  • the microserver controls the plane mirror and/or the convex lens in the wearing mirror according to the human body parameter.
  • the micro server identifies the character image, and obtains a human body parameter of the human body included in the character image, including:
  • the micro server identifies the character image to obtain a size of the human body in the character image.
  • the micro server identifies the character image, and obtains a human body parameter of the human body included in the character image, including:
  • the micro server performs face recognition on the character image to obtain a line of sight direction of the human body.
  • the micro server controls the plane mirror and/or the convex lens in the wearing mirror according to the human body parameter, including:
  • the micro server controls the distance between the plane mirror and the convex lens to be greater than a pre- Set the distance threshold.
  • the micro server controls the plane mirror and/or the convex lens in the wearing mirror according to the human body parameter, including:
  • the micro server controls the plane mirror and The distance between the convex lenses is less than a preset distance threshold.
  • an embodiment of the present invention provides a mirror control device, where the device includes:
  • An image acquisition module configured to collect a character image by using an image capturing device, wherein the image capturing device is integrated in a wearing mirror, and the wearing mirror comprises a plane mirror and a convex lens;
  • An image recognition module configured to identify the character image, and obtain a human body parameter of the human body included in the character image
  • a control module configured to control the plane mirror and/or the convex lens in the wearing mirror according to the human body parameter.
  • the image recognition module is specifically configured to:
  • the person image is identified to obtain the size of the human body in the character image.
  • the image recognition module is specifically configured to:
  • Face recognition is performed on the character image to obtain a line of sight direction of the human body.
  • control module is specifically configured to:
  • the distance between the plane mirror and the convex lens is controlled to be greater than a preset distance threshold.
  • control module is specifically configured to:
  • the distance between the plane mirror and the convex lens is controlled to be less than a preset distance threshold.
  • an embodiment of the present invention provides a micro server, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, wherein the The memory is for storing a computer program, the computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of the first aspect.
  • an embodiment of the present invention provides a computer readable storage medium, wherein the computer storage medium stores a computer program, where the computer program includes program instructions, when the program instructions are executed by a processor.
  • the processor is caused to perform the method as described in the first aspect.
  • the micro server collects the image of the person through the image capturing device, the camera device is integrated in the wearing mirror, the dressing mirror includes a plane mirror and a convex lens; the micro server identifies the image of the person, and obtains the image of the person The human body parameter of the human body is included; the micro server controls the plane mirror and/or the convex lens in the wearing mirror according to the human body parameter, and can automatically control the wearing mirror, thereby realizing the diversification of the function of the wearing mirror.
  • FIG. 1 is a schematic flow chart of a method for controlling a wearing mirror according to an embodiment of the present invention
  • FIG. 2 is a schematic structural view of a dressing mirror control device according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a micro server according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural view of a dressing mirror control system according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a method for controlling a mirror according to an embodiment of the present invention. As shown in FIG. 1 , the method includes the following steps:
  • Step 101 The micro server collects an image of a person through an imaging device, and the imaging device is integrated in a wearing mirror, and the wearing mirror includes a plane mirror and a convex lens.
  • Step 102 The micro server identifies the character image to obtain a human body parameter of the human body included in the character image.
  • the micro server identifies the character image to obtain a size of the human body in the character image.
  • the micro server performs face recognition on the character image to obtain a line of sight direction of the human body.
  • Step 103 The micro server controls the plane mirror and/or the convex lens in the wearing mirror according to the human body parameter.
  • the micro server may control a distance between the plane mirror and the convex lens to be greater than a preset distance threshold.
  • the micro server controls a distance between the plane mirror and the convex lens to be greater than a preset distance threshold.
  • the micro server may control the plane mirror and the convex lens The distance between them is greater than the preset distance threshold.
  • the micro server may control a distance between the plane mirror and the convex lens to be less than a preset distance threshold.
  • the micro server may control a distance between the plane mirror and the convex lens to be less than a preset distance threshold.
  • the micro server A distance between the plane mirror and the convex lens may be controlled to be less than a preset distance threshold.
  • the micro server collects the image of the person through the image capturing device, the camera device is integrated in the wearing mirror, the dressing mirror includes a plane mirror and a convex lens; the micro server identifies the image of the person, and obtains the image of the person The human body parameter of the human body is included; the micro server controls the plane mirror and/or the convex lens in the wearing mirror according to the human body parameter, and can automatically control the wearing mirror, thereby realizing the diversification of the function of the wearing mirror.
  • FIG. 2 is a schematic structural diagram of a dressing mirror control device according to an embodiment of the present invention. As shown in FIG. 2, the method includes:
  • the image acquisition module 201 is configured to collect a character image by using an image capturing device, wherein the image capturing device is integrated in a wearing mirror, and the wearing mirror comprises a plane mirror and a convex lens;
  • the image recognition module 202 is configured to identify the character image, and obtain a human body parameter of the human body included in the character image;
  • the control module 203 is configured to control the plane mirror and/or the convex lens in the wearing mirror according to the human body parameter.
  • the image recognition module 202 is specifically configured to:
  • the person image is identified to obtain the size of the human body in the character image.
  • the image recognition module 202 is specifically configured to:
  • Face recognition is performed on the character image to obtain a line of sight direction of the human body.
  • control module 203 is specifically configured to:
  • the distance between the plane mirror and the convex lens is controlled to be greater than a preset distance threshold.
  • control module 203 is specifically configured to:
  • the image acquisition module 201 collects a character image by using an image capturing device, the camera device is integrated in a wearing mirror, and the wearing mirror includes a plane mirror and a convex lens; and the image recognition module 202 Identifying the character image to obtain a human body parameter of the human body included in the character image; the control module 203 controls the plane mirror and/or the convex lens in the wearing mirror according to the human body parameter, and can automatically control the wearing mirror, thereby realizing The variety of mirror functions.
  • FIG. 3 is a structural diagram of a micro server according to an embodiment of the present invention.
  • the micro server includes a processor 301, a memory 302, a network interface 304, and a user interface 303.
  • the various components in the microserver are coupled together by a bus system 305.
  • the bus system 305 includes a power bus, a control bus, and a status signal bus in addition to the data bus.
  • various buses are labeled as bus system 305 in FIG.
  • the user interface 303 may include a display, a keyboard, or a pointing device (eg, a mouse, a track ball, a touch pad, or a touch screen, etc.).
  • a pointing device eg, a mouse, a track ball, a touch pad, or a touch screen, etc.
  • the memory 302 in the embodiments of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be a read-only memory (ROM), a programmable read only memory (PROM), an erasable programmable read only memory (Erasable PROM, EPROM), or an electric Erase programmable read only memory (EEPROM) or flash memory.
  • the volatile memory can be a Random Access Memory (RAM) that acts as an external cache.
  • RAM Random Access Memory
  • many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (Synchronous DRAM).
  • SDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • DDRSDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • ESDRAM Enhanced Synchronous Dynamic Random Access Memory
  • SDRAM Synchronous Connection Dynamic Random Access Memory
  • DRRAM direct memory bus random access memory
  • memory 302 stores elements, executable modules or data structures, or a subset thereof, or their extended set: operating system 3021 and application 3022.
  • the operating system 3021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks.
  • Application 3022 It includes various applications, such as Media Player, Browser, etc., for implementing various application services.
  • a program implementing the method of the embodiment of the present invention may be included in the application 3022.
  • the program or instruction stored in the memory 302 is specifically a program or an instruction stored in the application 3022.
  • the processor 301 is configured to:
  • an imaging device Acquiring an image of a person by an imaging device, the camera device being integrated in a wearing mirror, the wearing mirror comprising a plane mirror and a convex lens;
  • the plane mirror and/or the convex lens in the wearing mirror are controlled according to the human body parameter.
  • the processor 301 identifies the human image, and obtains a human body parameter of the human body included in the character image, including:
  • the person image is identified to obtain the size of the human body in the character image.
  • the processor 301 identifies the human image, and obtains a human body parameter of the human body included in the character image, including:
  • Face recognition is performed on the character image to obtain a line of sight direction of the human body.
  • the processor 301 controls the plane mirror and/or the convex lens in the wearing mirror according to the human body parameter, including:
  • the processor 301 controls the plane mirror and/or the convex lens in the wearing mirror according to the human body parameter, including:
  • Processor 301 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 301 or an instruction in a form of software.
  • the above processor 301 can be a general purpose processor, digital signal processing Digital Signal Processor (DSP), Application Specific Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware Component.
  • DSP digital signal processing Digital Signal Processor
  • ASIC Application Specific Integrated Circuit
  • FPGA Field Programmable Gate Array
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or carried out.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 302, and the processor 301 reads the information in the memory 302 and completes the steps of the above method in combination with its hardware.
  • the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof.
  • the processing unit can be implemented in one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processing (DSP), Digital Signal Processing Equipment (DSP Device, DSPD), programmable Programmable Logic Device (PLD), Field-Programmable Gate Array (FPGA), general purpose processor, controller, microcontroller, microprocessor, other for performing the functions described herein In an electronic unit or a combination thereof.
  • ASICs Application Specific Integrated Circuits
  • DSP Digital Signal Processing
  • DSP Device Digital Signal Processing Equipment
  • PLD programmable Programmable Logic Device
  • FPGA Field-Programmable Gate Array
  • the techniques described herein can be implemented by modules (eg, procedures, functions, and so on) that perform the functions described herein.
  • the software code can be stored in memory and executed by the processor.
  • the memory can be implemented in the processor or external to the processor.
  • FIG. 4 is a schematic block diagram of a mirror control system according to an embodiment of the present invention.
  • the micro server 401 collects an image of a person through an imaging device, the imaging device is integrated in a wearing mirror 402, and the wearing mirror 402 includes a plane mirror and a convex lens;
  • the micro server 401 identifies the person image to obtain a human body parameter of the human body included in the character image;
  • the micro server 401 compares the plane mirror in the wearing mirror 402 according to the human body parameter. Or a convex lens for control.
  • the micro server 401 identifies the human image, and obtains a human body parameter of the human body included in the character image, including:
  • the micro server 401 identifies the person image to obtain a size of the human body in the character image.
  • the micro server 401 identifies the human image, and obtains a human body parameter of the human body included in the character image, including:
  • the micro server 401 performs face recognition on the character image to obtain a line of sight direction of the human body.
  • the micro server 401 controls the plane mirror and/or the convex lens in the wearing mirror 402 according to the human body parameter, including:
  • the micro server 401 controls the distance between the plane mirror and the convex lens to be greater than Preset distance threshold.
  • the micro server 401 controls the plane mirror and/or the convex lens in the wearing mirror 402 according to the human body parameter, including:
  • the micro server 401 controls the plane mirror when a size of the human body in the character image is greater than a preset size threshold, and an angle between a line of sight direction of the human body and the wearing mirror is less than a preset angle threshold The distance between the convex lens and the convex lens is less than a preset distance threshold.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative, for example, The division of the unit is only a logical function division, and the actual implementation may have another division manner.
  • multiple units or components may be combined or may be integrated into another system, or some features may be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Studio Devices (AREA)

Abstract

一种穿衣镜控制方法及装置,该方法包括:微服务器通过摄像装置采集人物图像,摄像装置集成在穿衣镜中,穿衣镜包括平面镜和凸透镜(101);微服务器对人物图像进行识别,得到人物图像所包含人体的人体参数(102);微服务器根据人体参数,对穿衣镜中平面镜和/或凸透镜进行控制(103)。采用本方法,可自动控制穿衣镜,实现了穿衣镜功能的多样化。

Description

穿衣镜控制方法及装置 技术领域
本发明涉及通信技术领域,尤其涉及穿衣镜控制方法及装置。
背景技术
镜子是一种表面光滑,并且具有反射光线能力的物品。最常见的镜子是平面镜,常被人们利用来整理仪容。但是,有的穿衣镜功能单一,无法满足现代生活节奏越来越快的人们的需要,比如顾客在商场买衣服时,需要将衣服一件一件的试穿才能看出衣服的效果,而且试穿的衣服过多时,顾客容易忘记之前试穿衣物的效果,这样多件衣物来回的试穿非常浪费时间;有的时候,穿衣镜没有播放音乐的功能,还需要另外设置音箱,既增加成本又浪费空间。
发明内容
本发明实施例提供穿衣镜控制方法及装置,可自动控制穿衣镜,实现了穿衣镜功能的多样化。
第一方面,本发明实施例提供一种穿衣镜控制方法,包括:
微服务器通过摄像装置采集人物图像,所述摄像装置集成在穿衣镜中,所述穿衣镜包括平面镜和凸透镜;
所述微服务器对所述人物图像进行识别,得到所述人物图像所包含人体的人体参数;
所述微服务器根据所述人体参数,对所述穿衣镜中的平面镜和/或凸透镜进行控制。
可选的,所述微服务器对所述人物图像进行识别,得到所述人物图像所包含人体的人体参数,包括:
所述微服务器对所述人物图像进行识别,得到所述人体在所述人物图像中的尺寸。
可选的,所述微服务器对所述人物图像进行识别,得到所述人物图像所包含人体的人体参数,包括:
所述微服务器对所述人物图像进行人脸识别,得到所述人体的视线方向。
可选的,所述微服务器根据所述人体参数,对所述穿衣镜中的平面镜和/或凸透镜进行控制,包括:
当所述人体在所述人物图像中的尺寸小于预设尺寸阈值,且所述人体的视线方向垂直于所述穿衣镜时,所述微服务器控制所述平面镜和所述凸透镜之间的距离大于预设距离阈值。
可选的,所述微服务器根据所述人体参数,对所述穿衣镜中的平面镜和/或凸透镜进行控制,包括:
当所述人体在所述人物图像中的尺寸大于预设尺寸阈值,且所述人体的视线方向与所述穿衣镜之间的夹角小于预设角度阈值时,所述微服务器控制所述平面镜和所述凸透镜之间的距离小于预设距离阈值。
第二方面,本发明实施例提供一种穿衣镜控制装置,所述装置包括:
图像采集模块,用于通过摄像装置采集人物图像,所述摄像装置集成在穿衣镜中,所述穿衣镜包括平面镜和凸透镜;
图像识别模块,用于对所述人物图像进行识别,得到所述人物图像所包含人体的人体参数;
控制模块,用于根据所述人体参数,对所述穿衣镜中的平面镜和/或凸透镜进行控制。
可选的,所述图像识别模块,具体用于:
对所述人物图像进行识别,得到所述人体在所述人物图像中的尺寸。
可选的,所述图像识别模块,具体用于:
对所述人物图像进行人脸识别,得到所述人体的视线方向。
可选的,所述控制模块,具体用于:
当所述人体在所述人物图像中的尺寸小于预设尺寸阈值,且所述人体的视线方向垂直于所述穿衣镜时,控制所述平面镜和所述凸透镜之间的距离大于预设距离阈值。
可选的,所述控制模块,具体用于:
当所述人体在所述人物图像中的尺寸大于预设尺寸阈值,且所述人体的视 线方向与所述穿衣镜之间的夹角小于预设角度阈值时,控制所述平面镜和所述凸透镜之间的距离小于预设距离阈值。
第三方面,本发明实施例提供了一种微服务器,其特征在于,包括处理器、输入设备、输出设备和存储器,所述处理器、输入设备、输出设备和存储器相互连接,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行如第一方面所述的方法。
第四方面,本发明实施例提供了一种计算机可读存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如第一方面所述的方法。
本发明实施例中,微服务器通过摄像装置采集人物图像,所述摄像装置集成在穿衣镜中,所述穿衣镜包括平面镜和凸透镜;所述微服务器对所述人物图像进行识别,得到所述人物图像所包含人体的人体参数;所述微服务器根据所述人体参数,对所述穿衣镜中的平面镜和/或凸透镜进行控制,可自动控制穿衣镜,实现了穿衣镜功能的多样化。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种穿衣镜控制方法的流程示意图;
图2是本发明实施例提供的一种穿衣镜控制装置的结构示意图;
图3是本发明实施例提供的一种微服务器的结构示意图;
图4是本发明实施例提供的一种穿衣镜控制系统的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
请参见图1,图1是本发明实施例提供的一种穿衣镜控制方法的流程示意图,如图1所示,包括以下步骤:
步骤101、微服务器通过摄像装置采集人物图像,所述摄像装置集成在穿衣镜中,所述穿衣镜包括平面镜和凸透镜。
步骤102、微服务器对所述人物图像进行识别,得到所述人物图像所包含人体的人体参数。
可选的,微服务器对所述人物图像进行识别,得到所述人体在所述人物图像中的尺寸。
可选的,微服务器对所述人物图像进行人脸识别,得到所述人体的视线方向。
步骤103、微服务器根据所述人体参数,对所述穿衣镜中的平面镜和/或凸透镜进行控制。
可选的,当所述人体在所述人物图像中的尺寸小于预设尺寸阈值时,所述微服务器可以控制所述平面镜和所述凸透镜之间的距离大于预设距离阈值。
可选的,当所述人体的视线方向垂直于所述穿衣镜时,所述微服务器控制所述平面镜和所述凸透镜之间的距离大于预设距离阈值。
可选的,当所述人体在所述人物图像中的尺寸小于预设尺寸阈值,且所述人体的视线方向垂直于所述穿衣镜时,所述微服务器可以控制所述平面镜和所述凸透镜之间的距离大于预设距离阈值。
可选的,当所述人体在所述人物图像中的尺寸大于预设尺寸阈值时,所述微服务器可以控制所述平面镜和所述凸透镜之间的距离小于预设距离阈值。
可选的,当所述人体的视线方向与所述穿衣镜之间的夹角小于预设角度阈值时,所述微服务器可以控制所述平面镜和所述凸透镜之间的距离小于预设距离阈值。
可选的,当所述人体在所述人物图像中的尺寸大于预设尺寸阈值,且所述人体的视线方向与所述穿衣镜之间的夹角小于预设角度阈值时,所述微服务器 可以控制所述平面镜和所述凸透镜之间的距离小于预设距离阈值。
本发明实施例中,微服务器通过摄像装置采集人物图像,所述摄像装置集成在穿衣镜中,所述穿衣镜包括平面镜和凸透镜;所述微服务器对所述人物图像进行识别,得到所述人物图像所包含人体的人体参数;所述微服务器根据所述人体参数,对所述穿衣镜中的平面镜和/或凸透镜进行控制,可自动控制穿衣镜,实现了穿衣镜功能的多样化。
请参见图2,图2是本发明实施例提供的一种穿衣镜控制装置的结构示意图,如图2所示,包括:
图像采集模块201,用于通过摄像装置采集人物图像,所述摄像装置集成在穿衣镜中,所述穿衣镜包括平面镜和凸透镜;
图像识别模块202,用于对所述人物图像进行识别,得到所述人物图像所包含人体的人体参数;
控制模块203,用于根据所述人体参数,对所述穿衣镜中的平面镜和/或凸透镜进行控制。
可选的,所述图像识别模块202,具体用于:
对所述人物图像进行识别,得到所述人体在所述人物图像中的尺寸。
可选的,所述图像识别模块202,具体用于:
对所述人物图像进行人脸识别,得到所述人体的视线方向。
可选的,所述控制模块203,具体用于:
当所述人体在所述人物图像中的尺寸小于预设尺寸阈值,且所述人体的视线方向垂直于所述穿衣镜时,控制所述平面镜和所述凸透镜之间的距离大于预设距离阈值。
可选的,所述控制模块203,具体用于:
当所述人体在所述人物图像中的尺寸大于预设尺寸阈值,且所述人体的视线方向与所述穿衣镜之间的夹角小于预设角度阈值时,控制所述平面镜和所述凸透镜之间的距离小于预设距离阈值。
本发明实施例中,图像采集模块201通过摄像装置采集人物图像,所述摄像装置集成在穿衣镜中,所述穿衣镜包括平面镜和凸透镜;图像识别模块202 对所述人物图像进行识别,得到所述人物图像所包含人体的人体参数;控制模块203根据所述人体参数,对所述穿衣镜中的平面镜和/或凸透镜进行控制,可自动控制穿衣镜,实现了穿衣镜功能的多样化。
参见图3,图3是本发明实施例提供的一种微服务器的结构图。如图3所示,微服务器包括:处理器301、存储器302、网络接口304和用户接口303。微服务器中的各个组件通过总线系统305耦合在一起。总线系统305除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图3中将各种总线都标为总线系统305。
其中,用户接口303可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(track ball)、触感板或者触摸屏等。
可以理解,本发明实施例中的存储器302可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本文描述的系统和方法的存储器302旨在包括但不限于这些和任意其它适合类型的存储器。
在一些实施方式中,存储器302存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统3021和应用程序3022。
其中,操作系统3021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序3022, 包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序3022中。
在本发明实施例中,通过调用存储器302存储的程序或指令,具体的,可以是应用程序3022中存储的程序或指令,处理器301用于:
通过摄像装置采集人物图像,所述摄像装置集成在穿衣镜中,所述穿衣镜包括平面镜和凸透镜;
对所述人物图像进行识别,得到所述人物图像所包含人体的人体参数;
根据所述人体参数,对所述穿衣镜中的平面镜和/或凸透镜进行控制。
可选的,所述处理器301对所述人物图像进行识别,得到所述人物图像所包含人体的人体参数,包括:
对所述人物图像进行识别,得到所述人体在所述人物图像中的尺寸。
可选的,所述处理器301对所述人物图像进行识别,得到所述人物图像所包含人体的人体参数,包括:
对所述人物图像进行人脸识别,得到所述人体的视线方向。
可选的,所述处理器301根据所述人体参数,对所述穿衣镜中的平面镜和/或凸透镜进行控制,包括:
当所述人体在所述人物图像中的尺寸小于预设尺寸阈值,且所述人体的视线方向垂直于所述穿衣镜时,=控制所述平面镜和所述凸透镜之间的距离大于预设距离阈值。
可选的,所述处理器301根据所述人体参数,对所述穿衣镜中的平面镜和/或凸透镜进行控制,包括:
当所述人体在所述人物图像中的尺寸大于预设尺寸阈值,且所述人体的视线方向与所述穿衣镜之间的夹角小于预设角度阈值时,控制所述平面镜和所述凸透镜之间的距离小于预设距离阈值。
上述本发明实施例揭示的方法可以应用于处理器301中,或者由处理器301实现。处理器301可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器301中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器301可以是通用处理器、数字信号处理 器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器302,处理器301读取存储器302中的信息,结合其硬件完成上述方法的步骤。
可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。
对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。
请参见图4,为本发明实施例提供的穿衣镜控制系统的示意性框图。本实施例中所描述的系统,具体的,如图4所示,本发明实施例的所述系统至少包括微服务器401和穿衣镜402,其中:
微服务器401通过摄像装置采集人物图像,所述摄像装置集成在穿衣镜402中,所述穿衣镜402包括平面镜和凸透镜;
所述微服务器401对所述人物图像进行识别,得到所述人物图像所包含人体的人体参数;
所述微服务器401根据所述人体参数,对所述穿衣镜402中的平面镜和/ 或凸透镜进行控制。
可选的,所述微服务器401对所述人物图像进行识别,得到所述人物图像所包含人体的人体参数,包括:
所述微服务器401对所述人物图像进行识别,得到所述人体在所述人物图像中的尺寸。
可选的,所述微服务器401对所述人物图像进行识别,得到所述人物图像所包含人体的人体参数,包括:
所述微服务器401对所述人物图像进行人脸识别,得到所述人体的视线方向。
可选的,所述微服务器401根据所述人体参数,对所述穿衣镜402中的平面镜和/或凸透镜进行控制,包括:
当所述人体在所述人物图像中的尺寸小于预设尺寸阈值,且所述人体的视线方向垂直于所述穿衣镜时,所述微服务器401控制所述平面镜和所述凸透镜之间的距离大于预设距离阈值。
可选的,所述微服务器401根据所述人体参数,对所述穿衣镜402中的平面镜和/或凸透镜进行控制,包括:
当所述人体在所述人物图像中的尺寸大于预设尺寸阈值,且所述人体的视线方向与所述穿衣镜之间的夹角小于预设角度阈值时,所述微服务器401控制所述平面镜和所述凸透镜之间的距离小于预设距离阈值。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如, 所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。

Claims (10)

  1. 一种穿衣镜控制方法,其特征在于,所述方法包括:
    微服务器通过摄像装置采集人物图像,所述摄像装置集成在穿衣镜中,所述穿衣镜包括平面镜和凸透镜;
    所述微服务器对所述人物图像进行识别,得到所述人物图像所包含人体的人体参数;
    所述微服务器根据所述人体参数,对所述穿衣镜中的平面镜和/或凸透镜进行控制。
  2. 根据权利要求1所述的方法,其特征在于,所述微服务器对所述人物图像进行识别,得到所述人物图像所包含人体的人体参数,包括:
    所述微服务器对所述人物图像进行识别,得到所述人体在所述人物图像中的尺寸。
  3. 根据权利要求1所述的方法,其特征在于,所述微服务器对所述人物图像进行识别,得到所述人物图像所包含人体的人体参数,包括:
    所述微服务器对所述人物图像进行人脸识别,得到所述人体的视线方向。
  4. 根据权利要求1所述的方法,其特征在于,所述微服务器根据所述人体参数,对所述穿衣镜中的平面镜和/或凸透镜进行控制,包括:
    当所述人体在所述人物图像中的尺寸小于预设尺寸阈值,且所述人体的视线方向垂直于所述穿衣镜时,所述微服务器控制所述平面镜和所述凸透镜之间的距离大于预设距离阈值。
  5. 根据权利要求1所述的方法,其特征在于,所述微服务器根据所述人体参数,对所述穿衣镜中的平面镜和/或凸透镜进行控制,包括:
    当所述人体在所述人物图像中的尺寸大于预设尺寸阈值,且所述人体的视线方向与所述穿衣镜之间的夹角小于预设角度阈值时,所述微服务器控制所述平面镜和所述凸透镜之间的距离小于预设距离阈值。
  6. 一种穿衣镜控制装置,其特征在于,所述装置包括:
    图像采集模块,用于通过摄像装置采集人物图像,所述摄像装置集成在穿衣镜中,所述穿衣镜包括平面镜和凸透镜;
    图像识别模块,用于对所述人物图像进行识别,得到所述人物图像所包含人体的人体参数;
    控制模块,用于根据所述人体参数,对所述穿衣镜中的平面镜和/或凸透镜进行控制。
  7. 根据权利要求6所述的装置,其特征在于,所述图像识别模块,具体用于:
    对所述人物图像进行识别,得到所述人体在所述人物图像中的尺寸。
  8. 根据权利要求6所述的装置,其特征在于,所述图像识别模块,具体用于:
    对所述人物图像进行人脸识别,得到所述人体的视线方向。
  9. 根据权利要求6所述的装置,其特征在于,所述控制模块,具体用于:
    当所述人体在所述人物图像中的尺寸小于预设尺寸阈值,且所述人体的视线方向垂直于所述穿衣镜时,控制所述平面镜和所述凸透镜之间的距离大于预设距离阈值。
  10. 根据权利要求6所述的装置,其特征在于,所述控制模块,具体用于:
    当所述人体在所述人物图像中的尺寸大于预设尺寸阈值,且所述人体的视线方向与所述穿衣镜之间的夹角小于预设角度阈值时,控制所述平面镜和所述凸透镜之间的距离小于预设距离阈值。
PCT/CN2017/097931 2017-08-17 2017-08-17 穿衣镜控制方法及装置 WO2019033364A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/097931 WO2019033364A1 (zh) 2017-08-17 2017-08-17 穿衣镜控制方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/097931 WO2019033364A1 (zh) 2017-08-17 2017-08-17 穿衣镜控制方法及装置

Publications (1)

Publication Number Publication Date
WO2019033364A1 true WO2019033364A1 (zh) 2019-02-21

Family

ID=65362680

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/097931 WO2019033364A1 (zh) 2017-08-17 2017-08-17 穿衣镜控制方法及装置

Country Status (1)

Country Link
WO (1) WO2019033364A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1996030785A1 (es) * 1995-03-27 1996-10-03 Juan Sandoval Espinosa Espejo no inversor de la imagen
JP2005140931A (ja) * 2003-11-05 2005-06-02 Kazunori Tetsuo レンズ付き鏡
CN102197932A (zh) * 2010-03-26 2011-09-28 鸿富锦精密工业(深圳)有限公司 化妆镜调整系统、方法及具有该调整系统的化妆镜
CN102960987A (zh) * 2012-12-04 2013-03-13 北京邮电大学 基于半透半反和人眼识别的自拍镜子
CN103653989A (zh) * 2012-09-26 2014-03-26 溧水经济开发区南区开发有限公司 一种穿衣镜
CN203841277U (zh) * 2014-03-07 2014-09-24 中国矿业大学 可控前后移动并放大的镜子

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1996030785A1 (es) * 1995-03-27 1996-10-03 Juan Sandoval Espinosa Espejo no inversor de la imagen
JP2005140931A (ja) * 2003-11-05 2005-06-02 Kazunori Tetsuo レンズ付き鏡
CN102197932A (zh) * 2010-03-26 2011-09-28 鸿富锦精密工业(深圳)有限公司 化妆镜调整系统、方法及具有该调整系统的化妆镜
CN103653989A (zh) * 2012-09-26 2014-03-26 溧水经济开发区南区开发有限公司 一种穿衣镜
CN102960987A (zh) * 2012-12-04 2013-03-13 北京邮电大学 基于半透半反和人眼识别的自拍镜子
CN203841277U (zh) * 2014-03-07 2014-09-24 中国矿业大学 可控前后移动并放大的镜子

Similar Documents

Publication Publication Date Title
EP3326360B1 (en) Image capturing apparatus and method of operating the same
WO2018166399A1 (zh) 一种显示控制方法及移动终端
US20200201446A1 (en) Apparatus, method and recording medium for controlling user interface using input image
KR102173123B1 (ko) 전자장치에서 이미지 내의 특정 객체를 인식하기 위한 방법 및 장치
US10255690B2 (en) System and method to modify display of augmented reality content
US9049379B2 (en) Apparatus and method for recognizing image
WO2019001152A1 (zh) 拍照方法及移动终端
US10165201B2 (en) Image processing method and apparatus and terminal device to obtain a group photo including photographer
US20170061609A1 (en) Display apparatus and control method thereof
US20170153698A1 (en) Method and apparatus for providing a view window within a virtual reality scene
KR102636243B1 (ko) 이미지를 처리하기 위한 방법 및 그 전자 장치
CN111556242B (zh) 屏幕提供方法及支持该方法的电子装置
US9497376B2 (en) Discriminating visual recognition program for digital cameras
CN110457963B (zh) 显示控制方法、装置、移动终端及计算机可读存储介质
CN108874336B (zh) 一种信息处理方法及电子设备
KR102559407B1 (ko) 영상을 표시하기 위한 전자 장치 및 컴퓨터 판독 가능한 기록 매체
JP6528680B2 (ja) 表示装置、表示方法及び表示プログラム
US11010980B2 (en) Augmented interface distraction reduction
US20190356854A1 (en) Portable electronic device and image capturing method thereof
US20150015724A1 (en) Electronic device and method for controlling image capturing
Kumar et al. Google glasses impediments
WO2019033364A1 (zh) 穿衣镜控制方法及装置
US10389475B2 (en) Blocking the capture of photo and video content
JP7264675B2 (ja) 処理装置、およびプログラム
US10769755B1 (en) Dynamic contextual display of key images

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17922046

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 28.09.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17922046

Country of ref document: EP

Kind code of ref document: A1