Image display device, method and storage medium

By obtaining object portrait information and camera parameters, the pixel ratio and position on the display interface are automatically adjusted, which solves the problem of incomplete display when the camera collects user facial data and achieves efficient and clear image display effects.

CN115904554BActive Publication Date: 2025-09-05HISENSE GRP HLDG CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110954585.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-19
Publication Date
2025-09-05
Estimated Expiration
2041-08-19

AI Technical Summary

Technical Problem

In the existing technology, when a camera collects user facial data, the user cannot display the entire face in a fixed, same area and needs to manually adjust the distance, resulting in low efficiency and unclear data.

Method used

By obtaining the object portrait information of the target object, determining its pixel ratio and display position in the display interface, automatically adjusting the display area to adapt to the height and age of different users, and using camera parameters to determine the recommended photo area to ensure clear images.

Benefits of technology

It achieves automatic adaptation of the display area without the need for manual adjustment by the user, ensuring that different users can comfortably see the complete image of the target area, improving image display efficiency and clarity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115904554B_ABST
    Figure CN115904554B_ABST
Patent Text Reader

Abstract

The present application relates to the field of artificial intelligence technology, and in particular to an image display device, method, and storage medium for improving image display effects, wherein the device includes: a display screen for displaying images on a display interface, and the display screen has a mirror function; a processor configured to: obtain object portrait information of a target object; determine the pixel ratio of a target part of the target object in the display interface according to the object portrait information, and determine the display position of the target part of the target object in the display interface according to the pixel ratio; and display the target part image of the target object on the display interface according to the display position. Since the present application is adapted to display target part images for different users, different users can comfortably see the target part images on the mirror, which can ensure that the image display efficiency is improved while fully displaying the user's target part image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to an image display device, method, and storage medium. Background Art

[0002] With the rapid development of artificial intelligence technology, smart mirrors are becoming increasingly popular as one of the smart display devices. In addition, smart mirrors can tailor personalized functions based on user characteristics. Generally, collecting user data through cameras, such as facial data, is the most common way to obtain user characteristics.

[0003] In related technologies, when cameras are used to capture user facial data, the camera's position is typically fixed. This can lead to different users' faces not being displayed in the same fixed area. To address this issue, the primary method employed is to manually adjust the distance between the user and the camera to display the entire facial area, with different users' facial images displayed in different areas.

[0004] In summary, in the related art, manual adjustment is required to fully display the image of the user-specified part. This method is inefficient and easily leads to unclear collected user data, affecting the detection effect. Summary of the Invention

[0005] Embodiments of the present application provide an image display device, method, and storage medium for improving image display efficiency while fully displaying images of user parts.

[0006] In a first aspect, an embodiment of the present application provides an image display device, the device comprising:

[0007] A display screen, used to display images on a display interface, wherein the display screen has a mirror function;

[0008] The processor is configured to:

[0009] Obtain object portrait information of the target object;

[0010] Determining a pixel ratio of a target part of the target object in a display interface according to the object portrait information, and determining a display position of the target part of the target object in the display interface according to the pixel ratio;

[0011] The target part image of the target object is displayed on the display interface according to the display position.

[0012] In some exemplary embodiments, the object portrait information includes height information and age information of the target object; and the processor is specifically configured to:

[0013] Determine, based on a preset correspondence, a target part ratio corresponding to the age range to which the age information belongs, wherein the preset correspondence is used to represent the target part ratio corresponding to different age ranges, and the target part ratio is used to represent the ratio of the height of the target part to the body height;

[0014] Determining the height of the target part of the target object according to the target part proportion and the height information;

[0015] The pixel ratio of the target part of the target object in the display interface is determined according to the resolution of the display interface and the height of the target part.

[0016] In some exemplary embodiments, the processor is specifically configured to:

[0017] Determining a mapping pixel value according to a resolution of the display interface, wherein the mapping pixel value represents the number of pixels displayed per unit height;

[0018] The product of the mapped pixel value and the height of the target part is used as the pixel ratio of the target part of the target object in the display interface.

[0019] In some exemplary embodiments, the processor is specifically configured to:

[0020] A display position of a target part of the target object in the display interface is determined according to the height information of the target object and the pixel ratio.

[0021] In some exemplary embodiments, the processor is specifically configured to:

[0022] Determine, based on the height information of the target object, a target part display area corresponding to the target object in the display interface; determine, based on the target part display area and the pixel ratio, a display position of the target part of the target object in the display interface; or

[0023] According to the height ratio corresponding to the target object and the pixel ratio, the display position of the target part of the target object in the display interface is determined, wherein the height ratio is determined based on the height information of the target object, and is the ratio of the height of the target object to the height of the display screen.

[0024] In some exemplary embodiments, the device further includes a camera for capturing an image of a target part of the target object to obtain an image of the target part:

[0025] The processor is further configured to:

[0026] A recommended photographing area is determined based on the parameters of the camera, wherein the parameters of the camera include at least: an installation height of the camera relative to the device and a field of view angle corresponding to the camera; the recommended photographing area is a photographing area that ensures that the image of the target part captured by the camera meets a preset standard.

[0027] In some exemplary embodiments, the camera parameters include: the height, field of view, and installation inclination of the camera in the device; and the processor is further configured to:

[0028] In some exemplary embodiments, if there are multiple target objects, the processor is further configured to:

[0029] Determining a maximum pixel ratio corresponding to the multiple target objects based on the pixel ratios corresponding to the multiple target objects;

[0030] Determining a display position of a target part of the corresponding target object in the display interface according to the maximum pixel ratio;

[0031] According to the display position, the target part image of the target object corresponding to the maximum pixel ratio is displayed on the display interface.

[0032] In a second aspect, an embodiment of the present application provides a facial image display method, the method comprising:

[0033] Obtain object portrait information of the target object;

[0034] Determining a pixel ratio of a target part of the target object in a display interface according to the object portrait information, and determining a display position of the target part of the target object in the display interface according to the pixel ratio;

[0035] The target part image of the target object is displayed on the display interface according to the display position.

[0036] In the above technical solution, by obtaining the target object's object portrait information, the pixel ratio of the target object's target part in the display interface can be determined, as well as the display position of the target object's target part in the display interface. Based on the display position, the target object's target part image can be displayed on the display interface. In this way, based on the user's object portrait information, the display area is adjusted for user personalization, and the target part image is displayed adaptively for different users, allowing different target objects to comfortably see the target part image on the mirror without the need for manual adjustment by the user. This ensures that the user's target part image is fully displayed while improving image display efficiency.

