CN110392294A - Human body detecting method, device, electronic equipment and storage medium - Google Patents

Human body detecting method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110392294A
CN110392294A CN201910586701.0A CN201910586701A CN110392294A CN 110392294 A CN110392294 A CN 110392294A CN 201910586701 A CN201910586701 A CN 201910586701A CN 110392294 A CN110392294 A CN 110392294A
Authority
CN
China
Prior art keywords
video frame
image
specified region
human body
display
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.)
Pending
Application number
CN201910586701.0A
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 Huami Information Technology Co Ltd
Original Assignee
Anhui Huami Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anhui Huami Information Technology Co Ltd filed Critical Anhui Huami Information Technology Co Ltd
Priority to CN201910586701.0A priority Critical patent/CN110392294A/en
Publication of CN110392294A publication Critical patent/CN110392294A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a kind of human body detecting method, device, electronic equipment and computer readable storage medium, which comprises the video frame where display user;The display alarm image in the video frame;The prompting image is for reminding user to adjust position, so that the human body of the user is in the specified region in the video frame;The video frame is cut according to the specified region, obtains the human detection result of the user.The process of embodiment of the present disclosure realization quick obtaining human detection result.

Description

Human body detecting method, device, electronic equipment and storage medium
Technical field
This disclosure relates to field of image processing more particularly to a kind of human body detecting method, device, electronic equipment and calculating Machine readable storage medium storing program for executing.
Background technique
With the development of Intelligent hardware, more and more one for being used as carrying out human body detection and research of camera Tool.Under normal conditions, camera has the very big visual field (FOV), and individual only occupies a pocket in video, in order to make The precision of detection is improved, and the usual first step needs to detect the position of human body in the video frame in the video frame, then root The image comprising human body is cut out from video frame according to position of human body, to analyze the image comprising human body;The above step Suddenly biggish computing resource is needed, therefore, it is necessary to a kind of human body detecting method be proposed, to mitigate the calculating of human testing positioning Expense.
Summary of the invention
To overcome the problems in correlation technique, present disclose provides a kind of human body detecting method, device, electronic equipments And computer readable storage medium.
According to the first aspect of the embodiments of the present disclosure, a kind of human body detecting method is provided, comprising:
Show the video frame where user;
The display alarm image in the video frame;The prompting image is for reminding user to adjust position, so that described The human body of user is in the specified region in the video frame;
The video frame is cut according to the specified region, obtains the human detection result of the user.
Optionally, the display alarm image in video frame includes:
The different views layer for reminding image and the video frame to be in same display window, and the prompting image pair The upper layer that the view layer answered is located at the corresponding view layer of the video frame is shown;Or
The prompting image is in different display windows from the video frame, and the display window for reminding image is in institute The upper layer for stating the display window of video frame is shown.
Optionally, described to remind image or described a part for reminding image corresponding with the specified region.
Optionally, the prompting image corresponding to the specified region is the solid-color image for having default transparency or edge by line The image of bar frame composition closed figure.
Optionally, described a part for reminding image is corresponding with the specified region, and the prompting image and the view Frequency frame is corresponding;
It is then described that the video frame is cut according to the specified region, obtain the human testing knot of the user Fruit, comprising:
The location of a part according to the prompting image for corresponding to specified region range, determines to described The cutting position of video frame, and the video frame is cut based on the cutting position.
Optionally, the specified region is corresponding with the prompting image;
It is then described that the video frame is cut according to the specified region, obtain the human testing knot of the user Fruit, comprising:
The cutting position to the video frame is determined according to the display position for reminding image, and is based on the cutting position It sets and the video frame is cut.
Optionally, the quantity in the specified region is one or more;
If the display size of the video frame is not more than preset threshold, the specified region is one and the specified region Area be greater than the video frame area half;
If the display size of the video frame is greater than the preset threshold, the specified region is multiple, each specified area The area in domain is not less than preset area threshold value, and is not more than the area of the video frame preset ratio.According to the embodiment of the present disclosure Second aspect, a kind of human body detection device is provided, comprising:
Video frame display unit, for showing the video frame where user;
Image-display units are reminded, for the display alarm image in the video frame;The prompting image is for reminding User adjusts position, so that the human body of the user is in the specified region in the video frame;
Human detection result acquiring unit obtains institute for cutting according to the specified region to the video frame State the human detection result of user.
Optionally, the prompting image-display units include:
The different views layer for reminding image and the video frame to be in same display window, and the prompting image pair The upper layer that the view layer answered is located at the corresponding view layer of the video frame is shown;Or
The prompting image is in different display windows from the video frame, and the display window for reminding image is in institute The upper layer for stating the display window of video frame is shown.
Optionally, described to remind image or described a part for reminding image corresponding with the specified region.
Optionally, the prompting image corresponding to the specified region is the solid-color image for having default transparency or edge by line The image of bar frame composition closed figure.
Optionally, described a part for reminding image is corresponding with the specified region, and the prompting image and the view Frequency frame is corresponding;
Then the human detection result acquiring unit includes:
The location of a part according to the prompting image for corresponding to specified region range, determines to described The cutting position of video frame, and the video frame is cut based on the cutting position.
Optionally, the specified region is corresponding with the prompting image;
Then the human detection result acquiring unit includes:
The cutting position to the video frame is determined according to the display position for reminding image, and is based on the cutting position It sets and the video frame is cut.
Optionally, the quantity in the specified region is one or more;
If the display size of the video frame is not more than preset threshold, the specified region is one and the specified region Area be greater than the video frame area half;
If the display size of the video frame is greater than the preset threshold, the specified region is multiple, each specified area The area in domain is not less than preset area threshold value, and is not more than the area of the video frame preset ratio.
According to the third aspect of an embodiment of the present disclosure, a kind of electronic equipment is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein,
The processor is configured to executing the operation in method as described above.
According to a fourth aspect of embodiments of the present disclosure, a kind of computer readable storage medium is provided, calculating is stored thereon with Machine program, when executed by one or more processors, so that processor executes the operation in method as described above.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the disclosure, the video frame where user is shown, and prompting image is shown in the video frame, the prompting Image is for reminding user to adjust position, so that the human body of the user is in the specified region in the video frame, then The video frame can be cut according to the specified region, to obtain the human detection result of the user, this public affairs The video frame can be cut based on the specified region for reminding image by opening embodiment, without carrying out complicated human body The process of detection positioning can obtain human detection result, not only increase the speed for obtaining human detection result, and be based on It reminds image that the accuracy of human detection result has been effectively ensured, while reducing the operand and complexity of video processing.
In the disclosure, the prompting image corresponding to the specified region can be solid-color image or the side for having default transparency Cause lines frame at closed figure image so that the specified region is different from the video frame, to user to remind Effect.
It is corresponding with the specified region in described a part for reminding image in the disclosure, and the prompting image and institute It states in the corresponding situation of video frame, it can the position according to locating for a part for the prompting image for corresponding to the specified region Range is set, the cutting position to the video frame is determined, and cut to the video frame based on the cutting position, is not necessarily to Human detection result can be obtained by complicated human testing position fixing process, not only increases the speed for obtaining human detection result Degree, and ensure that the accuracy of human detection result.
In the disclosure, in the situation corresponding with the prompting image of the specified region, it can be schemed according to the prompting The display position of picture determines the cutting position to the video frame, and is cut out based on the cutting position to the video frame It cuts, human detection result can be obtained by needing not move through complicated human testing position fixing process, not only increase acquisition human testing As a result speed, and ensure that the accuracy of human detection result.
In the disclosure, the quantity in the specified region can correspond to multiple users' to be one or more so as to obtain Human detection result.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of disclosure flow chart of human body detecting method shown according to an exemplary embodiment.
Fig. 2A is the display schematic diagram in the disclosure specified region shown according to an exemplary embodiment.
Fig. 2 B is the display schematic diagram in the disclosure 3 specified regions shown according to an exemplary embodiment.
Fig. 3 is a kind of disclosure structural block diagram of human body detection device shown according to an exemplary embodiment.
Fig. 4 is the architecture diagram of disclosure a kind of electronic equipment shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
It is only to be not intended to be limiting the disclosure merely for for the purpose of describing particular embodiments in the term that the disclosure uses. The "an" of the singular used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where disclosure range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
In the related technology with the development of Intelligent hardware, camera is more and more be used as carrying out human body detection and One tool of research.Under normal conditions, camera has the very big visual field (FOV), and individual only occupies a fritter in video Region, in order to be improved the precision of detection, the usual first step needs to detect human body in the video frame in the video frame Then position cuts out the image comprising human body according to position of human body from video frame images, thus to the image comprising human body It is analyzed;Above human testing step needs certain computing resource, can if computing resource provided by equipment is insufficient The time spent in increasing human testing step, responded slowly so as to cause program, for certain scene ratios for requiring quick response Such as AR game, the usage experience of user is seriously affected.
Therefore, in order to solve the problems in the relevant technologies, the embodiment of the present disclosure provides a kind of human body detecting method, described Human body detecting method can be applied on electronic equipment, and the electronic equipment is mobile phone, computer, Intelligent flat, digital assistants, intelligence The calculating equipment with video capture, display and processing function such as energy TV, for example, the electronic equipment may include camera And display screen, to realize the shooting and display of video.
Referring to Fig. 1, Fig. 1 is a kind of disclosure process of human body detecting method shown according to an exemplary embodiment Figure, which comprises
In step s101, the video frame where user is shown.
In step s 102, prompting image is shown in the video frame;The prompting image is for reminding user's tune Whole position, so that the human body of the user is in the specified region in the video frame.
In step s 103, the video frame is cut according to the specified region, obtains the human body of the user Testing result.
In the present embodiment, based on the demand of user, the electronic equipment can be shot user by camera, raw At corresponding video frame to carry out subsequent processing, for example in virtual instruction scene or under AR scene of game, the electronics is set It is standby to need to shoot user, and the video frame by generating analyzes the movement of user, so that it is determined that user's is dynamic Whether meet the requirements, after the electronic equipment shoots the corresponding video frame of user's generation by camera, the video frame Real-time display can be carried out on the display screen of the electronic equipment, it should be noted that frame is minimum unit in image animation Single width image frame, as soon as a frame is exactly secondary static picture, continuous frame forms animation, and the video frame is an image, In The continuous video frame of display screen display of the electronic equipment, the video as visually seen, then the electronic equipment meeting Prompting image is shown in the video frame, the prompting image is used to that user to be reminded to adjust position, so that the user Human body is in the specified region in the video frame, so that user can be based on the prompting image in shooting process The position of itself is adjusted, then the electronic equipment can cut the video frame according to the specified region, obtain The human detection result (including the image of human body) of the user, it can be seen that the embodiment of the present disclosure needs not move through complicated Human testing position fixing process can obtain human detection result, not only increase the speed for obtaining human detection result, Er Qieti The setting of awake image ensure that the accuracy of human detection result, while reduce the operand and complexity of video processing;It needs It is noted that the shooting angle of the camera is fixed, to avoid the variation of camera shooting angle so that user Need frequently to adjust the position of itself.
Above-mentioned prompting image can be accomplished in several ways in practical application to show in video frame, by way of example, The different views layer for reminding image and the video frame to may be at same display window, and the prompting image is corresponding The upper layer that view layer is located at the corresponding view layer of the video frame is shown;Or the prompting image and the video frame can also be with In different display windows, and the upper layer of display window of the display window for reminding image in the video frame is shown, on It states embodiment to be not necessarily to do any change to video frame during the display of video frame, reminds level point between image and video frame Ming and Qing is clear, and display is independent;Acceptable other a variety of implementations of flexible configuration as needed, the embodiment of the present disclosure in practical application Any restrictions are not done to this.
It is in one embodiment, described to remind image or described a part for reminding image corresponding with the specified region, Prompting image corresponding to the specified region can be the solid-color image of default transparency, be also possible to edge by lines frame The image of closed figure or the combination of both the above display mode are formed, Fig. 2A is please referred to, corresponding to the specified region Reminding image is the image that closed figure is made of dashed lines frame, and the present embodiment allows user to be based on the specified region The position of itself is adjusted, so that it is guaranteed that the human body of the user is in the specified region in the video frame;It needs to illustrate It is, if described a part for reminding image is corresponding with the specified region, and correspond to the prompting image in the specified region A part is the solid-color image for having default transparency, and the other parts for reminding image are different from the specified region, such as The other parts of image are reminded to can be Transparent color, black or white etc..
In one possible implementation, if described a part for reminding image is corresponding with the specified region, and institute It states and reminds image corresponding with the video frame, then the electronic equipment can be according to the prompting for corresponding to the specified region The location of a part of image range determines the cutting position to the video frame, and based on the cutting position to institute It states video frame to be cut, obtains human detection result, complicated human testing step is needed not move through in the embodiment of the present disclosure, really The fixed cutting position for reminding the position for specifying region described in image to can determine the video frame, thus quick obtaining people Body testing result.
In alternatively possible implementation, if the specified region is corresponding with the prompting image, the electronics Equipment can determine the cutting position to the video frame according to the display position of the prompting image on the display screen, and The video frame is cut based on the cutting position, obtains human detection result;It should be noted that if the video Frame non-full screen display on the display screen then also needs to determine the display position of the video frame on the display screen, thus It can be according to the display position of display position and the video frame on the display screen of the prompting image on a display screen It sets, determines the relative position between the prompting image and the video frame, so that it is determined that the cutting position of the video frame, And the video frame is cut based on the cutting position, human detection result is obtained, is not necessarily to warp in the embodiment of the present disclosure Complicated human testing step is crossed, determines that the relative position of the prompting image and the video frame can determine the video frame Cutting position, thus quick obtaining human detection result.
It is understood that the embodiment of the present disclosure specific location in the specified region in the video frame is not done it is any Limitation, can be specifically arranged according to actual conditions.
In one possible implementation, such as a kind of equipment with small display screen such as mobile phone, the video Frame its display size in display is smaller, if the quantity that specified region is arranged is excessive or area is too small, will cause the use The human body at family is not completely in the specified region in the video frame, reduces the accuracy of human detection result, based on upper Situation is stated, the electronic equipment can be configured as: if the display size of the video frame is less than or equal to preset threshold, really The area in a fixed specified region and the specified region is greater than the half of the area of the video frame, to guarantee the people obtained The accuracy of body testing result;Wherein, the size of the threshold value is specifically arranged according to actual conditions;For example, described in setting The area in specified region is the 80% of the video frame area.
In another scenario, such as a kind of equipment with large display screen such as intelligent electric machine, the video frame exists Its display size is larger when display, therefore one or more specified regions can be set, if the display size of the video frame is big In one specified region of the preset threshold and setting, the area that the specified region can be set is greater than preset area threshold value, It is understood that the size of the area threshold can be specifically arranged according to actual conditions, the embodiment of the present disclosure to this not Do any restrictions;If the display size of the video frame be greater than the preset threshold and the specified region be it is multiple, can be with The area in each specified region is set not less than preset area threshold value, and is not more than the area of the video frame preset ratio, i.e., It is to say, the minimum area in each specified region can be the preset area threshold value, and it is pre- that maximum area can be the video frame If the area of ratio, it is to be understood that be greater than the preset area threshold value in the area for meeting the video frame preset ratio In the case where, the ratio can be specifically arranged according to actual conditions, and the embodiment of the present disclosure does not do any restrictions to this.
In addition, the preset area threshold value is arranged in the present embodiment, it is to be based on specified region from video frame in order to ensure each The image cut includes complete human body, i other words, it is greater than in the area for meeting the specified region described default In the case where area threshold, the quantity in the specified region has certain limitation range, the quantity in the specified region with it is described The display size of video frame is related, the display size phase of the display size of the video frame and the display screen of the electronic equipment It closes, for example please refers to Fig. 2 B, Fig. 2 B is the scene that 3 specified regions are arranged, wherein for this reality of position in the specified region It applies example and does not do any restrictions, can be and be displayed side by side after presetting, specified area can also be determined based on the selection of user itself The display position in domain;Identical area, which can be set, also for the area in each specified region can be set different areas, can Specifically it is arranged according to actual conditions;As can be seen that the embodiment of the present disclosure determines specified area based on the display size of video frame The size and number in domain includes the premise of complete human body in the image for guaranteeing to cut based on specified region from video frame Under, it can accomplish to obtain multiple human detection results as far as possible, be suitable for the scene that more people participate in, be conducive to the use for improving user Experience.
Wherein, described in the range of the specified region of the settable maximum quantity of the display size for meeting the video frame Electronic equipment can determine according to the user's choice one or more specified regions, the specified region and the prompting image or A part of prompting image described in person is corresponding, thus during display, display and the specified region in the video frame Corresponding prompting image.
In one implementation, if the specified region reminds a part of image corresponding with described, and according to user Selection it needs to be determined that multiple specified regions, then can be specified on the prompting image multiple portions respectively with multiple specified areas Domain is corresponding;In another implementation, it if the specified region is corresponding with the prompting image, and needs according to the user's choice It determines multiple specified regions, then can be set that multiple prompting images are corresponding with multiple specified regions respectively, and the present embodiment is each User can be based on the prompting Image Adjusting position, so that the human body of the user is in the specified region in video frame, So as to the multiple human detection results of quick obtaining, it is suitable for the scene that more people participate in, be conducive to raising user uses body It tests.
In another example, due to the figure of people be not it is completely the same, the electronic equipment can be with Determine the size in the specified region based on the body parameter of user, the body parameter can be height, brachium, in total leg length It is one or more, the body parameter can be obtained from associated equipment or be pre-entered by user, to obtain adaptation In the specified region of the user, avoid the unified specified region being arranged is excessive the image comprising human body cut is related to And the content of many unrelated human bodies, advantageously reduce operand.
Corresponding with the embodiment of aforementioned human body detecting method, the disclosure additionally provides human body detection device and its is applied Electronic equipment embodiment.
As shown in figure 3, Fig. 3 is a kind of disclosure block diagram of human body detection device shown according to an exemplary embodiment, Described device, comprising:
Video frame display unit 31, for showing the video frame where user.
Image-display units 32 are reminded, for the display alarm image in the video frame;The prompting image is for mentioning The user that wakes up adjusts position, so that the human body of the user is in the specified region in the video frame.
Human detection result acquiring unit 33 is obtained for being cut according to the specified region to the video frame The human detection result of the user.
Optionally, the prompting image-display units 32 include:
The different views layer for reminding image and the video frame to be in same display window, and the prompting image pair The upper layer that the view layer answered is located at the corresponding view layer of the video frame is shown;Or
The prompting image is in different display windows from the video frame, and the display window for reminding image is in institute The upper layer for stating the display window of video frame is shown.
Optionally, described to remind image or described a part for reminding image corresponding with the specified region.
Optionally, the prompting image corresponding to the specified region is the solid-color image for having default transparency or edge by line The image of bar frame composition closed figure.
Optionally, described a part for reminding image is corresponding with the specified region, and the prompting image and the view Frequency frame is corresponding.
Then the human detection result acquiring unit 33 includes:
The location of a part according to the prompting image for corresponding to specified region range, determines to described The cutting position of video frame, and the video frame is cut based on the cutting position.
Optionally, the specified region is corresponding with the prompting image.
Then the human detection result acquiring unit 33 includes:
The cutting position to the video frame is determined according to the display position for reminding image, and is based on the cutting position It sets and the video frame is cut.
Optionally, the quantity in the specified region is one or more.
If the display size of the video frame is not more than preset threshold, the specified region is one and the specified region Area be greater than the video frame area half.
If the display size of the video frame is greater than the preset threshold, the specified region is multiple, each specified area The area in domain is not less than preset area threshold value, and is not more than the area of the video frame preset ratio.
The function of modules and the realization process of effect are specifically detailed in above-mentioned human testing in above-mentioned human body detection device The realization process of step is corresponded in method, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The module of explanation may or may not be physically separated, and the component shown as module can be or can also be with It is not physical module, it can it is in one place, or may be distributed on multiple network modules.It can be according to actual The purpose for needing to select some or all of the modules therein to realize disclosure scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
Correspondingly, the disclosure also provides a kind of electronic equipment, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein,
The processor is configured to executing the operation in human body detecting method as described above.
Fig. 4 is a kind of structural representation of the electronic equipment of human body detection device application shown according to an exemplary embodiment Figure.
As shown in figure 4, a kind of electronic equipment 400 shown according to an exemplary embodiment, the electronic equipment 400 can be Mobile phone, computer, Intelligent flat, digital assistants, smart television etc. have the calculating equipment of video capture, display and processing function.
Referring to Fig. 4, electronic equipment 400 may include following one or more components: processing component 401, memory 402, Power supply module 403, multimedia component 404, audio component 405, the interface 406 of input/output (I/O), sensor module 407, And communication component 408.
The integrated operation of the usual control device 400 of processing component 401, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 401 may include that one or more processors 409 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 401 may include one or more modules, just Interaction between processing component 401 and other components.For example, processing component 401 may include multi-media module, it is more to facilitate Interaction between media component 404 and processing component 401.
Memory 402 is configured as storing various types of data to support the operation in electronic equipment 400.These data Example include any application or method for being operated on electronic equipment 400 instruction, contact data, telephone directory Data, message, picture, video etc..Memory 402 can by any kind of volatibility or non-volatile memory device or it Combination realize, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable Except programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, fastly Flash memory, disk or CD.
Power supply module 403 provides electric power for the various assemblies of electronic equipment 400.Power supply module 403 may include power supply pipe Reason system, one or more power supplys and other generates, managees, and distributes the associated component of electric power with for electronic equipment 400.
Multimedia component 404 includes the screen of one output interface of offer between the electronic equipment 400 and user. In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch surface Plate, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touches Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding The boundary of movement, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, Multimedia component 404 includes a front camera and/or rear camera.When electronic equipment 400 is in operation mode, as clapped When taking the photograph mode or video mode, front camera and/or rear camera can receive external multi-medium data.It is each preposition Camera and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 405 is configured as output and/or input audio signal.For example, audio component 405 includes a Mike Wind (MIC), when electronic equipment 400 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone It is configured as receiving external audio signal.The received audio signal can be further stored in memory 402 or via logical Believe that component 404 is sent.In some embodiments, audio component 405 further includes a loudspeaker, is used for output audio signal.
I/O interface 402 provides interface between processing component 401 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 407 includes one or more sensors, for providing the state of various aspects for electronic equipment 400 Assessment.For example, sensor module 407 can detecte the state that opens/closes of electronic equipment 400, the relative positioning of component, example As the component be electronic equipment 400 display and keypad, sensor module 407 can also detect electronic equipment 400 or The position change of 400 1 components of electronic equipment, the existence or non-existence that user contacts with electronic equipment 400, electronic equipment 400 The temperature change of orientation or acceleration/deceleration and electronic equipment 400.Sensor module 407 may include proximity sensor, be configured For detecting the presence of nearby objects without any physical contact.Sensor module 407 can also include optical sensor, Such as CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, which may be used also To include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor, heart rate signal sensor, electrocardiogram sensing Device, fingerprint sensor or temperature sensor.
Communication component 408 is configured to facilitate the communication of wired or wireless way between electronic equipment 400 and other equipment. Electronic equipment 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.Show at one In example property embodiment, communication component 404 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel Relevant information.In one exemplary embodiment, the communication component 408 further includes near-field communication (NFC) module, short to promote Cheng Tongxin.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 400 can be by one or more application specific integrated circuit (ASIC), number Word signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electron component are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 402 of instruction, above-metioned instruction can be executed by the processor 409 of electronic equipment 400 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
Wherein, when the instruction in the storage medium is executed by the processor 409, so that device 400 is able to carry out Aforementioned human body detecting method.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.The disclosure is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
The foregoing is merely the preferred embodiments of the disclosure, not to limit the disclosure, all essences in the disclosure Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of disclosure protection.

