Specific embodiment
The disclosure is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining that correlation is open, rather than the restriction to the disclosure.It also should be noted that in order to
Convenient for description, is illustrated only in attached drawing and disclose relevant part to related.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the disclosure can phase
Mutually combination.The disclosure is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows the method for displaying images that can apply embodiment of the disclosure or dress for displaying images
The exemplary system architecture 100 set.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105.
Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be with
Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out
Send message etc..Various telecommunication customer end applications, such as the application of shooting class, view can be installed on terminal device 101,102,103
The application of frequency broadcast message class, social platform software etc..
Terminal device 101,102,103 can be hardware, be also possible to software.When terminal device 101,102,103 is hard
When part, it can be the various electronic equipments with display screen.When terminal device 101,102,103 is software, may be mounted at
In above-mentioned electronic equipment.Its may be implemented into multiple softwares or software module (such as provide the software of Distributed Services or
Software module), single software or software module also may be implemented into.It is not specifically limited herein.
Server 105 can be to provide the server of various services, such as to 101,102,103 photographs of terminal device
Image or video provide the background server supported.Background server can receive the image or video of terminal device transmission, or
Person sends image or video to terminal device.
It should be noted that method for displaying images provided by embodiment of the disclosure is generally by terminal device
101, it 102,103 executes, correspondingly, device for displaying images is generally positioned in terminal device 101,102,103.
It should be noted that server can be hardware, it is also possible to software.When server is hardware, may be implemented
At the distributed server cluster that multiple servers form, individual server also may be implemented into.It, can when server is software
To be implemented as multiple softwares or software module (such as providing the software of Distributed Services or software module), also may be implemented
At single software or software module.It is not specifically limited herein.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need
It wants, can have any number of terminal device, network and server.It does not need in image to be amplified from long-range the case where obtaining
Under, above system framework can not include server and network.
With continued reference to Fig. 2, the process of one embodiment of the method for displaying images according to the disclosure is shown
200.The method for displaying images, comprising the following steps:
Step 201, the image to be amplified currently shown is obtained.
In the present embodiment, the executing subject (such as terminal device shown in FIG. 1) of method for displaying images can be with
Obtain the image to be amplified currently shown.Wherein, image to be amplified can be shows on the screen that above-mentioned executing subject includes
Image, be also possible to the image shown on other electronic equipments communicated to connect with above-mentioned executing subject.
As an example, above-mentioned executing subject can be smart phone, user can be used the smart phone and carry out self-timer.To
When enlarged drawing can be user's self-timer, the image that is currently shown on the screen of the smart phone.
Step 202, human body image is determined from image to be amplified.
In the present embodiment, above-mentioned executing subject can determine human body image from above-mentioned image to be amplified.Specifically, make
For example, above-mentioned executing subject can use existing human body image detection method, and human body image is determined from image to be amplified.
For example, existing target detection model inspection human body image can be used using human body image as detection target.Above-mentioned target inspection
Survey model can be based on existing target detection network (such as SSD (Single Shot MultiBox Detector),
DPM (Deformable Part Model) etc.) establish model.Target detection model can be from inputting in image therein, really
Set the goal the position of image (such as human body image).In general, target detection model can be with output coordinate information, which can
With the position for characterizing the human body image in image to be amplified.For example, coordinate information may include two for characterizing rectangle frame
Diagonal coordinate can determine a rectangular area by two diagonal coordinates in image to be amplified, the rectangular area institute
The image of covering is human body image.
In some optional implementations of the present embodiment, above-mentioned executing subject can be in accordance with the following steps to be amplified
Human body image is determined in image:
Firstly, treating enlarged drawing carries out skeleton critical point detection, skeleton key point information set is obtained.Its
In, skeleton key point information is used to indicate skeleton key point.Skeleton key point is the spy for characterizing human body
Determine the point at position, such as the point for characterizing the positions such as the crown, elbow joint, shoulder joint.Skeleton key point information can wrap
The coordinate in the coordinate system established on image to be amplified is included, which can be used for characterizing skeleton key point to be amplified
Position in image.
In the present embodiment, above-mentioned executing subject can be according to the method pair of existing various determining skeleton key points
Image to be amplified carries out skeleton critical point detection.For example, image to be amplified can be inputted instruction in advance by above-mentioned executing subject
Experienced convolutional neural networks (Convolutional Neural Networks, CNN), obtain skeleton key point information collection
It closes.Above-mentioned convolutional neural networks can be the convolutional neural networks of existing various structures, such as R-CNN (Region-CNN),
STN (Spatial Transform Networks, spatial alternation network) etc..It should be noted that above-mentioned skeleton is crucial
Point detecting method is the well-known technique studied and applied extensively at present, and details are not described herein.
Then, it is based on skeleton key point information set, determines human body image.Specifically, as an example, above-mentioned execution
Main body can be from image to be amplified, by the skeleton key point characterized respectively including each skeleton key point information
Image indicated by minimum rectangle is determined as human body image.
In some optional implementations of the present embodiment, above-mentioned executing subject can be believed based on skeleton key point
Breath set, determines for characterizing the image of upper half of human body as human body image.Specifically, as an example, each skeleton
Key point information has corresponding serial number, and serial number, which can be, is detecting skeleton key point information collection by above-mentioned executing subject
When conjunction, what the corresponding human body of skeleton key point indicated according to each skeleton key point information determined.Technology
Personnel can preset the serial number of the skeleton key point information for characterizing upper half of human body, and above-mentioned executing subject can be with
It will include the corresponding skeleton key point information of these serial numbers from image to be amplified according to pre-set serial number
Rectangular area (such as the region that minimum rectangle includes, or on the basis of minimum rectangle of indicated skeleton key point
The region that the upper amplification obtained rectangle of presupposition multiple includes) it is determined as human body image.For example, the human body of characterization upper half of human body
Bone key point information includes: the skeleton key message for being used to indicate the crown, the human body bone for being used to indicate two shoulder joint
Bone key message, the skeleton key message for being used to indicate two hip joints.Above-mentioned executing subject can be according to these human bodies
The serial number of bone key message determines to include human body bone indicated by the corresponding skeleton key point information of these serial numbers
The rectangular area of bone key point is as human body image.
Step 203, determine whether the size of human body image is less than pre-set dimension.
In the present embodiment, above-mentioned executing subject can determine whether the size of human body image is less than pre-set dimension.Wherein,
The size of image is usually characterized with pixel number, such as x × y, wherein x is horizontal pixel number, and y is longitudinal pixel number.It is above-mentioned pre-
If size can be preset fixed dimension;Alternatively, above-mentioned pre-set dimension can be the size according to preset ratio-dependent, example
Such as, it is assumed that for showing that the size at the interface of above-mentioned image to be amplified is m × n, preset ratio is 0.8, then pre-set dimension is
0.8m×0.8n.It should be noted that it is pre- can to determine that the size of human body image is less than when meeting at least one of following condition
If size: the horizontal pixel number of human body image is less than the horizontal pixel number of pre-set dimension, and longitudinal pixel number of human body image is less than
Longitudinal pixel number of pre-set dimension, the pixel number that the diagonal line of human body image includes are less than the diagonal of the rectangle of pre-set dimension characterization
The pixel number that line includes.It should be appreciated that above-mentioned condition is only exemplary, it can also include other conditions in practice.
Step 204, it is less than pre-set dimension in response to determining, treats enlarged drawing and amplify, so that human body image reaches
Target size.
In the present embodiment, above-mentioned executing subject can be less than pre-set dimension in response to determining the size of human body image, right
Image to be amplified amplifies, so that human body image reaches target size.
Wherein, target size can be equal to above-mentioned pre-set dimension, or the ruler determined based on default amplification factor
It is very little.Above-mentioned executing subject can amplify above-mentioned image to be amplified, so that human body image therein is amplified to target size.
It should be noted that, when meeting at least one of following condition, determining human body during treating enlarged drawing and amplifying
Image reaches target size: the horizontal pixel number of human body image and the horizontal pixel number of target size are identical, and human body image is indulged
Identical as longitudinal pixel number of target size to pixel number, the pixel number and target size that the diagonal line of human body image includes characterize
Rectangle the diagonal line pixel number that includes it is identical.It, can be in practice it should be appreciated that above-mentioned condition is only exemplary
Including other conditions.
In some optional implementations of the present embodiment, above-mentioned executing subject can in response to determination it is amplified to
The amplification factor of enlarged drawing reaches presupposition multiple, and the size of amplified human body image is less than pre-set dimension, determines human body
Image reaches target size.In general, maximum can be amplified to presupposition multiple when treating enlarged drawing and amplifying.For example, default
Multiple can be when shooting image, the maximum amplification of camera.When image to be amplified is amplified to presupposition multiple, if
Human body image is still less than above-mentioned pre-set dimension at this time, it is determined that human body image reaches target size, i.e., human body image at this time
Size is target size.By the way that presupposition multiple is arranged, it can reduce in the lesser situation of size of human body image, cause to put
The degree that the clarity of human body image after big reduces.
Step 205, mobile amplified image to be amplified, so that the display position of amplified human body image reaches target
Position.
In the present embodiment, above-mentioned executing subject can move amplified image to be amplified, so that amplified human body
The display position of image reaches target position.
Specifically, above-mentioned target position can be the position being set in advance in the interface for showing image to be amplified.
For example, target position can be a preset region in above-mentioned interface, above-mentioned executing subject can move it is amplified to
Enlarged drawing determines the display position of amplified human body image so that amplified human body image is in the region at this time
Reach target position.Alternatively, target position can be the whole region at above-mentioned interface, when amplified human body image is in the boundary
When in face, determine that the display position of amplified human body image reaches target position.It should be noted that when above-mentioned amplified
The all or part (such as half or other ratios of the area of amplified human body image) of human body image is in target position
When the region of instruction, it can determine that the display position of amplified human body image reaches target position.
With continued reference to the signal that Fig. 3, Fig. 3 are according to the application scenarios of the method for displaying images of the present embodiment
Figure.In the application scenarios of Fig. 3, terminal device 301 obtains the image to be amplified 302 currently shown on the screen first.Then,
Terminal device 301 determines human body image 303 from image 302 to be amplified.For example, terminal device 301 is by treating enlarged drawing
Skeleton critical point detection is carried out, the rectangular area including each skeleton key point is determined as human body image 303.Again
Then, terminal device 301 determine human body image 303 size be less than pre-set dimension (such as shape be rectangle human body image 303
Longitudinal pixel number be less than pre-set dimension longitudinal pixel number), treat enlarged drawing 302 and amplify (the dotted line frame in figure
304 be the sideline of amplified image to be amplified) so that human body image 303 reaches target size, wherein target size can be with
It is identical as pre-set dimension.Human body image 303 is amplified to the longitudinal direction that its longitudinal pixel number is equal to target size by terminal device 301
When pixel number, determine that amplified human body image reaches target size.Finally, the mobile amplified figure to be amplified of terminal device
Amplified human body image is moved to the center (i.e. target position) of screen by picture.
The method provided by the above embodiment of the disclosure, by obtaining the image to be amplified that currently shows, then to be amplified
Human body image is determined in image, if the size of human body image is less than pre-set dimension, is treated enlarged drawing and is amplified, to make one
Body image reaches target size, finally moves amplified image to be amplified, so that the display position of amplified human body image
Reach target position, so as to realize in the case where not follow shot equipment, human body image is made to be moved to screen in real time
On target position, automatically tracked so as to simulating lens, improve the flexibility that character image is shown.
With further reference to Fig. 4, it illustrates the processes 400 of another embodiment of method for displaying images.The use
In the process 400 of the method for display image, comprising the following steps:
Step 401, the image to be amplified currently shown is obtained.
In the present embodiment, step 401 and the step 201 in Fig. 2 corresponding embodiment are almost the same, and which is not described herein again.
Step 402, human body image is determined from image to be amplified.
In the present embodiment, step 402 and the step 202 in Fig. 2 corresponding embodiment are almost the same, and which is not described herein again.
Step 403, determine whether the size of human body image is less than pre-set dimension.
In the present embodiment, step 403 and the step 203 in Fig. 2 corresponding embodiment are almost the same, and which is not described herein again.
Step 404, it is less than pre-set dimension in response to determining, treats enlarged drawing and amplify, so that human body image reaches
Target size.
In the present embodiment, step 404 and the step 204 in Fig. 2 corresponding embodiment are almost the same, and which is not described herein again.
Step 405, human body central point is determined from amplified human body image.
In the present embodiment, the executing subject (such as terminal device shown in FIG. 1) of method for displaying images can be with
Human body central point is determined from amplified human body image.Specifically, the shape of human body image can be rectangle, in the rectangle
Heart point can be determined that human body central point.
It optionally, can be according to pre- when human body image is determined according to skeleton key point information set
First skeleton key point indicated by specified skeleton key point information, determines human body central point.For example, people will be characterized
The midpoint of the line of the skeleton key point of the shoulder joint of body is determined as human body central point.Alternatively, two shoulder joint will be characterized
It is determined as human body central point with cornerwise intersection point of the quadrangle of two hip joints composition.
Step 406, mobile image to be amplified, so that human body central point is to the interface for showing the interface of image to be amplified
Central point is mobile.
In the present embodiment, above-mentioned executing subject can move image to be amplified, so that human body central point is to for showing
The interface central point at the interface of image to be amplified is mobile.Wherein, above-mentioned interface is generally rectangular in shape, the central point of the rectangle
As interface central point.
Step 407, in response to determining that human body central point is overlapped with interface central point, the aobvious of amplified human body image is determined
Show that position reaches target position.
In the present embodiment, above-mentioned executing subject can be in response to determining that human body central point is overlapped with interface central point, really
The display position of fixed amplified human body image reaches target position.Specifically, when above-mentioned human body central point and interface central point
The distance between be less than or equal to preset distance threshold when, determine that human body central point is overlapped with interface central point, at this time amplification after
The display position of human body image reach target position so that amplified human body image occupy the center at above-mentioned interface.
In some optional implementations of the present embodiment, after step 407, above-mentioned executing subject can also be responded
It is overlapped in the sideline for determining amplified image to be amplified with the sideline at interface, determines the display position of amplified human body image
Reach target position.Specifically, amplified wait put when the sideline of amplified image to be amplified is overlapped with the sideline at interface
Big image can not be further continued for moving, at this point, determining that the display position of amplified human body image reaches target position.
Figure 4, it is seen that the method for displaying images compared with the corresponding embodiment of Fig. 2, in the present embodiment
Process 400 highlight according to human body central point, by amplified human body image to the interface for being used to show image to be amplified
The mobile step in center.The scheme of the present embodiment description can make amplified human body image in above-mentioned interface as a result,
The heart is shown, so that more accurately simulating lens automatically track, further increases the flexibility that character image is shown.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, present disclose provides one kind for showing figure
One embodiment of the device of picture, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which can specifically answer
For in various electronic equipments.
As shown in figure 5, the device for displaying images 500 of the present embodiment includes: acquiring unit 501, it is configured to obtain
Take the image to be amplified currently shown;First determination unit 502 is configured to determine human body image from image to be amplified;The
Whether two determination units 503, the size for being configured to determine human body image are less than pre-set dimension;Amplifying unit 504, is configured to
It is less than pre-set dimension in response to determining, treats enlarged drawing and amplify, so that human body image reaches target size;Mobile unit
505, it is configured to move amplified image to be amplified, so that the display position of amplified human body image reaches target position
It sets.
In the present embodiment, the available image to be amplified currently shown of acquiring unit 501.Wherein, image to be amplified
Can be the image shown on the screen that above-mentioned apparatus 500 includes, be also possible to communicate to connect with above-mentioned apparatus 500 its
The image that he shows on electronic equipment.
In the present embodiment, the first determination unit 502 can determine human body image from above-mentioned image to be amplified.Specifically
Ground, as an example, above-mentioned first determination unit 502 can use existing human body image detection method, from image to be amplified
Determine human body image.For example, existing target detection model inspection human figure can be used using human body image as detection target
Picture.Above-mentioned target detection model can be based on existing target detection network (such as SSD (Single Shot MultiBox
Detector), DPM (Deformable Part Model) etc.) establish model.Target detection model can be from input wherein
Image in, determine the position of target image (such as human body image).In general, target detection model can with output coordinate information,
The coordinate information can be used for characterizing the position of the human body image in image to be amplified.For example, coordinate information may include characterization
Two diagonal coordinates of rectangle frame can determine a rectangular area by two diagonal coordinates in image to be amplified,
The image that the rectangular area is covered is human body image.
In the present embodiment, the second determination unit 503 can determine whether the size of human body image is less than pre-set dimension.Its
In, the size of image is usually characterized with pixel number, such as x × y, wherein x is horizontal pixel number, and y is longitudinal pixel number.It is above-mentioned
Pre-set dimension can be preset fixed dimension;Alternatively, above-mentioned pre-set dimension can be the size according to preset ratio-dependent,
For example, it is assumed that the size at the interface for showing above-mentioned image to be amplified is m × n, preset ratio is 0.8, then pre-set dimension
For 0.8m × 0.8n.It should be noted that can determine that the size of human body image is less than when meeting at least one of following condition
Pre-set dimension: the horizontal pixel number of human body image is less than the horizontal pixel number of pre-set dimension, and longitudinal pixel number of human body image is small
In longitudinal pixel number of pre-set dimension, the pixel number that the diagonal line of human body image includes is less than pair of the rectangle of pre-set dimension characterization
The pixel number that linea angulata includes.It should be appreciated that above-mentioned condition is only exemplary, it can also include other conditions in practice.
In the present embodiment, amplifying unit 504 can be less than pre-set dimension in response to determining the size of human body image, treat
Enlarged drawing amplifies, so that human body image reaches target size.
Wherein, target size can be equal to above-mentioned pre-set dimension, or the ruler determined based on default amplification factor
It is very little.Above-mentioned amplifying unit 504 can amplify above-mentioned image to be amplified, so that human body image therein is amplified to target ruler
It is very little.It should be noted that, when meeting at least one of following condition, being determined during treating enlarged drawing and amplifying
Human body image reaches target size: the horizontal pixel number of human body image and the horizontal pixel number of target size are identical, human body image
Longitudinal pixel number it is identical as longitudinal pixel number of target size, the pixel number and target size that the diagonal line of human body image includes
The pixel number that the diagonal line of the rectangle of characterization includes is identical.It should be appreciated that above-mentioned condition is only exemplary, in practice, also
It may include other conditions.
In the present embodiment, mobile unit 505 can move amplified image to be amplified, so that amplified human figure
The display position of picture reaches target position.
Specifically, above-mentioned target position can be the position being set in advance in the interface for showing image to be amplified.
For example, target position can be a preset region in above-mentioned interface, above-mentioned mobile unit 505 can move amplified
Image to be amplified determines the display position of amplified human body image so that amplified human body image is in the region at this time
It sets and reaches target position.Alternatively, target position can be the whole region at above-mentioned interface, it is somebody's turn to do when amplified human body image is in
When in interface, determine that the display position of amplified human body image reaches target position.It should be noted that after above-mentioned amplification
The all or part (such as half or other ratios of the area of amplified human body image) of human body image be in target position
When setting the region of instruction, it can determine that the display position of amplified human body image reaches target position.
In some optional implementations of the present embodiment, the first determination unit 502 may include: detection module (figure
In be not shown), be configured to treat enlarged drawing carry out skeleton critical point detection, obtain skeleton key point information collection
It closes;First determining module (not shown) is configured to determine human body image based on skeleton key point information set.
In some optional implementations of the present embodiment, the first determining module can be further configured to: be based on
Skeleton key point information set is determined for characterizing the image of upper half of human body as human body image.
In some optional implementations of the present embodiment, amplifying unit 504 can be further configured to: in response to
Determine that the amplification factor of amplified image to be amplified reaches presupposition multiple, and the size of amplified human body image is less than default
Size determines that human body image reaches target size.
In some optional implementations of the present embodiment, mobile unit 505 may include: the second determining module (figure
In be not shown), be configured to from amplified human body image determine human body central point;Mobile module, be configured to it is mobile to
Enlarged drawing, so that human body central point is mobile to the interface central point for showing the interface of image to be amplified;Third determines mould
Block (not shown) is configured in response to determine that human body central point is overlapped with interface central point, determines amplified human body
The display position of image reaches target position.
In some optional implementations of the present embodiment, mobile unit 505 can also include: the 4th determining module
(not shown) is configured in response to determine that the sideline of amplified image to be amplified is overlapped with the sideline at interface, determines
The display position of amplified human body image reaches target position
The device provided by the above embodiment of the disclosure, by obtaining the image to be amplified that currently shows, then to be amplified
Human body image is determined in image, if the size of human body image is less than pre-set dimension, is treated enlarged drawing and is amplified, to make one
Body image reaches target size, finally moves amplified image to be amplified, so that the display position of amplified human body image
Reach target position, so as to realize in the case where not follow shot equipment, human body image is made to be moved to screen in real time
On target position, automatically tracked so as to simulating lens, improve the flexibility that character image is shown.
Below with reference to Fig. 6, it illustrates the structural representations for the terminal device 600 for being suitable for being used to realize embodiment of the disclosure
Figure.Terminal device in embodiment of the disclosure can include but is not limited to such as mobile phone, laptop, digital broadcasting
Receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable media player), car-mounted terminal (such as
Vehicle mounted guidance terminal) etc. mobile terminal and such as number TV, desktop computer etc. fixed terminal.Shown in Fig. 6
Terminal device is only an example, should not function to embodiment of the disclosure and use scope bring any restrictions.
As shown in fig. 6, terminal device 600 may include processing unit (such as central processing unit, graphics processor etc.)
601, random access can be loaded into according to the program being stored in read-only memory (ROM) 602 or from storage device 608
Program in memory (RAM) 603 and execute various movements appropriate and processing.In RAM 603, it is also stored with terminal device
Various programs and data needed for 600 operations.Processing unit 601, ROM 602 and RAM 603 pass through the phase each other of bus 604
Even.Input/output (I/O) interface 605 is also connected to bus 604.
In general, following device can connect to I/O interface 605: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph
As the input unit 606 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration
The output device 607 of dynamic device etc.;Storage device 608 including such as memory etc.;And communication device 609.Communication device 609
It can permit terminal device 600 and wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 6, which is shown, to be had respectively
The terminal device 600 of kind device, it should be understood that being not required for implementing or having all devices shown.It can substitute
Implement or have more or fewer devices in ground.Each box shown in Fig. 6 can represent a device, can also be according to need
Represent multiple devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communication device 609, or from storage device 608
It is mounted, or is mounted from ROM 602.When the computer program is executed by processing unit 601, the implementation of the disclosure is executed
The above-mentioned function of being limited in the method for example.It should be noted that computer-readable medium described in embodiment of the disclosure can be with
It is computer-readable signal media or computer-readable medium either the two any combination.Computer-readable medium
Such as may be-but not limited to-system, device or the device of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or
Any above combination.The more specific example of computer-readable medium can include but is not limited to: lead with one or more
The electrical connection of line, portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type
Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), optical memory
Part, magnetic memory device or above-mentioned any appropriate combination.
In embodiment of the disclosure, computer-readable medium can be any tangible medium for including or store program,
The program can be commanded execution system, device or device use or in connection.And in embodiment of the disclosure
In, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, wherein holding
Computer-readable program code is carried.The data-signal of this propagation can take various forms, including but not limited to electromagnetism
Signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable medium with
Outer any computer-readable medium, the computer-readable signal media can be sent, propagated or transmitted for being held by instruction
Row system, device or device use or program in connection.The program code for including on computer-readable medium
It can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. or above-mentioned any conjunction
Suitable combination.
Above-mentioned computer-readable medium can be included in above-mentioned terminal device;It is also possible to individualism, and not
It is fitted into the terminal device.Above-mentioned computer-readable medium carries one or more program, when said one or more
When a program is executed by the terminal device, so that the terminal device: obtaining the image to be amplified currently shown;From image to be amplified
Middle determining human body image;Determine whether the size of human body image is less than pre-set dimension;It is less than pre-set dimension in response to determining, treats
Enlarged drawing amplifies, so that human body image reaches target size;Mobile amplified image to be amplified, so that amplified
The display position of human body image reaches target position.
The behaviour for executing embodiment of the disclosure can be write with one or more programming languages or combinations thereof
The computer program code of work, described program design language include object oriented program language-such as Java,
Smalltalk, C++ further include conventional procedural programming language-such as " C " language or similar program design language
Speech.Program code can be executed fully on the user computer, partly be executed on the user computer, as an independence
Software package execute, part on the user computer part execute on the remote computer or completely in remote computer or
It is executed on server.In situations involving remote computers, remote computer can pass through the network of any kind --- packet
It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as
It is connected using ISP by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in embodiment of the disclosure can be realized by way of software, can also be passed through
The mode of hardware is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor
Including acquiring unit, the first determination unit, the second determination unit, amplifying unit and mobile unit.Wherein, the title of these units
The restriction to the unit itself is not constituted under certain conditions, for example, acquiring unit is also described as " obtaining current aobvious
The unit of the image to be amplified shown ".
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art
Member it should be appreciated that embodiment of the disclosure involved in invention scope, however it is not limited to the specific combination of above-mentioned technical characteristic and
At technical solution, while should also cover do not depart from foregoing invention design in the case where, by above-mentioned technical characteristic or its be equal
Feature carries out any combination and other technical solutions for being formed.Such as disclosed in features described above and embodiment of the disclosure (but
It is not limited to) technical characteristic with similar functions is replaced mutually and the technical solution that is formed.