[0037] In some exemplary embodiments, the object portrait information includes height information and age information of the target object; and determining, based on the object portrait information, a pixel ratio of a target part area of ​​the target object in the display interface includes:

[0038] Determine the target part ratio corresponding to the age range to which the age information belongs according to a preset correspondence relationship, wherein the preset correspondence relationship is used to represent the target part ratio corresponding to different age ranges, and the target part ratio is used to represent the ratio of the target part height to the body height;

[0039] Determining the height of the target part of the target object according to the target part proportion and the height information;

[0040] The pixel ratio of the target part area of ​​the target object in the display interface is determined according to the resolution of the display interface and the height of the target part.

[0041] In the above technical solution, the age information of the target object is determined based on the object portrait information, and the target part ratio corresponding to the age range to which the age information belongs is determined based on the preset corresponding relationship. The target part height of the target object is determined based on the target part ratio and the height information. The pixel ratio of the target part area of ​​the target object in the display interface is determined based on the resolution of the display interface and the target part height, so that target objects of different heights can comfortably see the target part image on the mirror, which can ensure that the image display efficiency is improved while the user's target part image is fully displayed.

[0042] In some exemplary embodiments, determining the pixel ratio of the target part of the target object in the display interface according to the resolution of the display interface and the height of the target part includes:

[0043] Determining a mapping pixel value according to a resolution of the display interface, wherein the mapping pixel value represents the number of pixels displayed per unit height;

[0044] The product of the mapped pixel value and the height of the target part is used as the pixel ratio of the target part of the target object in the display interface.

[0045] In the above technical solution, the mapping pixel value is determined according to the resolution of the display interface, and the product of the mapping pixel value and the height of the target part is used as the pixel ratio of the target part of the target object in the display interface. It can adapt to display interfaces of different resolutions and can simply and quickly improve image display efficiency.

[0046] In some exemplary embodiments, determining a display position of a target portion of the target object in the display interface based on the pixel ratio includes:

[0047] A display position of a target part of the target object in the display interface is determined according to the height information of the target object and the pixel ratio.

[0048] In some exemplary embodiments, the display position of the target part of the target object in the display interface is obtained by:

[0049] Determine, based on the height information of the target object, a target part display area corresponding to the target object in the display interface; determine, based on the target part display area and the pixel ratio, a display position of the target part of the target object in the display interface; or

[0050] According to the height ratio corresponding to the target object and the pixel ratio, the display position of the target part of the target object in the display interface is determined, wherein the height ratio is determined based on the height information of the target object, and is the ratio of the height of the target object to the height of the display screen.

[0051] In the above technical solution, the display position of the target part of the target object in the display interface is determined based on the height information and pixel ratio of the target object. The target part display area corresponding to the target object in the display interface can be determined based on the height information of the target object; the display position of the target part of the target object in the display interface can be determined based on the target part display area and the pixel ratio; or the display position of the target part of the target object in the display interface can be determined based on the height ratio and pixel ratio corresponding to the target object, so that the target area image of the target object is displayed in different positions according to the height. Based on the above implementation, the target part image of the user's height can be adapted on the display interface, the display position can be automatically adjusted, and the image display efficiency can be improved.

[0052] In some exemplary embodiments, the method further comprises:

[0053] Capturing an image of a target part of the target object by a camera to obtain an image of the target part:

[0054] A recommended photographing area is determined based on the parameters of the camera, wherein the parameters of the camera include at least: an installation height of the camera relative to the device and a field of view angle corresponding to the camera; the recommended photographing area is a photographing area that ensures that the image of the target part captured by the camera meets a preset standard.

[0055] In the above technical solution, the target part of the target object is imaged by the camera to obtain an image of the target part, and the recommended photo area is determined according to the parameters of the camera, so that the image taken in the recommended photo area can capture the entire user's body and the image taken is clear.

[0056] In some exemplary embodiments, if there are multiple target objects, determining the display position of the target portion of the target object in the display interface according to the pixel ratio includes:

[0057] Determining a maximum pixel ratio corresponding to the multiple target objects based on the pixel ratios corresponding to the multiple target objects;

[0058] Determining a display position of a target part of the corresponding target object in the display interface according to the maximum pixel ratio;

[0059] The step of displaying the target part image of the target object on the display interface according to the display position includes:

[0060] According to the display position, the target part image of the target object corresponding to the maximum pixel ratio is displayed on the display interface.

[0061] In the above technical solution, when there are multiple target objects, the maximum pixel ratio corresponding to the multiple target objects is determined based on the pixel ratios corresponding to the multiple target objects, and the display position of the target part of the corresponding target object in the display interface is determined based on the maximum pixel ratio. According to the display position, the image of the target part of the target object corresponding to the maximum pixel ratio is displayed on the display interface, so that when there are multiple target objects, the target object with the largest pixel ratio can be displayed on the display interface.

[0062] In a third aspect, an embodiment of the present application provides an image display device, the device comprising:

[0063] A display screen, used to display images on a display interface, and the display screen has a mirror function;

[0064] The processor is configured to:

[0065] In response to a trigger request of a first object, displaying an image of a target part of the first object at a first display position in the display interface;

[0066] In response to a trigger request of a second object, a target part image of the second object is displayed at a second display position in the display interface, wherein the first object and the second object have different heights, and the first display position is different from the second display position.

[0067] In a fourth aspect, an embodiment of the present application provides an image display method, the method comprising:

[0068] In response to a trigger request of a first object, displaying an image of a target part of the first object at a first display position in the display interface;

[0069] In response to a trigger request of a second object, a target part image of the second object is displayed at a second display position in the display interface, wherein the first object and the second object have different heights, and the first display position is different from the second display position.

[0070] In the above technical solution, the display area can be adjusted according to the user's object portrait information, and the target part image can be adapted for different users, so that different target objects can comfortably see the target part image on the mirror without the need for manual adjustment by the user. This can ensure that the user's target part image is fully displayed while improving the image display efficiency.

[0071] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, which includes a program code. When the storage medium is run on an electronic device, the program code is used to enable the electronic device to execute the steps of the above-mentioned image display method.