Claims (16)

1. a kind of human body detecting method characterized by comprising
Show the video frame where user;
The display alarm image in the video frame;The prompting image is for reminding user to adjust position, so that the user Human body be in the specified region in the video frame;
The video frame is cut according to the specified region, obtains the human detection result of the user.
2. human body detecting method according to claim 1, which is characterized in that the display alarm image packet in video frame It includes:
The different views layer for reminding image and the video frame to be in same display window, and the prompting image is corresponding The upper layer that view layer is located at the corresponding view layer of the video frame is shown;Or
The prompting image is in different display windows from the video frame, and the display window for reminding image is in the view The upper layer of the display window of frequency frame is shown.
3. human body detecting method according to claim 1, which is characterized in that
It is described to remind image or described a part for reminding image corresponding with the specified region.
4. human body detecting method according to claim 3, which is characterized in that
Prompting image corresponding to the specified region is to form envelope by lines frame by the solid-color image or edge of default transparency Close the image of figure.
5. human body detecting method according to claim 1, which is characterized in that described a part for reminding image and the finger It is corresponding to determine region, and the prompting image is corresponding with the video frame;
It is then described that the video frame is cut according to the specified region, the human detection result of the user is obtained, is wrapped It includes:
The location of a part according to the prompting image for corresponding to specified region range, determines to the video The cutting position of frame, and the video frame is cut based on the cutting position.
6. human body detecting method according to claim 1, which is characterized in that the specified region and the prompting image pair It answers;
It is then described that the video frame is cut according to the specified region, the human detection result of the user is obtained, is wrapped It includes:
The cutting position to the video frame is determined according to the display position for reminding image, and is based on the cutting position pair The video frame is cut.
7. human body detecting method according to claim 3, which is characterized in that the quantity in the specified region is one or more It is a;
If the display size of the video frame is not more than preset threshold, the specified region is the face in one and the specified region Product is greater than the half of the area of the video frame;
If the display size of the video frame be greater than the preset threshold, the specified region be it is multiple, each specified region Area is not less than preset area threshold value, and is not more than the area of the video frame preset ratio.
8. a kind of human body detection device characterized by comprising
Video frame display unit, for showing the video frame where user;
Image-display units are reminded, for the display alarm image in the video frame;The prompting image is for reminding user Position is adjusted, so that the human body of the user is in the specified region in the video frame;
Human detection result acquiring unit obtains the use for cutting according to the specified region to the video frame The human detection result at family.
9. human body detection device according to claim 8, which is characterized in that the prompting image-display units include:
The different views layer for reminding image and the video frame to be in same display window, and the prompting image is corresponding The upper layer that view layer is located at the corresponding view layer of the video frame is shown;Or
The prompting image is in different display windows from the video frame, and the display window for reminding image is in the view The upper layer of the display window of frequency frame is shown.
10. human body detection device according to claim 8, which is characterized in that the prompting image or the prompting image A part it is corresponding with the specified region.
11. human body detection device according to claim 10, which is characterized in that the prompting figure corresponding to the specified region As the image to be made of closed figure lines frame the solid-color image or edge of default transparency.
12. human body detection device according to claim 8, which is characterized in that it is described remind image a part with it is described Specified region is corresponding, and the prompting image is corresponding with the video frame;
Then the human detection result acquiring unit includes:
The location of a part according to the prompting image for corresponding to specified region range, determines to the video The cutting position of frame, and the video frame is cut based on the cutting position.
13. human body detection device according to claim 8, which is characterized in that the specified region and the prompting image It is corresponding;
Then the human detection result acquiring unit includes:
The cutting position to the video frame is determined according to the display position for reminding image, and is based on the cutting position pair The video frame is cut.
14. human body detection device according to claim 10, which is characterized in that the quantity in the specified region be one or It is multiple;
If the display size of the video frame is not more than preset threshold, the specified region is the face in one and the specified region Product is greater than the half of the area of the video frame;
If the display size of the video frame be greater than the preset threshold, the specified region be it is multiple, each specified region Area is not less than preset area threshold value, and is not more than the area of the video frame preset ratio.
15. a kind of electronic equipment characterized by comprising
Processor;
For storing the memory of the processor-executable instruction;
Wherein,
The processor is configured as executing any human body detecting method of the claims 1 to 7.
16. a kind of computer readable storage medium, which is characterized in that computer program is stored thereon with, when by one or more When processor executes, so that processor perform claim requires 1 to 7 any human body detecting method.
CN201910586701.0A 2019-07-01 2019-07-01 Human body detecting method, device, electronic equipment and storage medium Pending CN110392294A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910586701.0A CN110392294A (en) 2019-07-01 2019-07-01 Human body detecting method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910586701.0A CN110392294A (en) 2019-07-01 2019-07-01 Human body detecting method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110392294A true CN110392294A (en) 2019-10-29

