CN112416206A - Display window adjusting method, device, electronic device and storage medium - Google Patents

Display window adjusting method, device, electronic device and storage medium Download PDF

Info

Publication number
CN112416206A
CN112416206A CN202011413493.3A CN202011413493A CN112416206A CN 112416206 A CN112416206 A CN 112416206A CN 202011413493 A CN202011413493 A CN 202011413493A CN 112416206 A CN112416206 A CN 112416206A
Authority
CN
China
Prior art keywords
target object
display window
scaling
adjusting
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202011413493.3A
Other languages
Chinese (zh)
Inventor
戴昌鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Hongcheng Opto Electronics Co Ltd
Original Assignee
Anhui Hongcheng Opto Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anhui Hongcheng Opto Electronics Co Ltd filed Critical Anhui Hongcheng Opto Electronics Co Ltd
Priority to CN202011413493.3A priority Critical patent/CN112416206A/en
Publication of CN112416206A publication Critical patent/CN112416206A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

One or more embodiments of the present specification provide a display window adjustment method, device, electronic device, and storage medium, including: acquiring characteristic information of a target object; determining the scaling of the display window according to the characteristic information; detecting the face orientation of the target object, and judging whether the target object meets a preset condition or not based on the face orientation; and if so, adjusting the display window according to the scaling. According to one or more embodiments of the present disclosure, a suitable screen scaling is determined according to specific feature information of a target object, and then whether scaling of a display window is required is determined based on a face orientation of the target object, so that different screen sizes can be intelligently adapted according to different target objects, and meanwhile, whether screen adjustment is required is intelligently determined according to the face orientation, so that repetitive operations of the target object are reduced, a process of adjusting the size of the display window when the target object uses a large screen is simplified, and use efficiency and user experience of the target object are improved.

Description