[0072] The embodiments of the present application provide an image display device, method, and storage medium for improving image display effects. The embodiments of the present application determine the pixel ratio of the target part of the target object in the display interface by obtaining the object portrait information of the target object, and then determine the display position of the target part of the target object in the display interface based on the pixel ratio, and finally display the target part image of the target object on the display interface. Because the present application adapts the display of the target part image to different users, different users can comfortably see the target part image on the mirror, which can ensure that the user's target part image is fully displayed while improving image display efficiency.

[0073] Other features and advantages of the present application will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present application. The purposes and other advantages of the present application can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0075] Figure 1A hardware configuration block diagram of a smart mirror provided in some embodiments of the present application;

[0076] Figure 2 A software configuration block diagram of a smart mirror provided in some embodiments of the present application;

[0077] Figure 3A A schematic diagram of a smart mirror provided in some embodiments of the present application;

[0078] Figure 3B A schematic diagram of another smart mirror provided in some embodiments of the present application;

[0079] Figure 4A A schematic diagram of a first facial image display interface provided in some embodiments of the present application;

[0080] Figure 4B A schematic diagram of a second facial image display interface provided in some embodiments of the present application;

[0081] Figure 4C A schematic diagram of a third facial image display interface provided in some embodiments of the present application;

[0082] Figure 5A A schematic diagram of a display interface for a first type of body data measurement provided in some embodiments of the present application;

[0083] Figure 5B A schematic diagram of a display interface for a second type of body data measurement provided in some embodiments of the present application;

[0084] Figure 5C A schematic diagram of a display interface for a third type of body data measurement provided in some embodiments of the present application;

[0085] Figure 5D A schematic diagram of a display interface for a fourth type of body data measurement provided in some embodiments of the present application;

[0086] Figure 6 A schematic diagram of a recommended photo-taking area provided in some embodiments of the present application;

[0087] Figure 7 A flowchart of an image display method provided in some embodiments of the present application;

[0088] Figure 8 A flowchart of a facial image display method provided in some embodiments of the present application;

[0089] Figure 9 A specific flow chart of an image display method provided in some embodiments of the present application;

[0090] Figure 10An image display device provided in some embodiments of the present application;

[0091] Figure 11 A flowchart of another image display method provided in some embodiments of the present application;

[0092] Figure 12A A schematic diagram of display positions of an image display method provided in some embodiments of the present application;

[0093] Figure 12B A schematic diagram of display positions of another image display method provided in some embodiments of the present application;

[0094] Figure 13 Another image display device is provided in some embodiments of the present application. DETAILED DESCRIPTION

[0095] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of the technical solutions of this application, but not all of them. Based on the embodiments described in this application document, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the technical solutions of this application.

[0096] The following is an introduction to some concepts involved in the embodiments of this application.

[0097] 1. In the embodiments of the present application, the term "and / or" describes the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. The character "three" generally indicates that the associated objects are in an "or" relationship.

[0098] 2. The term "resolution" in the embodiments of this application refers to the number of pixels in the vertical and horizontal directions, which determines the fineness of detail in a bitmap image. Generally speaking, the higher the image resolution, the more pixels it contains, the clearer the image, and the better the print quality. At the same time, it also increases the storage space occupied by the file. The resolution in the embodiments of this application is the display resolution, which is the resolution of the display when displaying an image.

[0099] 3. The term "field of view angle" in the embodiments of the present application refers to the angle formed by the two edges of the maximum range of the image of the target object that can pass through the lens of the optical instrument, with the lens of the optical instrument as the vertex. The size of the field of view angle determines the field of view of the optical instrument. The larger the field of view angle, the larger the field of view and the smaller the optical magnification. In layman's terms, the target object will not be included in the lens if it exceeds this angle. The vertical field of view angle in the embodiments of the present application is the field of view of the optical instrument in the vertical direction, such as the field of view of the camera in the present application in the vertical direction.

[0100] The following is a brief introduction to the design concept of the embodiment of this application:

[0101] With the rapid development of artificial intelligence technology, smart mirrors are becoming more and more popular as one of the smart display devices. In addition, smart mirrors can customize personalized functions based on user characteristics. Generally, collecting user facial data through cameras is the most common way to obtain user characteristics.

[0102] In related technologies, when cameras are used to collect user facial data, different users have different ages and heights, and the camera is generally fixed in position. This can lead to the problem of users of different heights not being able to display their entire faces within the same fixed area when using the camera for facial image capture. To address this issue, the main method is to manually adjust the distance between the user and the camera to display the entire facial area. However, this method prevents users of different heights from displaying their entire facial images within the fixed display area, affecting detection effectiveness.

[0103] In view of the above problems, the embodiments of the present application propose an image display device, method, and storage medium. In particular, the embodiments of the present application determine the pixel ratio of the target part of the target object in the display interface by obtaining the object portrait information of the target object, and then determine the display position of the target part of the target object in the display interface based on the pixel ratio. Finally, the target part image of the target object is displayed on the display interface. This method adapts the display of the target part image to different users, so that different users can comfortably see the target part image on the mirror, which can ensure that the user's target part image is fully displayed while improving image display efficiency.

[0104] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application and are not used to limit the present application. In addition, the embodiments and features in the embodiments of the present application can be combined with each other if there is no conflict.

[0105] The following describes the embodiments of the present application in detail by taking a smart mirror as an example of an image display device.

[0106] Figure 1 The following is an exemplary block diagram of the hardware configuration of an image display device provided by an embodiment of the present application. Figure 1 As shown, the smart mirror 100 includes a processor 110 , a detector 120 , a communication interface 130 , a display screen 140 , a user input / output interface 150 , a memory 160 , and a power supply 170 .

[0107] Processor 110 includes a CPU 111, RAM 112, ROM 113, a graphics processor 114, a communication interface 115, and a communication bus. RAM 112 and ROM 113, as well as CPU 111, graphics processor 114, and communication interface 115, are connected via a communication bus. Communication interface 115 may include a first interface 115-1 through an nth interface 115-n. These interfaces may also be network interfaces connected to external devices via a network.

[0108] ROM 113 is used to store various system startup instructions. For example, upon receiving a power-on signal, the smart mirror 100 starts up, and the CPU 111 executes the system startup instructions in ROM, copying the operating system stored in memory 160 to RAM 112 to start running the operating system. After the operating system is started, the CPU 111 copies various application programs from memory 160 to RAM 112, and then starts running the various application programs.