Family

ID=68286041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910586701.0A Pending CN110392294A (en) 2019-07-01 2019-07-01 Human body detecting method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110392294A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111768422A (en) * 2020-01-16 2020-10-13 北京沃东天骏信息技术有限公司 Edge detection processing method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040028397A1 (en) * 2002-06-03 2004-02-12 Koji Maekawa Photographing and printing device, printing paper unit, method for controlling the photographing and printing device, control program of the photographing and printing device, and computer-readable recording medium storing the same therein
CN101184165A (en) * 2006-11-14 2008-05-21 株式会社万代南梦宫游戏 Program, information storage substrate, image printing apparatus and image printing method
CN107257438A (en) * 2017-07-10 2017-10-17 广东欧珀移动通信有限公司 Take pictures based reminding method, device, terminal and computer-readable storage medium
CN108038891A (en) * 2017-12-28 2018-05-15 福建中金在线信息科技有限公司 A kind of graphic processing method and device
CN109791702A (en) * 2016-09-23 2019-05-21 苹果公司 Head portrait creation and editor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040028397A1 (en) * 2002-06-03 2004-02-12 Koji Maekawa Photographing and printing device, printing paper unit, method for controlling the photographing and printing device, control program of the photographing and printing device, and computer-readable recording medium storing the same therein
CN101184165A (en) * 2006-11-14 2008-05-21 株式会社万代南梦宫游戏 Program, information storage substrate, image printing apparatus and image printing method
CN109791702A (en) * 2016-09-23 2019-05-21 苹果公司 Head portrait creation and editor
CN107257438A (en) * 2017-07-10 2017-10-17 广东欧珀移动通信有限公司 Take pictures based reminding method, device, terminal and computer-readable storage medium
CN108038891A (en) * 2017-12-28 2018-05-15 福建中金在线信息科技有限公司 A kind of graphic processing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111768422A (en) * 2020-01-16 2020-10-13 北京沃东天骏信息技术有限公司 Edge detection processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106530227B (en) Image recovery method and device
CN106454336B (en) The method and device and terminal that detection terminal camera is blocked
CN104301610B (en) Image taking control metho and device
US10230891B2 (en) Method, device and medium of photography prompts
JP2017534090A (en) Face recognition method, apparatus and terminal
CN105426079B (en) The method of adjustment and device of picture luminance
CN106600530B (en) Picture synthesis method and device
CN106355549A (en) Photographing method and equipment
CN107330868A (en) image processing method and device
CN105208284B (en) Shoot based reminding method and device
JP2023549651A (en) Imaging processing method, device, electronic device and readable storage medium
CN107102801A (en) Terminal screen spinning solution and device
CN109976861A (en) Interactive interface display method, device and storage medium
CN111984347A (en) Interaction processing method, device, equipment and storage medium
WO2017140108A1 (en) Pressure detection method and apparatus
CN109862169B (en) Electronic equipment control method, device and storage medium
WO2021189927A1 (en) Image processing method and apparatus, electronic device, and storage medium
CN108509863A (en) Information cuing method, device and electronic equipment
CN105635573B (en) Camera visual angle regulating method and device
CN110392294A (en) Human body detecting method, device, electronic equipment and storage medium
CN110297929A (en) Image matching method, device, electronic equipment and storage medium
CN108962189A (en) Luminance regulating method and device
CN105653027B (en) Page zoom-in and zoom-out method and device
CN106453981B (en) Electronic equipment method for processing voice messages and device
CN109922203A (en) Terminal puts out screen method and apparatus

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191029

RJ01 Rejection of invention patent application after publication