Display window adjusting method, device, electronic device and storage medium
Technical Field
One or more embodiments of the present disclosure relate to the field of image display technologies, and in particular, to a display window adjusting method, a display window adjusting apparatus, an electronic apparatus, and a storage medium.
Background
Currently, the size of a display window is adjusted by touch on an operating system such as a window, a linux, an android and the like, and the size of the window is manually adjusted by clicking a zoom-out button and a zoom-in button on the upper left corner or the upper right corner of the window by a user or manually dragging the edge of the window to set the size of the window.
However, when the screen is large, for example: when a large display whiteboard or a large electronic blackboard and the like need to operate an area in which a screen is not easy to operate, for example, the upper left corner or the upper right corner area, a reduction button needs to be manually clicked to reduce the screen, and after the operation is completed, the screen is restored to a full-screen mode to display contents, but the display window cannot be flexibly switched according to the height and the size of the screen of a user, so that the use of the user is very unfavorable, and the user experience is seriously influenced.
Disclosure of Invention
In view of this, one or more embodiments of the present disclosure are directed to a method, an apparatus, an electronic apparatus, and a storage medium for adjusting a display window, so as to solve the problem of how to flexibly adjust a display window when a large screen is used.
In view of the above objects, one or more embodiments of the present specification provide a display window adjusting method including:
acquiring characteristic information of a target object;
determining the scaling of a display window according to the characteristic information;
detecting the face orientation of the target object, and judging whether the target object meets a preset condition or not based on the face orientation;
and if so, adjusting the display window according to the scaling.
In some embodiments, the detecting a face orientation of the target object, and determining whether the target object satisfies a preset condition based on the face orientation, includes:
acquiring image information of the target object;
determining whether the face of the target object is oriented towards the display window based on the image information;
and if so, judging that the target object meets a preset condition.
In some embodiments, said adjusting said display window according to said scaling further comprises:
judging whether the distance from the target object to the display window is not greater than a preset threshold value or not;
and if so, executing the adjustment of the display window according to the scaling.
In some embodiments, the determining whether the target object meets a preset condition based on the face orientation further includes:
if not, displaying the display window in a full screen mode.
In some embodiments, before the obtaining the feature information of the target object, the method further includes:
when the target object is detected to enter a target area, acquiring a face image of the target object;
carrying out face recognition on the face image based on a preset image library, and determining whether the target object is a first set target;
and if so, executing the feature information of the target object.
In some embodiments, the determining whether the target object is a first set target further comprises:
if not, determining whether the target object is a second set target;
and if the target object is a second set target, displaying the display window in a full screen mode.
In some embodiments, after the adjusting the display window according to the scaling ratio, the method further includes:
and responding to a position operation instruction input by the target object, and adjusting the display position of the display window according to the position operation instruction.
In some embodiments, the adjusting the display position of the display window according to the position operation instruction includes:
determining a response point corresponding to the position operation instruction, and judging whether the distance from the response point to the display window is not less than a distance threshold value;
and if so, adjusting the display position to the position of the response point.
Based on the same concept, one or more embodiments of the present specification further provide a display window adjusting apparatus including:
the acquisition module is used for acquiring the characteristic information of the target object;
the calculation module is used for determining the scaling of the display window according to the characteristic information;
the judging module is used for detecting the face orientation of the target object and judging whether the target object meets a preset condition or not based on the face orientation;
and the execution module is used for adjusting the display window according to the scaling when the target object meets the preset condition.
Based on the same concept, one or more embodiments of the present specification further provide an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the method according to any one of the above when executing the program.
Based on the same concept, one or more embodiments of the present specification also provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to implement the method of any one of the above.
As can be seen from the above description, one or more embodiments of the present specification provide a display window adjusting method, including: acquiring characteristic information of a target object; determining the scaling of the display window according to the characteristic information; detecting the face orientation of the target object, and judging whether the target object meets a preset condition or not based on the face orientation; and if so, adjusting the display window according to the scaling. According to one or more embodiments of the present disclosure, a suitable screen scaling is determined according to specific feature information of a target object, and then whether scaling of a display window is required is determined based on a face orientation of the target object, so that different screen sizes can be intelligently adapted according to different target objects, and meanwhile, whether screen adjustment is required is intelligently determined according to the face orientation, so that repetitive operations of the target object are reduced, a process of adjusting the size of the display window when the target object uses a large screen is simplified, and use efficiency and user experience of the target object are improved.
Drawings
In order to more clearly illustrate one or more embodiments or prior art solutions of the present specification, the drawings that are needed in the description of the embodiments or prior art will be briefly described below, and it is obvious that the drawings in the following description are only one or more embodiments of the present specification, and that other drawings may be obtained by those skilled in the art without inventive effort from these drawings.
Fig. 1 is a schematic flowchart of a display window adjustment method according to one or more embodiments of the present disclosure;
fig. 2 is a schematic flowchart of a specific display window adjustment method according to one or more embodiments of the present disclosure;
fig. 3 is a schematic structural diagram of a display window adjusting apparatus according to one or more embodiments of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present specification more apparent, the present specification is further described in detail below with reference to the accompanying drawings in combination with specific embodiments.
It should be noted that technical terms or scientific terms used in the embodiments of the present specification should have a general meaning as understood by those having ordinary skill in the art to which the present disclosure belongs, unless otherwise defined. The use of "first," "second," and similar terms in this disclosure is not intended to indicate any order, quantity, or importance, but rather is used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that a element, article, or method step that precedes the word, and includes the element, article, or method step that follows the word, and equivalents thereof, does not exclude other elements, articles, or method steps. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
As described in the background section, in the prior art, it is troublesome to adjust the window again after the size of the window is set in the target object, and the user needs to go to the window again before adjusting the size of the window before performing the operation in the window adapted by the user. If a full screen or a small window is needed later, repeated operations back and forth are also needed.
However, when the screen size of the hardware device is particularly large, for example, 96-size or larger screen size, the window adjustment menu of the system is at the top, and the height of each user is different, which is not convenient enough to use, and it is very inconvenient not to automatically perform the small screen mode. When the target object (teacher) is adjusting the window into the small window mode, if the content in the window needs to be explained, the teacher needs to display the window in a full screen mode so as to be convenient for students to check, needs to click a full screen button at the upper end of the display window first and then explains, and then needs to click a reduction window to operate when the teacher needs to operate, and then clicks the full screen to display the explanation, so that the back-and-forth operation is more complicated.
In combination with the above actual situation, one or more embodiments of the present specification provide a display window adjustment scheme, where a suitable screen scaling is determined according to specific feature information of a target object, and then whether the display window needs to be scaled is determined based on a face orientation of the target object, so that different screen sizes can be intelligently adapted according to different target objects, and meanwhile, whether screen adjustment needs to be performed is intelligently determined according to the face orientation, thereby reducing repetitive operations of the target object, simplifying a process of adjusting the size of the display window when the target object uses a large screen, and improving use efficiency and user experience of the target object.
Referring to fig. 1, a schematic flow chart of a display window adjusting method according to an embodiment of the present disclosure specifically includes the following steps:
step 101, obtaining characteristic information of a target object.
The step aims to acquire characteristic information that a target object can be used as an adjusting parameter to adjust the display window, so that initial calculation and judgment parameters are provided for subsequent steps, and the characteristic information can be used for calculating the specific display window scaling and the like. The target object is generally a human object, and the feature information is information capable of reflecting the physical features of the target object, for example: height, body shape, gender, facial features, and the like.
In some application scenarios, the acquisition mode may be various, for example: capturing image information of a target object through an image capturing device (a camera and the like), and analyzing the image information to obtain height, gender, facial features and the like; or after the image information is identified to obtain the identity of the target object, calling corresponding characteristic information from the database; or after the identity of the target object is determined by using a scanning technology, corresponding characteristic information is called, and the like.
In a specific application scene, a classroom scene is taken as an example, intelligent large-screen equipment and 2 intelligent cameras are arranged in a classroom, 1 camera is arranged in front of the classroom, and 1 camera is arranged behind the classroom. When a target object (teacher) enters a classroom, the intelligent large-screen device identifies the face characteristic value of the target object and estimates the height (characteristic information acquisition) of the target object through the intelligent camera.
In addition, in some application scenarios, it may be determined whether the target object has an adjustment function for opening or not to open the display window, that is, whether the display window adjustment scheme is enabled or not, may be determined according to whether the personal setting of the target object is opened or not.
In addition, in some application scenarios, for example, a classroom scenario, it may be necessary to confirm the identity of the target object before determining whether to adjust the display window. Furthermore, before the obtaining the feature information of the target object, the method may further include: when the target object is detected to enter a target area, acquiring a face image of the target object; carrying out face recognition on the face image based on a preset image library, and determining whether the target object is a first set target; and if so, executing the feature information of the target object. The target area is a scene area such as a classroom in a specific application scene. The first set target is a target object which can be adjusted by a teacher and the like on the display window, in the target area, there are a target object which can perform actual operation on the display window and the like and can interact with the display window, and a target object which does not interact with the display window and only appears in the target area, and then the two users need to be distinguished, and which target object or objects are to be interacted is/are identified, namely the first set target; the second set target is identified which one or ones are only the target objects that will be present in the target area. For example, in a classroom scene, a teacher or the like is the first set target, and a student is the second set target. Of course, the first set target and the second set target may be set in advance, and it may be recognized that the target is not the target object that should appear in the target area, so that the target may be distinguished and the subsequent operations such as warning may be performed. Further, in order to be able to see the current lecture contents after the students enter the classroom. The determining whether the target object is a first set target may further include: if not, determining whether the target object is a second set target; and if the target object is a second set target, displaying the display window in a full screen mode.
And step 102, determining the scaling of the display window according to the characteristic information.
The step aims to determine a proper scaling ratio according to the characteristic information, so that when the display window is adjusted later, corresponding adjustment can be performed according to the scaling ratio. The scaling is obtained based on the specific characteristic information of the target object, so that the scaling can be more suitable for the view and the operation range of the target object, and the user experience is improved. The display window is a display frame for displaying the content required by the target object, and is generally displayed through a display device such as a display screen or a touch screen, so that the zoom ratio is a reduction ratio of the display window relative to a full-screen state or an enlargement ratio relative to a current window state, and the like.
In some application scenarios, the specific scaling of the display window may be determined by determining a corresponding scaling according to the height value in the feature information, for example, the height is 1.6 m to 1.7 m, the scaling is 60% of the current screen size (full screen size), the height is 1.7 m to 1.8 m, and the scaling is 70% of the current screen size; or determining the identity of the target object according to the facial features in the feature information, and then zooming the window according to the preset zooming proportion of the target object; or model calculation is carried out according to indexes such as height values, posture values and the like in the characteristic information, and a proper scaling ratio is calculated.
In a specific application scenario, taking the specific scene classroom scenario in step 101 as an example, the obtained window suitable for the teacher is intelligently scaled according to the height intelligent algorithm ratio identified in the camera (i.e. how large the size window is suitable for the user's operation is calculated). Namely, the height of the user is intelligently estimated through the intelligent camera, and the proportion value of the intelligent window is converted according to the height of the user. The conversion algorithm is as follows: 1.5 m below: the reduction ratio is 40% of the current screen size; 1.5 m to 1.6 m: the reduction ratio is 50% of the current screen size; 1.6 m to 1.7 m: the reduction ratio is 60% of the current screen size; 1.7 m to 1.8 m: the reduction ratio is 70% of the current screen size; 1.8 m-1.9: the reduction ratio is 80% of the current screen size; 1.9-2 m: the reduction ratio is 90% of the current screen size; 2.0 m or more: the reduction scale is 95% of the current screen size, and so on.
And 103, detecting the face orientation of the target object, and judging whether the target object meets a preset condition or not based on the face orientation.
The method comprises the steps of determining the face orientation of a target object, judging whether the face orientation meets the conditions or not, and further determining whether the display window needs to be adjusted or not. Therefore, whether the target object needs to operate the display window or not is judged by taking the face orientation as a reference, and the size of the display window can be intelligently switched in the subsequent steps. The mode of determining the face orientation can be judged through the pictures or videos acquired in real time, and different corresponding modes can be set for the target object face when the target object face is oriented in different directions. For example, the size of the display window may be adjusted in real time according to an included angle between the face orientation of the target object and the display window, or several face orientation states may be set in advance, so that the corresponding operation is performed when the face orientation conforms to one state. Finally, the preset condition can be to judge whether the human face faces to a specific area or forms a certain angle with a set target object, and the like; the method may also be a method of determining some other conditions (e.g., whether the distance from the target object to the display window satisfies the conditions, whether the target object makes a preset body instruction, whether the target object issues a voice instruction to adjust the window, etc.), and then performing a proportional display window adjustment, etc.
In some application scenarios, the detecting a face orientation of the target object, and determining whether the target object satisfies a preset condition based on the face orientation may include: acquiring image information of the target object; determining whether the face of the target object is oriented towards the display window based on the image information; and if so, judging that the target object meets a preset condition. In a specific application scene, the current face orientation of a target object can be obtained according to front and back intelligent cameras, so that whether the zoom mode or the full-screen mode is displayed at present is judged. Wherein the image information is an image capable of containing the target object. Determining whether the face of the target object faces the display window, shooting image information through a camera arranged on the display window, and judging whether the face characteristics of the target object in the image information are complete to determine whether the face of the target object faces the display window; the face orientation of the target object can also be determined by setting a plurality of cameras and judging which camera can capture all face images of the target object. Meanwhile, when the target object is judged not to meet the preset condition, the target object can view the content in all the display windows as much as possible. The determining whether the target object meets a preset condition based on the face orientation may further include: if not, displaying the display window in a full screen mode.
Then, in a specific application scenario, taking a classroom as an example, a display window of the classroom is generally displayed through a large electronic blackboard, and the large electronic blackboard replaces an original blackboard. When a target object teacher faces an electronic blackboard, generally, operations such as adjustment and modification of contents displayed in a display window are required, so that the display window may need to be adjusted to a size suitable for the target object teacher, and the target object teacher can conveniently adjust the contents; when the target teacher faces the student, the content displayed in the display window is generally explained, and then the student is required to be able to clearly see the content in the display window, so that the content in the display window may be required to be displayed in a full screen. Meanwhile, when the face of the target object teacher faces the display window but is too far away from the display window, the same is generally used for explaining the content displayed in the display window. Furthermore, after determining whether the face of the target object faces the display window, in some application scenarios, further distance judgment can be performed to determine whether the target user needs to adjust the display window, and whether the target object can conveniently check the content in the whole display window can be judged according to the distance from the target object to the display window, so that the adjustment of the display window can be performed only when the target object approaches the display window, and the user experience is further improved. That is, the adjusting the display window according to the scaling ratio may further include: judging whether the distance from the target object to the display window is not greater than a preset threshold value or not; and if so, executing the adjustment of the display window according to the scaling.
Wherein, the distance from the target object to the display window may be the distance from the target object to the display device for displaying the display window (distance from the center of the display device, distance from a certain corner of the display device, or the like); or the distance from the target object to a specific position of the display window; it is also possible to take the distance of the target object to the camera above the display window as the distance of the target object to the display window, and so on. Then, the distance detection mode can determine the coordinates of the two points to calculate the distance by establishing a coordinate system; or by means of radar scanning, by radar feedback of range information, etc. In a specific application scenario, taking the specific scenario in step 102 as an example, whether the zoom mode is to be automatically displayed at present is determined according to the distance between the target object and the camera acquired by the front and rear intelligent cameras. And obtaining a vertical distance value of the target object from the display window from the camera, and when the distance is less than 90cm, determining that the condition is met.
And 104, if so, adjusting the display window according to the scaling.
The method comprises the steps of carrying out zoom adjustment on a display window according to a determined zoom scale when conditions are met, so that a target object can adjust the content and the like in the display window based on the adjusted display window, the target object can conveniently check the content in the display window, the repeated operation of the target object is reduced, and the process of adjusting the size of the display window when the target object uses a large-scale screen is simplified. In some application scenarios, the adjustment may be a zoom-out adjustment or a zoom-in adjustment. The adjustment mode can be the whole expansion or reduction taking the center of the window as a datum point; the size of the whole window can be adjusted by only adjusting one or two edges of the window; a new display window may also be newly generated at a scaled scale, and so on.
In a specific application scenario, taking the specific scenario in step 103 as an example, when the condition is satisfied, the display window is automatically zoomed to a window scale and size at which the target object is convenient to operate, that is, the zoom scale size determined in step 102.
In addition, in some application scenarios, after the display window is adjusted, the content in the display window needs to be adjusted by a general target object, and a display device generally used for displaying the display window may be relatively large, such as an electronic blackboard, so that when the target object moves to the side of the display device, it may have a certain distance from the position of the display device where the display window is displayed, so that when the target object operates the display area in the display device, the display window may be directly moved. After the adjusting the display window according to the scaling ratio, the method may further include: and responding to a position operation instruction input by the target object, and adjusting the display position of the display window according to the position operation instruction. The target object input mode may be touch input, input using an input device (e.g., a mouse), and when the target object clicks a certain position in the display area, the display window is directly moved to the certain position. And then, when the click position of the target object is too close to the position of the current display window, the target object is shown to be closer to the display window, so that the display window does not need to be adjusted back and forth, and the user experience is influenced. Further, the adjusting the display position of the display window according to the position operation instruction may include: determining a response point corresponding to the position operation instruction, and judging whether the distance from the response point to the display window is not less than a distance threshold value; and if so, adjusting the display position to the position of the response point. And the response point is the point clicked by the target object input position operation instruction.
In a specific application scenario, as shown in fig. 2, a target object enters a face feature value through a cloud web end or a mobile phone client and sets whether to start an intelligent window intelligent adjustment function. When a target object teacher enters a classroom, a front camera installed at a large-screen device end and a rear camera installed at a rear wall respectively start detection of a human face. The front camera and the rear camera respectively analyze and identify the face data to detect whether the current target object is a teaching teacher. If yes, estimating the height value of the target object through the image shot by the camera, and calculating the scaling of the target object. If the front camera successfully identifies the face, the face of the target object faces towards the display window, and if the rear camera successfully identifies the face, the face of the target object faces away from the display window. And if the target object faces the display window, the front-facing camera identifies the target object and detects whether the distance between the target object and the camera is within 90cm, and if so, zooming the large-screen equipment according to the obtained zooming ratio. If not, the zooming operation is not carried out. If the face recognition of the rear camera is successful, the fact that the face of the target object faces back to the display window is indicated, the fact that the target object carries out content explanation is indicated, and automatic full-screen operation is carried out on the large-screen device. And finally, if the target object is set not to perform the intelligent window adjusting function, the detection is not performed and the intelligent zooming operation is not performed.
A display window adjusting method provided by applying one or more embodiments of the present specification includes: acquiring characteristic information of a target object; determining the scaling of a display window according to the characteristic information; detecting the face orientation of the target object, and judging whether the target object meets a preset condition or not based on the face orientation; and if so, adjusting the display window according to the scaling. According to one or more embodiments of the present disclosure, a suitable screen scaling is determined according to specific feature information of a target object, and then whether scaling of a display window is required is determined based on a face orientation of the target object, so that different screen sizes can be intelligently adapted according to different target objects, and meanwhile, whether screen adjustment is required is intelligently determined according to the face orientation, so that repetitive operations of the target object are reduced, a process of adjusting the size of the display window when the target object uses a large screen is simplified, and use efficiency and user experience of the target object are improved.
It should be noted that the method of one or more embodiments of the present disclosure may be performed by a single device, such as a computer or server. The method of the embodiment can also be applied to a distributed scene and completed by the mutual cooperation of a plurality of devices. In such a distributed scenario, one of the devices may perform only one or more steps of the method of one or more embodiments of the present disclosure, and the devices may interact with each other to complete the method.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Based on the same inventive concept, one or more embodiments of the present specification further provide a display window adjusting apparatus, as shown in fig. 3, including:
an obtaining module 301, configured to obtain feature information of a target object;
a calculating module 302, configured to determine a scaling of the display window according to the feature information;
a judging module 303, configured to detect a face orientation of the target object, and judge whether the target object meets a preset condition based on the face orientation;
and the execution module 304 is configured to adjust the display window according to the scaling when the target object meets a preset condition.
As an optional embodiment, the determining module 303 may be specifically configured to:
acquiring image information of the target object;
determining whether the face of the target object is oriented towards the display window based on the image information;
and if so, judging that the target object meets a preset condition.
As an alternative embodiment, the executing module 304 may specifically be configured to:
judging whether the distance from the target object to the display window is not greater than a preset threshold value or not;
and if so, executing the adjustment of the display window according to the scaling.
As an optional embodiment, the determining module 303 may be further configured to:
if not, displaying the display window in a full screen mode.
As an optional embodiment, the obtaining module 301 may be further configured to:
when the target object is detected to enter a target area, acquiring a face image of the target object;
carrying out face recognition on the face image based on a preset image library, and determining whether the target object is a first set target;
and if so, executing the feature information of the target object.
As an optional embodiment, the obtaining module 301 may be further configured to:
if not, determining whether the target object is a second set target;
and if the target object is a second set target, displaying the display window in a full screen mode.
As an optional embodiment, the executing module 304 may be further specifically configured to:
and responding to a position operation instruction input by the target object, and adjusting the display position of the display window according to the position operation instruction.
As an alternative embodiment, the executing module 304 may specifically be configured to:
determining a response point corresponding to the position operation instruction, and judging whether the distance from the response point to the display window is not less than a distance threshold value;
and if so, adjusting the display position to the position of the response point.
For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, the functionality of the modules may be implemented in the same one or more software and/or hardware implementations in implementing one or more embodiments of the present description.
The device of the foregoing embodiment is used to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
One or more embodiments of the present specification further provide an electronic device based on the same inventive concept. The electronic device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the display window adjusting method according to any one of the above embodiments.
The electronic device of the foregoing embodiment is used to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, one or more embodiments of the present specification further provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to implement a display window adjusting method according to any one of the above embodiments.
Computer-readable media of the present embodiments, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the spirit of the present disclosure, features from the above embodiments or from different embodiments may also be combined, steps may be implemented in any order, and there are many other variations of different aspects of one or more embodiments of the present description as described above, which are not provided in detail for the sake of brevity.
In addition, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown in the provided figures, for simplicity of illustration and discussion, and so as not to obscure one or more embodiments of the disclosure. Further, devices may be shown in block diagram form in order to avoid obscuring the understanding of one or more embodiments of the present description, and this also takes into account the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the one or more embodiments of the present description are to be implemented (i.e., such specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the disclosure, it should be apparent to one skilled in the art that one or more embodiments of the disclosure can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative instead of restrictive.
While the present disclosure has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic ram (dram)) may use the discussed embodiments.
It is intended that the one or more embodiments of the present specification embrace all such alternatives, modifications and variations as fall within the broad scope of the appended claims. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of one or more embodiments of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (11)

1. A display window adjusting method is characterized by comprising the following steps:
acquiring characteristic information of a target object;
determining the scaling of a display window according to the characteristic information;
detecting the face orientation of the target object, and judging whether the target object meets a preset condition or not based on the face orientation;
and if so, adjusting the display window according to the scaling.
2. The method according to claim 1, wherein the detecting a face orientation of the target object, and the determining whether the target object satisfies a preset condition based on the face orientation comprises:
acquiring image information of the target object;
determining whether the face of the target object is oriented towards the display window based on the image information;
and if so, judging that the target object meets a preset condition.
3. The method of claim 1, wherein said adjusting said display window according to said scaling further comprises:
judging whether the distance from the target object to the display window is not greater than a preset threshold value or not;
and if so, executing the adjustment of the display window according to the scaling.
4. The method of claim 1, wherein the determining whether the target object meets a preset condition based on the face orientation further comprises:
if not, displaying the display window in a full screen mode.
5. The method according to claim 1, wherein before obtaining the feature information of the target object, the method further comprises:
when the target object is detected to enter a target area, acquiring a face image of the target object;
carrying out face recognition on the face image based on a preset image library, and determining whether the target object is a first set target;
and if so, executing the feature information of the target object.
6. The method of claim 5, wherein determining whether the target object is a first set target further comprises:
if not, determining whether the target object is a second set target;
and if the target object is a second set target, displaying the display window in a full screen mode.
7. The method of claim 1, wherein after adjusting the display window according to the scaling ratio, further comprising:
and responding to a position operation instruction input by the target object, and adjusting the display position of the display window according to the position operation instruction.
8. The method according to claim 7, wherein the adjusting the display position of the display window according to the position operation instruction comprises:
determining a response point corresponding to the position operation instruction, and judging whether the distance from the response point to the display window is not less than a distance threshold value;
and if so, adjusting the display position to the position of the response point.
9. A display window adjusting apparatus, comprising:
the acquisition module is used for acquiring the characteristic information of the target object;
the calculation module is used for determining the scaling of the display window according to the characteristic information;
the judging module is used for detecting the face orientation of the target object and judging whether the target object meets a preset condition or not based on the face orientation;
and the execution module is used for adjusting the display window according to the scaling when the target object meets the preset condition.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 8 when executing the program.
11. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to implement the method of any one of claims 1 to 8.
CN202011413493.3A 2020-12-04 2020-12-04 Display window adjusting method, device, electronic device and storage medium Withdrawn CN112416206A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011413493.3A CN112416206A (en) 2020-12-04 2020-12-04 Display window adjusting method, device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011413493.3A CN112416206A (en) 2020-12-04 2020-12-04 Display window adjusting method, device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN112416206A true CN112416206A (en) 2021-02-26

Family

ID=74774907

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011413493.3A Withdrawn CN112416206A (en) 2020-12-04 2020-12-04 Display window adjusting method, device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN112416206A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114546214A (en) * 2022-02-11 2022-05-27 深圳传音控股股份有限公司 Processing method, intelligent terminal and storage medium
CN114546204A (en) * 2022-04-21 2022-05-27 广东统信软件有限公司 Window management method, computing device and readable storage medium
CN114816186A (en) * 2022-05-09 2022-07-29 广州市易工品科技有限公司 Report setting method and device based on mobile terminal, electronic equipment and storage medium
WO2022228501A1 (en) * 2021-04-30 2022-11-03 荣耀终端有限公司 Terminal device and method for multi-window display
CN117950544A (en) * 2024-02-02 2024-04-30 广东保伦电子股份有限公司 Screen size adjusting method adaptive to user height and display screen

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022228501A1 (en) * 2021-04-30 2022-11-03 荣耀终端有限公司 Terminal device and method for multi-window display
CN114546214A (en) * 2022-02-11 2022-05-27 深圳传音控股股份有限公司 Processing method, intelligent terminal and storage medium
CN114546204A (en) * 2022-04-21 2022-05-27 广东统信软件有限公司 Window management method, computing device and readable storage medium
CN114816186A (en) * 2022-05-09 2022-07-29 广州市易工品科技有限公司 Report setting method and device based on mobile terminal, electronic equipment and storage medium
CN114816186B (en) * 2022-05-09 2024-05-17 广州市易工品科技有限公司 Report setting method and device based on mobile terminal, electronic equipment and storage medium
CN117950544A (en) * 2024-02-02 2024-04-30 广东保伦电子股份有限公司 Screen size adjusting method adaptive to user height and display screen

Similar Documents

Publication Publication Date Title
CN112416206A (en) Display window adjusting method, device, electronic device and storage medium
US11354825B2 (en) Method, apparatus for generating special effect based on face, and electronic device
WO2019134516A1 (en) Method and device for generating panoramic image, storage medium, and electronic apparatus
US9516214B2 (en) Information processing device and information processing method
TW201947451A (en) Interactive processing method, apparatus and processing device for vehicle loss assessment and client terminal
US9756261B2 (en) Method for synthesizing images and electronic device thereof
CN112329740B (en) Image processing method, image processing apparatus, storage medium, and electronic device
CN113286194A (en) Video processing method and device, electronic equipment and readable storage medium
TW201941110A (en) Qr code identifying and reading method and apparatus, and device
CN110959160A (en) Gesture recognition method, device and equipment
WO2020056903A1 (en) Information generating method and device
US10317777B2 (en) Automatic zooming method and apparatus
CN104049760B (en) The acquisition methods and system of a kind of man-machine interaction order
WO2014166127A1 (en) Image capturing method, apparatus, and electronic device
JP2012238293A (en) Input device
WO2024022349A1 (en) Image processing method and apparatus, and electronic device and storage medium
TWI676113B (en) Preview method and device in iris recognition process
CN113194253A (en) Shooting method and device for removing image reflection and electronic equipment
WO2019218622A1 (en) Element control method, apparatus, and device, and storage medium
CN112965602A (en) Gesture-based human-computer interaction method and device
WO2011096571A1 (en) Input device
KR20150039049A (en) Method and Apparatus For Providing A User Interface According to Size of Template Edit Frame
CN104125487A (en) Method and device for uploading image data
CN115657893A (en) Display control method, display control device and intelligent equipment
CN115993887A (en) Gesture interaction control method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20210226

WW01 Invention patent application withdrawn after publication