[0109] The graphics processor 114 is used to generate various graphical objects, such as icons, operation menus, and graphics displayed in response to user input commands. It includes an operator, which receives various interactive commands from the user, performs operations, and displays various objects based on display attributes. It also includes a renderer, which generates various objects based on the output of the operator and renders the results for display on the display screen 140.

[0110] The CPU processor 111 is configured to execute operating system and application instructions stored in the memory 160 and execute various applications, data, and content according to various interactive instructions received from external input, so as to ultimately display various graphic contents.

[0111] In some exemplary embodiments, the CPU processor 111 may include multiple processors. The multiple processors may include a main processor and multiple or one sub-processors. The main processor is used to perform certain operations of the smart mirror 100 in pre-power-on mode and / or display images in normal mode. The multiple or one sub-processors are used to perform certain operations in states such as standby mode.

[0112] The detector 120 is used by the smart mirror 100 to collect signals from the external environment or external interactions. The detector 120 includes an image collector 121, such as a camera, which can be used to collect external environmental scenes, as well as user facial images or user body data.

[0113] In some other exemplary embodiments, the detector 120 may further include a sound collector 122, such as a microphone, which can be used to receive the user's voice, including the voice signal of the user's control instructions for controlling the smart mirror 100, or collect environmental sounds for identifying the type of environmental scene.

[0114] In some other exemplary embodiments, the detector 120 may further include a weather collector 123, such as a temperature detector, for collecting current weather temperature, or collecting weather and climate attribute data such as the current season.

[0115] The communication interface 130 is a component for communicating with external devices or external servers according to various communication protocols. For example, the communication interface 130 can be a Wi-Fi module 131, a Bluetooth module 132, a wired Ethernet module 133, a USB 134, or other network communication protocol module or a near-field communication protocol module.

[0116] The smart mirror 100 can establish control signal and data signal transmission and reception with an external control device or content providing device through the communication interface 130 .

[0117] Display screen 140 includes a touchscreen display component for presenting images and a driver component for driving the image display. The displayed image content may be image content processed by processor 110, or may be various image content received from a network server via a network communication protocol, or various image content generated in response to a user's touch operation. The touchscreen display may be used.

[0118] In addition, the display screen 140 displays a user control UI interface generated in the smart mirror 100 and used to control the smart mirror 100 .

[0119] The user input / output interface 150 is used to receive the user's input signal and then send the received user's input signal to the processor 110, including the voice device (( Figure 1At least one of the other input interfaces (not shown in the figure, such as a microphone) can be used. For example, the user can implement the user command input function through voice, touch and other actions, and the input interface converts the received analog signal into a digital signal, and the digital signal into a corresponding command signal, and sends it to the processor 110. The user output interface outputs the user command received by the user input interface to the processor 110, or outputs the image processed by the processor 110. Here, the user output interface may include an LED interface and a display screen 140 for outputting images. For example, the user output interface receives the output signal processed by the processor 110, and displays the output signal in the form of an image on the display screen 140.

[0120] For example, the user inputs a user command through a touch screen or a voice device, the user input interface is based on the user input, and the display screen 140 responds to the user input through the processor 110.

[0121] In some embodiments, the user may input a user command through a graphical user interface (GUI) displayed on the display screen 140 , and the user input interface receives the user input command through the graphical user interface (GUI).

[0122] The processor 110 controls the operation of the smart mirror 100 and responds to user operations through various software control programs stored in the memory 160.

[0123] Memory 160 is used to store various operating programs, data, and applications that drive and control smart mirror 100. Memory 160 can store various control signal instructions input by the user. This includes storing various software modules used to drive smart mirror 100. For example, the various software modules stored in memory 160 include a basic module, a detection module, a display control module, and a communication module.

[0124] The basic module is a low-level software module used for signal communication between various hardware components in the smart mirror 100 and for sending processing and control signals to upper-level modules. The detection module is a management module used to collect various information from various detectors or user input interfaces, perform digital-to-analog conversion, and analyze and manage information. The display control module is a module used to control the display screen 140 to display image content, and can be used to play multimedia image content and UI interface information. The communication module is a module used for control and data communication with external devices.

[0125] At the same time, the memory 160 can also be used to store received external data and user data, images in various user interfaces, visual effect images, etc.

[0126] In addition, the memory 160 is specifically used to store the operating programs that drive the processor 110 in the smart mirror 100, as well as various applications built into the smart mirror 100, various applications downloaded by users from external devices, various graphical user interfaces associated with the applications, various objects associated with the graphical user interfaces, user data information, and various internal data supporting the applications. The memory 160 is also used to store system software such as the OS kernel, middleware, and applications, as well as drivers and related data for the display screen 140, communication interface 130, and input / output interface of the detector 120, or other user data.

[0127] The power supply 170 is used to provide power support for the startup and operation of various components in the smart mirror 100. This power supply can be in the form of a battery and related control circuits. Under user operation, the power supply 170 is input from an external power source to provide power support for the smart mirror 100. The power supply 170 can include a built-in power supply circuit installed inside the smart mirror 100, or it can be installed externally to the smart mirror 100 and provide a power interface for external power supply.

[0128] Figure 2 The following is an exemplary diagram showing a software configuration block diagram of an image display device provided by an embodiment of the present application. Figure 2 As shown, it may include an operating system 161 , an interface layout manager 162 , an event transmission system 163 , and an application 164 .

[0129] The operating system 161 includes execution software for handling various basic system services and performing hardware-related tasks, and acts as an intermediary for data processing between applications and hardware components, such as the Android operating system. In some embodiments, part of the operating system kernel may include a series of software to manage the hardware resources of the smart mirror 100 and provide services for other programs or software codes.

[0130] In some other embodiments, a portion of the operating system kernel may include one or more device drivers. A device driver can be a set of software code within the operating system that helps operate or control devices or hardware associated with the smart mirror. Drivers can include code to operate video, audio, and / or other multimedia components. Examples include touch screen displays, cameras, Flash, and WiFi.

[0131] The accessibility module 1611 is used to access or modify the application program to achieve accessibility of the application program and operability of its displayed content.

[0132] The communication module 1612 is used to connect to other peripheral devices via relevant communication interfaces and communication networks.

[0133] The user interface module 1613 is used to provide objects for displaying user interfaces so that each application can access them and realize user operability, such as the front-end interactive interface of a smart mirror.

[0134] The control application 1614 is used for controllable process management, including runtime applications, etc.

[0135] The event transmission system 163 can be implemented in the operating system 161 or in the application 164. In some embodiments, it is implemented in the operating system 161 on the one hand, and in the application 164 on the other hand, and is used to monitor various user input events and implement one or more sets of predefined operation handlers based on the recognition results of various events or sub-events in response to various event references.

[0136] The event monitoring module 1631 is used to monitor events or sub-events inputted by the user input interface. The event identification module 1632 is used to define various types of events inputted by the user input interface, identify various events or sub-events, and transmit them to the processor 110 for execution of one or more corresponding processing programs. For example, the processor 110 processes the corresponding events or sub-events according to the logic program and core algorithm stored in the smart mirror 100 and displays the processed results on the display screen 140.

[0137] Here, an event or sub-event refers to an input detected by one or more detectors in the smart mirror 100, such as various sub-events of user voice input or various sub-events input on a touch screen display.

[0138] The interface layout manager 162 directly or indirectly receives events or sub-events from each user input monitored by the event transmission system 163, and is used to update the layout of the user interface, including but not limited to the position of each control or sub-control in the interface, as well as the size or position of the container, hierarchy, and other various execution operations related to the interface layout.

[0139] Figure 3A The following is a schematic diagram of a smart mirror provided in an embodiment of the present application. The device includes a display screen 300, a camera 301, and a camera 302. The display screen can be used to display an interactive interface as shown in FIG4 or FIG5. The camera 301 is used to detect faces and heights and capture user facial images. It can be a 3D camera. The camera 302 is used to capture user body images and can be an RGB camera.

[0140] The following combination Figure 3BA smart mirror according to an embodiment of the present application is briefly described. The smart mirror is 180.62 cm tall and 65.32 cm wide. Its four corners are arcs with a radius of 1.11 cm. The display screen is 94.34 cm long and 55.35 cm wide. The cameras are fixed in position, with camera 1 located 170 cm above the ground and camera 2 located 90 cm above the ground.

[0141] It should be understood that Figure 3A or Figure 3B is only an example, and the display device may have more Figure 3A The more or less components shown in the figure can be combined with two or more components, or can have different component configurations. The various components shown in the figure can be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and / or application specific integrated circuits.

[0142] In an optional embodiment, a 3D camera can be used to capture an image of a target part of a target object to obtain an image of the target part. The target part can be a face (human face), face + neck, etc. The face is mainly used as an example for illustration. The specific acquisition process is as follows:

[0143] Figures 4A to 4C The following is a schematic diagram of the display interface of several facial images provided in the embodiment of the present application. Figure 4A As shown, first the smart mirror display interface shows "Please face the camera for facial capture", and after obtaining the user's portrait information through the 3D camera, it switches to Figure 4B The page shown in the figure, the smart mirror display interface shows "Face collection...", the smart mirror's internal processor calculates the display position of the user's face on the display interface, and switches to the following Figure 4C As shown in the page, the smart mirror display interface shows the user's facial image after height adaptation, and the display interface shows "Face collection completed". The user can choose "Confirm" to complete the facial collection, or choose "Retake" to continue facial collection until they are satisfied with the displayed facial image.

[0144] FIG5 exemplarily shows a schematic diagram of a display interface for body data measurement provided by an embodiment of the present application. After completing the facial image acquisition shown in FIG4 , the smart mirror can also provide body data measurement through the RGB camera, such as measurement of body data such as shoulder width, waist circumference, and hip circumference. Figure 5A First, the smart mirror display interface will show "Please face the mirror, stand in the circular area below, and wear light-colored clothes when collecting data". The circular area is the recommended photo area. After taking a photo of the front of the body with the RGB camera, it will switch to the following Figure 5BThe page shown in the figure shows "Please turn sideways" on the display interface. Take a photo of the side of your body. After taking the photo, switch to the Figure 5C The page shown in the figure shows "Model Generating" on the display interface. After the user's body data is generated by taking photos of the front and side of the body, the interface switches to the following Figure 5D The page shown shows the measured body data such as weight, height, shoulder width, etc. The user can click "Done" to end the measurement, or click "Measure with a ruler" to measure again.

[0145] In an optional embodiment, the processor is also used to determine a recommended photographing area based on the parameters of the camera, wherein the parameters of the camera include at least: the installation height of the camera relative to the device and the field of view angle corresponding to the camera; the recommended photographing area is a photographing area that makes the image of the target part captured by the camera meet the preset standards.

[0146] In the embodiment of the present application, the vertical field of view is mainly used as an example for illustration. The recommended license plate area is a region where the entire human body can be photographed, and the image taken is clear, for example Figure 6 As shown, the recommended photo-taking area is within 1.2-1.3 meters.

[0147] Figure 6 The following is a schematic diagram of a recommended photo area provided by an embodiment of the present application. When the camera is 170-190 cm from the ground and the vertical field of view is 120°, the recommended photo area is within 1.2-1.3 meters from the camera in the horizontal direction. When the camera is 170 cm from the ground, that is, the length of the dotted part of the right triangle formed is 170 cm, and the vertical field of view is 120°, according to the tangent function, the distance from the camera to the ground is the horizontal distance from the camera to the closest point where the entire human body can be photographed. times, the horizontal distance from the camera to the recommended photo area can be calculated as When the camera is 190 cm from the ground, that is, the length of the dotted part of the right triangle is 190 cm, and the vertical field of view is 120°. According to the tangent function, the distance from the camera to the ground is the horizontal distance from the camera to the recommended shooting area. times, we can calculate the horizontal distance from the camera to the closest point that can capture the entire human body: Therefore, the closest distance area for capturing the entire human body is within 0.98-1.1 meters from the camera in the horizontal direction. That is to say, if you want to capture the entire human body, you should stand within 0.98-1.1 meters. However, this is not the best position. Referring to the best position for portrait proportions, it is 1.2-1.3 meters. Therefore, the recommended shooting area is within 1.2-1.3 meters from the camera in the horizontal direction.

[0148] Figure 7The following is an exemplary flowchart of an image display method provided by an embodiment of the present application. The method can be applied to facial image display, and the method includes:

[0149] Step S701: Obtain object portrait information of the target object.

[0150] In an optional embodiment, the object portrait information includes at least the height information and age information of the target object, and the object portrait information of the target object is obtained by any of the following methods:

[0151] Detect the target object's height and age information through image recognition algorithms;

[0152] The user inputs height information and age information;

[0153] Get the user's height and age information stored in advance from the background.

[0154] Step S702: Determine the pixel ratio of the target part of the target object in the display interface according to the object portrait information, and determine the display position of the target part of the target object in the display interface according to the pixel ratio.

[0155] In an optional embodiment, the smart mirror can determine the target part ratio corresponding to the age range to which the age information belongs based on a preset correspondence, where the preset correspondence is used to represent the target part ratio corresponding to different age ranges, and the target part ratio is used to represent the ratio of the target part height to the body height. Based on the target part ratio and the body height information, the height of the target part of the target object is determined, and based on the resolution of the display interface and the target part height, the pixel ratio of the target part area of ​​the target object on the display interface is determined.

[0156] Specifically, the smart mirror determines the mapping pixel value based on the resolution of the display interface, where the mapping pixel value represents the number of pixels displayed per unit height; and the product of the mapping pixel value and the height of the target part is used as the pixel ratio of the target part of the target object in the display interface.

[0157] The ratio of a person's head to their height is age-related, and the relationship between them forms a preset correspondence. Generally speaking, the length of an adult's head is about 1 / 8 of their height (over 20 years old), 1 / 7 for young people aged 7-20, 1 / 6 for teenagers aged 13-16, 1 / 5 for teenagers aged 9-12, 1 / 4 for elementary school students aged 7-8, 1 / 3 for children aged 4-5, and 1 / 2 for infants.

[0158] Assume that a 25-year-old user, 160 cm tall, stands in the recommended photo area in front of the smart mirror provided in an embodiment of the present application. The user's facial information is first captured by the camera, and then analyzed using an image recognition algorithm to detect the user's height and age. Based on the preset correspondence, the head height of a 25-year-old adult accounts for approximately 1 / 8 of the height, so the user's head height can be calculated to be 20 cm. When the display interface resolution is 300 dpi (dots per inch), that is, 300 pixels are displayed per inch, after converting inches to centimeters, it can be determined that 118 pixels are displayed per centimeter. Multiplying the user's head height by the number of pixels displayed per centimeter, we can determine that the user's head accounts for 2360 pixels on the display interface.

[0159] In an optional embodiment, the display position of the target part of the target object in the display interface is determined based on the height information and pixel ratio of the target object. The display position of the target part of the target object in the display interface can be determined in the following two ways:

[0160] Method 1: Determine the target part display area corresponding to the target object in the display interface based on the height information of the target object; determine the display position of the target part of the target object in the display interface based on the target part display area and the pixel ratio;

[0161] Specifically, the user's height can be mapped to several intervals corresponding to the display interface. For example, the user's height can be divided into two intervals, 150-165 cm and 166-180 cm, and the display interface can be divided into two intervals, low and high. When the user's height falls within the 150-165 cm interval, the user's facial image is displayed in the lower half of the display interface. When the user's height falls within the 166-180 cm interval, the user's facial image is displayed in the upper half of the display interface. Furthermore, based on the pixel ratio of the user's face, the corresponding display position of the user's face in the upper / lower half is determined, wherein the center of the face is located at the center of the upper / lower half. Based on the pixel ratio of the face, the radius of the circular display area of ​​the face is determined to be half of the facial pixel ratio.

[0162] Method 2: Determine the display position of the target part of the target object in the display interface based on the height ratio and pixel ratio corresponding to the target object, where the height ratio is the ratio of the target object's height to the height of the display screen, which is determined based on the target object's height information.

[0163] Specifically, when the user's height is 160 cm and the height of the display screen is 80 cm, the corresponding height ratio of the user is 1 / 2, the display position of the user's facial image is that the center of the user's facial image is 40 cm from the display screen, and the radius of the facial circular display area is half of the facial pixel ratio.

[0164] Step S703: displaying the target part image of the target object on the display interface according to the display position.

[0165] Specifically, according to the display position determined in step 702, the user's facial image is displayed on the display interface, such as Figure 3B shown.

[0166] In an optional embodiment, the recommended photographing area is determined based on camera parameters, wherein the camera parameters include at least the camera's installation height relative to the device and the camera's corresponding field of view. The recommended photographing area is a photographing area where the image of the target part captured by the camera meets a preset standard.

[0167] Specifically, the recommended photo area is the position that can capture the entire body and is closest to the camera. When the camera is installed at a height of 1.7 meters relative to the device and the corresponding vertical field of view angle is 120°, it can be calculated that the recommended photo area at this time is 0.98 meters away from the camera; when the camera is installed at a height of 1.9 meters relative to the device and the corresponding vertical field of view angle is 120°, it can be calculated that the recommended photo area at this time is 1.1 meters away from the camera.

[0168] In an optional embodiment, when there are multiple target objects, the pixel ratio corresponding to each of the multiple target objects can be determined, and the maximum pixel ratio among the multiple target objects can be obtained by comparison. According to the maximum pixel ratio, the display position of the target part of the corresponding target object in the display interface is determined, and the target part image of the target object is displayed on the display interface.

[0169] Specifically, assuming that two users are standing in front of the smart mirror at the same time and the target part is the face, the object portrait information of each user is first obtained, and then the pixel ratio of each user is determined based on their respective object portrait information. The pixel ratios of the two users are compared, and the user with the larger pixel ratio is determined. The display position on the display interface is determined based on the pixel ratio of this user, and the facial image of this user is displayed on the display interface.

[0170] Figure 8 The flowchart of a facial image display method provided by an embodiment of the present application is exemplarily shown, comprising the following steps:

[0171] S801: The smart mirror obtains the height and age information input by the user;

[0172] S802: The smart mirror calculates the facial pixel ratio of the user based on the acquired height and age information;

[0173] S803: The smart mirror determines the display position of the user's face on the smart mirror display screen based on the facial pixel ratio;

[0174] S804: The smart mirror dynamically displays the facial image collected by the user when the user is in the recommended photo-taking area at the display position.

[0175] Figure 9 The following is a flowchart of an image display method provided by an embodiment of the present application, which includes the following steps:

[0176] S901: The smart mirror camera obtains the user's facial information, and then analyzes the collected facial information through an image recognition algorithm to detect the user's height and age information;

[0177] S902: The smart mirror determines the facial pixel ratio of the user based on the user's height information and age information;

[0178] S903: The smart mirror determines whether it is a single user's facial pixel ratio. If so, execute step S905; otherwise, execute step S904;

[0179] S904: The smart mirror determines the largest pixel proportion among the multiple pixel proportions;

[0180] S905: The smart mirror determines the display position of the user's face on the smart mirror display screen based on the facial pixel ratio;

[0181] S906: The smart mirror dynamically displays the facial image collected by the user when the user is in the recommended photo-taking area at the display position.

[0182] Figure 10 An image display device provided in an embodiment of the present application is exemplarily shown, and the device includes:

[0183] Acquisition unit 1001, used to obtain the user's object portrait information

[0184] Determining unit 1002, configured to determine a pixel ratio of the user's face in the display interface based on the object portrait information, and determine a display position of the user's face in the display interface based on the pixel ratio;

[0185] The display unit 1003 is used to display the user's facial image on the display interface according to the display position.

[0186] Optionally, the object portrait information includes height information and age information of the target object; the determining unit 1002 is specifically configured to:

[0187] Determine the target part ratio corresponding to the age range to which the age information belongs based on the preset correspondence relationship. The preset correspondence relationship is used to represent the target part ratio corresponding to different age ranges. The target part ratio is used to represent the ratio of the target part height to the body height.

[0188] Determine the height of the target part of the target object based on the target part proportion and height information;

[0189] The pixel ratio of the target part area of ​​the target object in the display interface is determined according to the resolution of the display interface and the height of the target part.

[0190] Optionally, the determining unit 1002 is specifically configured to:

[0191] Determining a mapping pixel value according to a resolution of the display interface, wherein the mapping pixel value represents the number of pixels displayed per unit height;

[0192] The product of the mapped pixel value and the height of the target part is used as the pixel ratio of the target part of the target object in the display interface.

[0193] Optionally, the determining unit 1002 is specifically configured to:

[0194] The display position of the target part of the target object in the display interface is determined based on the height information and pixel ratio of the target object.

[0195] Optionally, the determining unit 1002 is further configured to obtain a display position of a target part of the target object in the display interface by:

[0196] Determine the target part display area corresponding to the target object in the display interface according to the height information of the target object; determine the display position of the target part of the target object in the display interface according to the target part display area and the pixel ratio; or

[0197] The display position of the target part of the target object in the display interface is determined based on the height ratio and pixel ratio corresponding to the target object, wherein the height ratio is the ratio of the target object's height to the height of the display screen, which is determined based on the target object's height information.

[0198] Optionally, the device further comprises:

[0199] The camera unit 1004 is used to capture an image of a target part of a target object through a camera to obtain an image of the target part;

[0200] The recommendation unit 1005 is used to determine a recommended photographing area based on the parameters of the camera, wherein the parameters of the camera include at least: the installation height of the camera relative to the device and the field of view angle corresponding to the camera; the recommended photographing area is a photographing area that makes the image of the target part captured by the camera meet the preset standards.

[0201] Optionally, if there are multiple target objects, the determining unit 1002 is specifically configured to:

[0202] Determining a maximum pixel ratio corresponding to the multiple target objects based on the pixel ratios corresponding to the multiple target objects;

[0203] Determine the display position of the target part of the corresponding target object in the display interface according to the maximum pixel ratio;

[0204] The display unit 1003 is specifically used for:

[0205] According to the display position, the target part image of the target object corresponding to the maximum pixel ratio is displayed on the display interface.

[0206] It should be noted that, in addition to the image display devices, methods, and apparatuses listed above, the present application also provides another image display device, method, and apparatus.

[0207] Still based on image display devices Figure 3A Taking the smart mirror shown as an example, the display screen of the smart mirror in the embodiment of the present application is used to display images on the display interface, and the display screen has a mirror function.

[0208] When target objects of different heights use the display device, since the display screen has a height adaptation function, the display positions of the corresponding target part images are different for two target objects of different heights.

[0209] For example Figure 11 As shown, Figure 11 The following is a flowchart of an image display method provided by an embodiment of the present application, which can be applied to facial image display and includes the following steps:

[0210] S1101: In response to a trigger request of a first object, display an image of a target part of the first object at a first display position in a display interface;

[0211] The first display position may be determined based on the object portrait information of the first target object. For a specific determination method, please refer to the above embodiment.

[0212] like Figure 12A As shown, it is a display position diagram of an image display method provided in some embodiments of the present application. Figure 12AShown in FIG. 1 is a user with a height of 170 cm and the corresponding display position of the facial image when the facial image is collected.

[0213] S1102: In response to a trigger request of the second object, display an image of a target part of the second object at a second display position in the display interface.

[0214] The second display position may also be determined based on the object portrait information of the second target object. For a specific determination method, please refer to the above embodiment, and any repetitions will not be repeated. If the height information in the object portrait information of the first object and the second object is different, that is, if the heights of the first object and the second object are different, the first display position and the second display position will also be different.

[0215] like Figure 12B As shown, it is a display position diagram of another image display method provided in some embodiments of the present application. Figure 12B Shown in FIG. 1 is a user with a height of 160 cm and the corresponding display position of the facial image when the facial image is collected.

[0216] Combine Figure 12A and Figure 12B It can be seen that when an image display method provided in the present application is applied to a smart mirror, the facial images of users of different heights are displayed at different positions in the smart mirror. The facial image of a user with a taller height can be displayed at a higher position in the smart mirror, and the facial image of a user with a shorter height can be displayed at a lower position in the smart mirror.

[0217] In the above technical solution, the display area can be adjusted according to the user's object portrait information, and the target part image can be adapted for different users, so that different target objects can comfortably see the target part image on the mirror without the need for manual adjustment by the user. This can ensure that the user's target part image is fully displayed while improving the image display efficiency.

[0218] Based on the same inventive concept, an embodiment of the present application further provides an image display device. Figure 13 An image display device 1300 provided in an embodiment of the present application is exemplarily shown and may include:

[0219] A first responding unit 1301 is configured to display an image of a target part of the first object at a first display position in the display interface in response to a triggering request of the first object;

[0220] The second response unit 1302 is used to display the target part image of the second object at a second display position in the display interface in response to a trigger request of the second object, wherein the first object and the second object have different heights and the first display position is different from the second display position.

[0221] For the convenience of description, the above parts are divided into modules (or units) according to their functions and described separately. Of course, when implementing this application, the functions of each module (or unit) can be implemented in the same or multiple software or hardware.

[0222] Those skilled in the art will appreciate that various aspects of the present application can be implemented as systems, methods, or program products. Therefore, various aspects of the present application can be specifically implemented in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation that combines hardware and software aspects, which may be collectively referred to herein as a "circuit," "module," or "system."

[0223] In some possible implementations, the image display device according to the present application may include at least a processor and a memory. The memory stores program code, and when the program code is executed by the processor, the processor executes the steps of the image display method according to various exemplary embodiments of the present application described in this specification. For example, the processor may execute the following steps: Figure 7 or Figure 11 Follow the steps shown in .

[0224] In some possible implementations, various aspects of the image display method provided in the present application may also be implemented in the form of a program product, which includes program code. When the program product is run on a computer device, the program code is used to enable the computer device to execute the steps of the image display method according to various exemplary embodiments of the present application described above in this specification. For example, the computer device may execute the following steps: Figure 7 or Figure 11 Follow the steps shown in .

[0225] The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0226] The program product for image display of the embodiment of the present application may be a portable compact disc read-only memory (CD-ROM) and include program code, and can be run on a computing device. However, the program product of the present application is not limited thereto. In this document, a readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with a command execution system, device, or device.

[0227] A readable signal medium may include a data signal transmitted in baseband or as part of a carrier wave, which carries readable program code. Such a transmitted data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with a command execution system, apparatus, or device.

[0228] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0229] The program code for performing the operations of the present application can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, as a stand-alone software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0230] It should be noted that although several units or subunits of the device are mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, depending on the embodiment of the application, the features and functions of two or more units described above can be embodied in a single unit. Conversely, the features and functions of a single unit described above can be further divided and embodied by multiple units.

[0231] Furthermore, although the operations of the method of the present application are described in a particular order in the accompanying drawings, this does not require or imply that the operations must be performed in this particular order, or that all illustrated operations must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0232] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0233] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present application.

[0234] Obviously, those skilled in the art may make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.

Claims

1. An image display device, characterized in that: The device comprises: A display screen, used to display images on a display interface, wherein the display screen has a mirror function; The processor is configured to: Obtaining object portrait information of a target object; the object portrait information includes height information and age information of the target object; Determine, based on a preset correspondence, a target part ratio corresponding to the age range to which the age information belongs, wherein the preset correspondence is used to represent the target part ratio corresponding to different age ranges, and the target part ratio is used to represent the ratio of the height of the target part to the body height; Determining the height of the target part of the target object according to the target part proportion and the height information; Determining a pixel ratio of the target part of the target object in the display interface according to the resolution of the display interface and the height of the target part; determining a display position of a target part of the target object in the display interface according to the pixel ratio; The target part image of the target object is displayed on the display interface according to the display position.

2. The device according to claim 1, wherein The processor is specifically configured to: Determining a mapping pixel value according to a resolution of the display interface, wherein the mapping pixel value represents the number of pixels displayed per unit height; The product of the mapped pixel value and the height of the target part is used as the pixel ratio of the target part of the target object in the display interface.

3. The device according to claim 1, wherein The processor is specifically configured to: A display position of a target part of the target object in the display interface is determined according to the height information of the target object and the pixel ratio.

4. The device according to claim 3, characterized in that The processor is specifically configured to: Determine, based on the height information of the target object, a target part display area corresponding to the target object in the display interface; determine, based on the target part display area and the pixel ratio, a display position of the target part of the target object in the display interface; or According to the height ratio corresponding to the target object and the pixel ratio, the display position of the target part of the target object in the display interface is determined, wherein the height ratio is determined based on the height information of the target object, and is the ratio of the height of the target object to the height of the display screen.

5. The device according to claim 1, wherein The device further includes a camera for capturing an image of a target part of the target object to obtain an image of the target part: The processor is further configured to: A recommended photographing area is determined based on the parameters of the camera, wherein the parameters of the camera include at least: an installation height of the camera relative to the device and a field of view angle corresponding to the camera; the recommended photographing area is a photographing area that ensures that the image of the target part captured by the camera meets a preset standard.

6. The device according to any one of claims 1 to 5, characterized in that: If there are multiple target objects, the processor is further configured to: Determining a maximum pixel ratio corresponding to the multiple target objects based on the pixel ratios corresponding to the multiple target objects; Determining a display position of a target part of the corresponding target object in the display interface according to the maximum pixel ratio; According to the display position, the target part image of the target object corresponding to the maximum pixel ratio is displayed on the display interface.

7. An image display method, characterized in that: The method includes: Obtaining object portrait information of a target object; the object portrait information includes height information and age information of the target object; Determine, based on a preset correspondence, a target part ratio corresponding to the age range to which the age information belongs, wherein the preset correspondence is used to represent the target part ratio corresponding to different age ranges, and the target part ratio is used to represent the ratio of the height of the target part to the body height; Determining the height of the target part of the target object according to the target part proportion and the height information; Determining the pixel ratio of the target part of the target object in the display interface according to the resolution of the display interface and the height of the target part; determining a display position of a target part of the target object in the display interface according to the pixel ratio; The target part image of the target object is displayed on the display interface according to the display position.

8. An image display method, characterized in that: The method includes: In response to a trigger request of a first object, displaying an image of a target part of the first object at a first display position in the display interface; In response to a trigger request from a second object, displaying a target part image of the second object at a second display position in the display interface, wherein the first object and the second object have different heights, and the first display position and the second display position are different; Wherein, the first display position and the second display position are both determined according to the method according to claim 7.

9. An image display device, characterized in that: The device comprises: A display screen, used to display images on a display interface, wherein the display screen has a mirror function; The processor is configured to: In response to a trigger request of a first object, displaying an image of a target part of the first object at a first display position in the display interface; In response to a trigger request from a second object, displaying a target part image of the second object at a second display position in the display interface, wherein the first object and the second object have different heights, and the first display position and the second display position are different; Wherein, the first display position and the second display position are both determined according to the method according to claim 7.

Citation Information

Patent Citations

  • Image display method performed by device including switchable mirror and the device

    CN107003827A