CN111511002A - Method and device for adjusting detection frame rate, terminal and readable storage medium - Google Patents

Method and device for adjusting detection frame rate, terminal and readable storage medium Download PDF

Info

Publication number
CN111511002A
CN111511002A CN202010329138.1A CN202010329138A CN111511002A CN 111511002 A CN111511002 A CN 111511002A CN 202010329138 A CN202010329138 A CN 202010329138A CN 111511002 A CN111511002 A CN 111511002A
Authority
CN
China
Prior art keywords
terminal
state
frame rate
detection frame
adjusting
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.)
Granted
Application number
CN202010329138.1A
Other languages
Chinese (zh)
Other versions
CN111511002B (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010329138.1A priority Critical patent/CN111511002B/en
Publication of CN111511002A publication Critical patent/CN111511002A/en
Application granted granted Critical
Publication of CN111511002B publication Critical patent/CN111511002B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0254Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a method for adjusting a detection frame rate, which comprises the following steps: acquiring state information of a terminal; determining the working state of the terminal according to the state information, wherein the working state comprises a silent state; and when the terminal is in the silent state, adjusting the face detection frame rate of the terminal to a first detection frame rate, wherein the first detection frame rate is determined according to a critical frame rate capable of realizing face detection. According to the adjusting method, the working state of the terminal is determined by acquiring the state information of the terminal, and when the terminal is in a silent state basically not requiring face recognition, the face detection frame rate can be adjusted to the critical frame rate capable of realizing face detection, so that under the premise that the camera is constantly powered on and normally opened to quickly perform face recognition, the power consumption is maximally reduced, the endurance time of the terminal can be prolonged, and abnormal heating of the terminal can be prevented. The application also provides an adjusting device, a terminal and a non-volatile computer readable storage medium.

Description

Method and device for adjusting detection frame rate, terminal and readable storage medium
Technical Field
The present application relates to the field of consumer electronics technologies, and in particular, to an adjusting method, an adjusting apparatus, a terminal, and a non-volatile computer-readable storage medium for detecting a frame rate.
Background
The camera is because the speed requirement that face identification carried out the unblock is higher, and the camera generally is in the circular telegram and normally opens the state to keep awakening up constantly in order carrying out face identification, however, the camera is in the circular telegram and normally opens the power consumption greatly increased who makes the terminal, leads to the time of endurance to reduce and the terminal is unusual to generate heat easily.
Disclosure of Invention
The embodiment of the application provides an adjusting method, an adjusting device, a terminal and a non-volatile computer readable storage medium for detecting a frame rate.
The method for adjusting the detection frame rate comprises the steps of acquiring state information of a terminal; determining the working state of the terminal according to the state information, wherein the working state comprises a silent state; and when the terminal is in the silent state, adjusting the face detection frame rate of the terminal to a first detection frame rate, wherein the first detection frame rate is determined according to a critical frame rate capable of realizing face detection.
In some embodiments, the determining the working state of the terminal according to the state information includes determining whether the terminal is in a moving state and whether the current time is within a predetermined time after the terminal receives a new message, where the determining the working state of the terminal according to the state information includes: and when the terminal is not in a motion state and the current time is beyond the preset time after the terminal receives the new message, determining that the terminal is in the silent state.
In some embodiments, the state information includes whether the terminal is in a motion state and whether the current time is within a predetermined time after the terminal receives a new message, the working state further includes a preparatory wakeup state and a wakeup state, and the determining the working state of the terminal according to the state information further includes: when the terminal is in a motion state and/or the current time is within the preset time after the terminal receives a new message and is not in the wake-up state, determining that the terminal is in the prepared wake-up state; the adjusting method further comprises the following steps: and when the terminal is in the preparation awakening state, adjusting the face detection frame rate to a second detection frame rate, wherein the second detection frame rate is greater than the first detection frame rate.
In some embodiments, the operating state further includes an awake state, the state information further includes whether the terminal is in a charging state and whether the terminal is in an unlocked state, the determining the operating state of the terminal according to the state information further includes: determining that the terminal is in the wake-up state when the terminal is in the charging state and/or the unlocked state; the adjusting method further comprises the following steps: and when the terminal is in the awakening state, adjusting the face detection frame rate to a third detection frame rate, wherein the third detection frame rate is greater than the second detection frame rate.
The device for adjusting the frame rate detection according to the embodiment of the application comprises an acquisition module, a determination module and an adjustment module. The acquisition module is used for acquiring the state information of the terminal; the determining module is used for determining the working state of the terminal according to the state information, wherein the working state comprises a silent state; the adjusting module is used for adjusting the face detection frame rate of the terminal to a first detection frame rate when the terminal is in the silent state, and the first detection frame rate is determined according to a critical frame rate capable of realizing face detection.
The terminal comprises a processor and a detector, wherein the processor is used for acquiring the state information of the terminal; determining the working state of the terminal according to the state information, wherein the working state comprises a silent state; and when the terminal is in the silent state, adjusting the face detection frame rate of the detector to a first detection frame rate, wherein the first detection frame rate is determined according to a critical frame rate capable of realizing face detection.
In some embodiments, the state information includes whether the terminal is in a motion state and whether the current time is within a predetermined time after the terminal receives a new message, and the processor is further configured to: and when the terminal is not in a motion state and the current time is beyond the preset time after the terminal receives the new message, determining that the terminal is in the silent state.
In some embodiments, the state information includes whether the terminal is in a motion state and whether the current time is within a predetermined time after the terminal receives a new message, the operating state further includes a preparatory wakeup state and a wakeup state, and the processor is further configured to: when the terminal is in a motion state and/or the current time is within the preset time after the terminal receives a new message and is not in the wake-up state, determining that the terminal is in the prepared wake-up state; and when the terminal is in the preparation awakening state, adjusting the face detection frame rate to a second detection frame rate, wherein the second detection frame rate is greater than the first detection frame rate.
In some embodiments, the state information further includes whether the terminal is in a charging state and an unlocked state, and the processor is further configured to: when the terminal is in the charging state and/or the unlocked state, determining that the terminal is in the awakening state, and when the terminal is in the awakening state, adjusting the face detection frame rate to a third detection frame rate, wherein the third detection frame rate is greater than the second detection frame rate.
A non-transitory computer-readable storage medium containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the conditioning method of any of the embodiments described above.
According to the adjusting method, the adjusting device, the terminal and the computer readable storage medium, the working state of the terminal is determined by obtaining the state information of the terminal, when the terminal is in a silent state basically not requiring face recognition, the face detection frame rate can be adjusted to the critical frame rate capable of realizing face detection, so that under the premise that the camera is constantly powered on and normally opened to quickly perform face recognition, the power consumption is maximally reduced, the endurance time of the terminal can be prolonged, and abnormal heating of the terminal can be prevented.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow diagram of a conditioning method according to certain embodiments of the present application;
FIG. 2 is a block schematic diagram of an adjustment device according to certain embodiments of the present application;
FIG. 3 is a schematic diagram of a terminal structure according to some embodiments of the present application;
FIG. 4 is a schematic flow chart of a conditioning method according to certain embodiments of the present application;
FIG. 5 is a schematic flow chart of a conditioning method according to certain embodiments of the present application;
FIG. 6 is a schematic flow chart of a conditioning method according to certain embodiments of the present application; and
FIG. 7 is a schematic diagram of a connection between a processor and a computer-readable storage medium according to some embodiments of the present application.
Detailed Description
Embodiments of the present application will be further described below with reference to the accompanying drawings. The same or similar reference numbers in the drawings identify the same or similar elements or elements having the same or similar functionality throughout. In addition, the embodiments of the present application described below in conjunction with the accompanying drawings are exemplary and are only for the purpose of explaining the embodiments of the present application, and are not to be construed as limiting the present application.
Referring to fig. 1 to fig. 3, a method for adjusting a frame rate of detection according to an embodiment of the present disclosure includes the following steps:
011: acquiring state information of the terminal 100;
012: determining the working state of the terminal 100 according to the state information, wherein the working state comprises a silent state; and
013: when the terminal 100 is in the silent state, the face detection frame rate of the terminal 100 is adjusted to a first detection frame rate, and the first detection frame rate is determined according to a critical frame rate capable of realizing face detection.
The adjusting device 10 for detecting the frame rate according to the embodiment of the present application includes an obtaining module 11, a determining module 12, and an adjusting module 13. The obtaining module 11, the determining module 12 and the adjusting module 13 are configured to perform step 011, step 012 and step 013, respectively. Namely, the obtaining module 11 is configured to obtain the state information of the terminal 100; the determining module 12 is configured to determine an operating state of the terminal 100 according to the state information, where the operating state includes a silent state; the adjusting module 13 is configured to adjust a face detection frame rate of the terminal 100 to a first detection frame rate when the terminal 100 is in a silent state, where the first detection frame rate is determined according to a critical frame rate capable of implementing face detection.
The terminal 100 of the embodiment of the present application further includes a processor 20 and a detector 30, where the processor 20 is configured to obtain status information of the terminal 100; determining the working state of the terminal 100 according to the state information, wherein the working state comprises a silent state; and when the terminal 100 is in the silent state, adjusting the face detection frame rate of the detector 30 to a first detection frame rate, wherein the first detection frame rate is determined according to a critical frame rate capable of realizing face detection. That is, step 011 and step 012 can be implemented by processor 20, and step 013 can be implemented by processor 20 in cooperation with detector 30.
Specifically, the terminal 100 further includes a housing 40. Both the processor 20 and the detector 30 are mounted within a housing 40. The processor 20 may be a Central Processing Unit (CPU) 20, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present Application.
More specifically, the terminal 100 may be a mobile phone, a tablet computer, a display, a notebook computer, a teller machine, a gate, a smart watch, a head-up display device, a game machine, and the like. In the embodiment of the present application, the terminal 100 is a mobile phone as an example, and it is understood that the specific form of the terminal 100 is not limited to the mobile phone. The housing 40 may also be used to mount functional modules of the terminal 100, such as an imaging device (i.e., the camera 30), a power supply device, a communication device, etc., so that the housing 40 provides protection for the functional modules against dust, falling, water, etc.
The processor 20, the imaging device, the communication device, etc. can be interconnected via a bus and communicate with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc.
At present, a mobile phone with face unlocking is very common, various face recognition application scenes cover the whole process of mobile phone use, in order to ensure the use experience of face recognition (such as higher detection efficiency and detection precision), after the mobile phone is turned on, a detector 30 (such as an image sensor) for face recognition is generally in a power-on normally-open state, however, the power-on normally-open state can cause the problems of power consumption increase and heating. Compared with a common image Sensor, the normally open Sensor (always on Sensor, AON Sensor) is a Sensor which can be powered on and normally open and has lower power consumption, so the detector 30 can be the AON Sensor to reduce the power consumption caused by the fact that the power on and normally open is used, however, in order to realize the face detection anytime and anywhere, the detection precision is ensured, the AON Sensor still needs to keep the high-power operation, and the power consumption is still larger. In the process of using the mobile phone by the user, the mobile phone is not generally used by people all day and night, the mobile phone is in an unmanned state in most of time, and when a call comes, information comes or the user wants to use the mobile phone application program, the mobile phone needs to be unlocked to answer the call, view the information and use the application program.
Therefore, in order to further reduce power consumption, in the embodiment of the present application, the processor 20 first obtains the state information of the mobile phone, and the state information may include whether the mobile phone is in a motion state. The processor 20 can determine the working state of the mobile phone according to the state information, wherein the working state comprises a silent state, a prepared awakening state and an awakening state, and a user does not use the mobile phone in the silent state; in the ready-to-wake state, the user may be ready to use the handset; in the awake state, the user is using the handset. Therefore, the face detection frame rate can be set in a targeted manner for different working states so as to reduce the power consumption to the maximum extent.
It can be understood that when the mobile phone is in the motion state, the description may be the motion state (such as walking, running, holding the mobile phone by hand, clicking the screen of the mobile phone, etc.), at this time, the user may use the mobile phone at any time, and the detection of the motion state may be performed by a motion sensor carried by the mobile phone, such as an acceleration sensor or a gyroscope, etc. When the mobile phone is not in a motion state, the user concentrates on work or other things and places the mobile phone on a desktop, and at the moment, the user generally cannot use the mobile phone. Therefore, when the mobile phone is not in a motion state, the mobile phone may be considered as being unmanned, and at this time, the processor 20 determines that the mobile phone is in a silent state, and then the processor 20 adjusts the face detection frame rate of the detector 30 to a first detection frame rate, which is determined according to a critical frame rate capable of realizing face detection (for example, the first detection frame rate may be 3 frames/second (S), 5 frames/S, and the like). The detector 30 may be a camera, the face detection frame rate is the number of frames of images shot by the camera per second, and if the critical frame rate is 5 frames/S, the camera shoots 5 images per second for the processor 20 to perform face detection, so that the power consumption of the camera and the power consumption of the processor 20 are both reduced; alternatively, the frame rate for detecting the face may be a frame rate for the processor 20 to detect the face every second, for example, the critical frame rate is 5 frames/S, the camera takes 30 frames of images every second, and the processor 20 only detects 5 frames of images every second, that is, the processor 20 performs face detection every 6 frames of images, so that the power consumption of the processor 20 is reduced. The operation of the face recognition function is ensured while reducing the power consumption (power consumption of the processor 20 and the detector 30) for face recognition in a silent state, and a user can also perform face recognition in a silent state.
According to the adjusting method, the adjusting device 10 and the terminal 100 for detecting the frame rate, the working state of the terminal 100 is determined by acquiring the state information of the terminal 100, when the terminal 100 is in a silent state basically without face recognition, the face detection frame rate can be adjusted to the critical frame rate capable of realizing face detection, so that under the premise that the camera is constantly powered on and normally opened to quickly perform face recognition, the power consumption is maximally reduced, the endurance time of the terminal 100 can be prolonged, and the terminal 100 is prevented from being abnormally heated.
Referring to fig. 2, 3 and 4, in some embodiments, the status information includes whether the terminal 100 is in a moving state and whether the current time is within a predetermined time period after the terminal 100 receives the new message, and the step 012 includes the following steps:
0121: when the terminal 100 is not in the motion state and the current time is out of the predetermined time period after the terminal 100 receives the new message, it is determined that the terminal 100 is in the silence state.
In certain embodiments, the determining module 12 is further configured to perform step 0121. That is, the determining module 12 is configured to determine that the terminal 100 is in the silent state when the terminal 100 is not in the motion state and the current time is beyond a predetermined time period after the terminal 100 receives the new message.
In some embodiments, the processor 20 is further configured to determine that the terminal 100 is in the silent state when the terminal 100 is not in the motion state and the current time is outside a predetermined time period after the terminal 100 receives the new message. That is, step 0121 may be implemented by processor 20.
Specifically, when the terminal 100 is not in the motion state, it indicates that the user is focusing on work or other things and places the mobile phone on a desktop, and the user generally does not use the mobile phone, and of course, when the user places the mobile phone in a pocket or a backpack for moving, the mobile phone is also determined to be in the motion state, but the user does not use the mobile phone at this time, so the detection of the motion state can also use the light sensor to determine the current ambient brightness, when the ambient brightness is lower than the predetermined ambient brightness, the mobile phone is determined to be in the "pocket mode", at this time, the processor 20 does not regard the mobile phone as the motion state, but still regards the working state of the mobile phone as the motion state, in addition, the processor 20 can also determine whether the current time is day or night according to the current time, when the ambient brightness is generally lower at night (e.g. after 18 o), at this time, the determination of the "pocket mode, the mobile phone can be determined to be in the motion state only by judging the motion state of the mobile phone by the motion sensor, so that various factors in the use process of a user are fully considered, and the detection accuracy of the motion state is improved.
The state information may further include whether the current time is within a predetermined time period after the terminal 100 receives a new message, and it may be understood that, when the terminal 100 receives a new message (such as an incoming call, a short message, an application message, etc.), a screen is generally turned on to display to prompt the user, at this time, the user may view the mobile phone with a high probability, at this time, the processor 20 determines whether the current time is within the predetermined time period after the terminal 100 receives the new message, and when the terminal 100 is not in a motion state and the current time is beyond the predetermined time period after the terminal 100 receives the new message, it is determined that the terminal 100 is in a silent state, and the current working state of the terminal 100 may be more accurately determined.
In some embodiments, the processor 20 may classify the new information, use the new information that may be viewed by the user as wake-up information, such as telephone call, short message, WeChat information, etc., and use some application information such as advertisement push as silence information, and only if the information is wake-up information, determine whether the current time is within a predetermined time period after the terminal 100 receives the new information to determine the operating state of the terminal 100.
Referring to fig. 2, 3 and 5, in some embodiments, the operation state further includes a standby wake state and a wake state, and the step 012 further includes:
0122: when the terminal 100 is in a motion state and/or is in a predetermined time after the terminal 100 receives a new message at the current moment and is not in an awake state, determining that the terminal 100 is in a prepared awake state;
the adjustment method further comprises the following steps:
014: when the terminal 100 is in the preparation wake-up state, the face detection frame rate is adjusted to a second detection frame rate, where the second detection frame rate is greater than the first detection frame rate.
In certain embodiments, the determining module 12 is configured to perform step 0122, and the adjusting module 13 is further configured to perform step 014. That is, the determining module 12 is further configured to determine that the terminal 100 is in the prepared wake-up state when the terminal 100 is in the motion state and/or is in the predetermined time after the terminal 100 receives the new message at the current time and is not in the wake-up state; the adjusting module 13 is further configured to adjust the face detection frame rate to a second detection frame rate when the terminal 100 is in the preparation wake-up state, where the second detection frame rate is greater than the first detection frame rate.
In some embodiments, the processor 20 is further configured to determine that the terminal 100 is in the standby wake-up state when the terminal 100 is in the motion state and/or the current time is within a predetermined time period after the terminal 100 receives the new message and is not in the wake-up state; when the terminal 100 is in the preparation wake-up state, the face detection frame rate is adjusted to a second detection frame rate, where the second detection frame rate is greater than the first detection frame rate. That is, step 014 may be implemented by processor 20.
Specifically, when the terminal 100 is in a moving state, or the current time is within a predetermined time period after the terminal 100 receives a new message, or when the terminal 100 is in a moving state and the current time is within a predetermined time period after the terminal 100 receives a new message, the user generally uses the mobile phone, so that the processor 20 may determine that the operating state of the mobile phone is the preparation wakeup state, and in the preparation wakeup state, the processor 20 may adjust the face detection frame rate to the second detection frame rate, where the second detection frame rate is greater than the first detection frame rate (for example, the second detection frame rate is 10 frames, 12 frames, 15 frames, and the like), so that the mobile phone performs face identification at a higher detection frame rate, and the face detection efficiency and accuracy in the preparation wakeup state are improved.
Referring to fig. 2, 3 and 6, in some embodiments, the status information further includes whether the terminal 100 is in a charging state and an unlocked state, and the step 012 further includes the following steps:
0123: when the terminal 100 is in the charging state and/or the unlocked state, it is determined that the terminal 100 is in the awake state.
In certain embodiments, the determining module 12 is further configured to perform step 0123. That is, the determining module 12 is further configured to determine that the terminal 100 is in the wake-up state when the terminal 100 is in the charging state and/or the unlocked state.
In some embodiments, the processor 20 is further configured to determine that the terminal 100 is in the awake state when the terminal 100 is in the charging state and/or the unlocked state. That is, step 0123 can be implemented by processor 20.
Specifically, when the mobile phone is charged (i.e., the mobile phone is in a charging state), since power consumption does not need to be considered, the maximum frame rate of face recognition can be detected by the mobile phone, and the efficiency and accuracy of face recognition are fully ensured. And when the handset has been unlocked (i.e., the handset is in an unlocked state), it may be determined that the user is using the handset. When the mobile phone is in a charging state, in an unlocked state, or in a charging state and unlocked, the processor 20 determines that the mobile phone is in a wake-up state, thereby accurately determining the wake-up state.
Referring again to fig. 2, 3 and 6, in some embodiments, the adjusting method further includes:
015: when the terminal 100 is in the wake-up state, the face detection frame rate is adjusted to a third detection frame rate, where the third detection frame rate is greater than the second detection frame rate.
In certain embodiments, the adjustment module 13 is further configured to perform step 015. That is, the adjusting module 13 is further configured to adjust the face detection frame rate to a third detection frame rate when the terminal 100 is in the awake state, where the third detection frame rate is greater than the second detection frame rate.
In some embodiments, the processor 20 is further configured to adjust the face detection frame rate to a third detection frame rate when the terminal 100 is in the wake-up state, where the third detection frame rate is greater than the second detection frame rate. That is, step 015 may be implemented by processor 20.
Specifically, when the processor 20 determines that the mobile phone is in the wake-up state, the face detection frame rate may be adjusted to a third detection frame rate, where the third detection frame rate is greater than the second detection frame rate, and the third detection frame rate may be a maximum detection frame rate that can be reached by the mobile phone performing face detection, such as 20 frames/S, 25 frames/S, 30 frames/S, and the like, so that under a condition that power consumption is not considered (in a charging state), or a condition that a user is using the mobile phone, detection efficiency and accuracy of face recognition are ensured, and user experience is ensured.
Referring to fig. 7, one or more non-transitory computer-readable storage media 300 containing computer-executable instructions 302 according to embodiments of the present application, when the computer-executable instructions 302 are executed by one or more processors 20, cause the processor 20 to perform any of the above-described adjustment methods according to any of the embodiments.
For example, referring to fig. 1 and 3 in conjunction, the computer-executable instructions 302, when executed by the one or more processors 20, cause the processors 20 to perform the steps of:
011: acquiring state information of the terminal 100;
012: determining the working state of the terminal 100 according to the state information, wherein the working state comprises a silent state; and
013: when the terminal 100 is in the silent state, the face detection frame rate of the camera of the terminal 100 is adjusted to a first detection frame rate, and the first detection frame rate is determined according to a critical frame rate capable of realizing face detection.
As another example, referring to fig. 3 and 4 in conjunction, when the computer-executable instructions 302 are executed by one or more processors 20, the processors 20 may further perform the steps of:
0121: when the terminal 100 is not in the motion state and the current time is out of the predetermined time period after the terminal 100 receives the new message, it is determined that the terminal 100 is in the silence state.
In the description herein, reference to the description of the terms "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example" or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
Although embodiments of the present application have been shown and described above, it is to be understood that the above embodiments are exemplary and not to be construed as limiting the present application, and that changes, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (10)

1. An adjustment method for frame rate detection, comprising:
acquiring state information of a terminal;
determining the working state of the terminal according to the state information, wherein the working state comprises a silent state; and
and when the terminal is in the silent state, adjusting the face detection frame rate of the terminal to a first detection frame rate, wherein the first detection frame rate is determined according to a critical frame rate capable of realizing face detection.
2. The method as claimed in claim 1, wherein the status information includes whether the terminal is in a motion state and whether the current time is within a predetermined time period after the terminal receives a new message, and the determining the operating status of the terminal according to the status information includes:
and when the terminal is not in a motion state and the current time is beyond the preset time after the terminal receives the new message, determining that the terminal is in the silent state.
3. The method of claim 1, wherein the status information includes whether the terminal is in a motion state and whether the current time is within a predetermined time period after the terminal receives a new message, the operating status further includes a preparation wakeup state and a wakeup state, and determining the operating status of the terminal according to the status information further includes:
when the terminal is in a motion state and/or the current time is within the preset time after the terminal receives a new message and is not in the wake-up state, determining that the terminal is in the prepared wake-up state;
the adjusting method further comprises the following steps:
and when the terminal is in the preparation awakening state, adjusting the face detection frame rate to a second detection frame rate, wherein the second detection frame rate is greater than the first detection frame rate.
4. The method as claimed in claim 3, wherein the status information further includes whether the terminal is in a charging state and whether the terminal is in an unlocked state, and the determining the operating status of the terminal according to the status information further includes:
determining that the terminal is in the wake-up state when the terminal is in the charging state and/or the unlocked state;
the adjusting method further comprises the following steps:
and when the terminal is in the awakening state, adjusting the face detection frame rate to a third detection frame rate, wherein the third detection frame rate is greater than the second detection frame rate.
5. An adjusting apparatus for detecting a frame rate, the adjusting apparatus comprising:
the acquisition module is used for acquiring the state information of the terminal;
a determining module, configured to determine a working state of the terminal according to the state information, where the working state includes a silent state; and
and the adjusting module is used for adjusting the face detection frame rate of the terminal to a first detection frame rate when the terminal is in the silent state, wherein the first detection frame rate is determined according to a critical frame rate capable of realizing face detection.
6. A terminal, characterized in that the terminal comprises a processor and a detector, the processor being configured to:
acquiring state information of a terminal;
determining the working state of the terminal according to the state information, wherein the working state comprises a silent state; and
and when the terminal is in the silent state, adjusting the face detection frame rate of the detector to a first detection frame rate, wherein the first detection frame rate is determined according to a critical frame rate capable of realizing face detection.
7. The terminal of claim 6, wherein the status information includes whether the terminal is in a motion state and whether a current time is within a predetermined time period after the terminal receives a new message, and wherein the processor is further configured to:
and when the terminal is not in a motion state and the current time is beyond the preset time after the terminal receives the new message, determining that the terminal is in the silent state.
8. The terminal of claim 6, wherein the state information includes whether the terminal is in a motion state and whether a current time is within a predetermined time after the terminal receives a new message, wherein the operating state further includes a preparatory wakeup state and a wakeup state, and wherein the processor is further configured to:
when the terminal is in a motion state and/or the current time is within the preset time after the terminal receives a new message and is not in the awakening state, determining that the terminal is in the prepared awakening state, and when the terminal is in the prepared awakening state, adjusting the human face detection frame rate to a second detection frame rate, wherein the second detection frame rate is greater than the first detection frame rate.
9. The terminal of claim 8, wherein the status information further comprises whether the terminal is in a charging state and an unlocked state, and wherein the processor is further configured to:
when the terminal is in the charging state and/or the unlocked state, determining that the terminal is in the awakening state, and when the terminal is in the awakening state, adjusting the face detection frame rate to a third detection frame rate, wherein the third detection frame rate is greater than the second detection frame rate.
10. A non-transitory computer-readable storage medium containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the conditioning method of any of claims 1 to 4.
CN202010329138.1A 2020-04-23 2020-04-23 Method and device for adjusting detection frame rate, terminal and readable storage medium Active CN111511002B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010329138.1A CN111511002B (en) 2020-04-23 2020-04-23 Method and device for adjusting detection frame rate, terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010329138.1A CN111511002B (en) 2020-04-23 2020-04-23 Method and device for adjusting detection frame rate, terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN111511002A true CN111511002A (en) 2020-08-07
CN111511002B CN111511002B (en) 2023-12-05

Family

ID=71876374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010329138.1A Active CN111511002B (en) 2020-04-23 2020-04-23 Method and device for adjusting detection frame rate, terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN111511002B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113642442A (en) * 2021-08-06 2021-11-12 展讯通信(上海)有限公司 Face detection method and device, computer readable storage medium and terminal
WO2024002011A1 (en) * 2022-06-27 2024-01-04 华为技术有限公司 Face recognition method, medium, electronic device, and program product

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5398091A (en) * 1992-03-17 1995-03-14 Eastman Kodak Company Method and apparatus for optimizing film flatness in a camera exposure gate
DE69429737D1 (en) * 1993-10-25 2002-03-14 Bunn O Matic Corp brewing process
CN101167276A (en) * 2005-03-31 2008-04-23 滑动环及设备制造有限公司 Multi-channel data transmission system for computer tomographs
CN101778285A (en) * 2010-02-09 2010-07-14 中国电信股份有限公司 System and method for wireless transmission of audio and video signals
US20110133087A1 (en) * 2005-06-02 2011-06-09 Thruvision Limited Scanning method and apparatus
CN102184016A (en) * 2011-05-13 2011-09-14 大连民族学院 Noncontact type mouse control method based on video sequence recognition
CN104580969A (en) * 2013-10-23 2015-04-29 中兴通讯股份有限公司 Video frame rate adjusting method and device
US20160284358A1 (en) * 2013-12-09 2016-09-29 Tencent Technology (Shenzhen) Company Limited Voice Processing Method And Device
CN205788149U (en) * 2015-06-07 2016-12-07 苹果公司 Electronic equipment and for showing the device of image
US20180033378A1 (en) * 2016-07-29 2018-02-01 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for adjusting refresh rate
CN107657167A (en) * 2017-11-02 2018-02-02 广东欧珀移动通信有限公司 Method, apparatus, computer-readable recording medium and the electronic equipment of face unblock
CN108668022A (en) * 2018-04-26 2018-10-16 深圳市明泰电讯有限公司 A kind of face unlocking method under dark-state and its mobile terminal
CN108777767A (en) * 2018-08-22 2018-11-09 Oppo广东移动通信有限公司 Photographic method, device, terminal and computer readable storage medium
CN108811055A (en) * 2018-03-27 2018-11-13 广东欧珀移动通信有限公司 Frame per second method of adjustment, device, terminal device and storage medium
CN108989832A (en) * 2017-05-31 2018-12-11 腾讯科技(深圳)有限公司 A kind of image processing method and its equipment, storage medium, terminal
CN109284186A (en) * 2018-08-21 2019-01-29 奇酷互联网络科技(深圳)有限公司 Mobile terminal and its method and apparatus for detecting frame rate adjustment mobile terminal performance
US20190306462A1 (en) * 2018-03-30 2019-10-03 Ricoh Company, Ltd. Image processing apparatus, videoconference system, image processing method, and recording medium

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5398091A (en) * 1992-03-17 1995-03-14 Eastman Kodak Company Method and apparatus for optimizing film flatness in a camera exposure gate
DE69429737D1 (en) * 1993-10-25 2002-03-14 Bunn O Matic Corp brewing process
CN101167276A (en) * 2005-03-31 2008-04-23 滑动环及设备制造有限公司 Multi-channel data transmission system for computer tomographs
US20110133087A1 (en) * 2005-06-02 2011-06-09 Thruvision Limited Scanning method and apparatus
CN101778285A (en) * 2010-02-09 2010-07-14 中国电信股份有限公司 System and method for wireless transmission of audio and video signals
CN102184016A (en) * 2011-05-13 2011-09-14 大连民族学院 Noncontact type mouse control method based on video sequence recognition
CN104580969A (en) * 2013-10-23 2015-04-29 中兴通讯股份有限公司 Video frame rate adjusting method and device
US20160284358A1 (en) * 2013-12-09 2016-09-29 Tencent Technology (Shenzhen) Company Limited Voice Processing Method And Device
CN205788149U (en) * 2015-06-07 2016-12-07 苹果公司 Electronic equipment and for showing the device of image
CN106227439A (en) * 2015-06-07 2016-12-14 苹果公司 For capturing digitally enhanced image and the equipment interacted and method
US20180033378A1 (en) * 2016-07-29 2018-02-01 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for adjusting refresh rate
CN108989832A (en) * 2017-05-31 2018-12-11 腾讯科技(深圳)有限公司 A kind of image processing method and its equipment, storage medium, terminal
CN107657167A (en) * 2017-11-02 2018-02-02 广东欧珀移动通信有限公司 Method, apparatus, computer-readable recording medium and the electronic equipment of face unblock
CN108811055A (en) * 2018-03-27 2018-11-13 广东欧珀移动通信有限公司 Frame per second method of adjustment, device, terminal device and storage medium
US20190306462A1 (en) * 2018-03-30 2019-10-03 Ricoh Company, Ltd. Image processing apparatus, videoconference system, image processing method, and recording medium
CN108668022A (en) * 2018-04-26 2018-10-16 深圳市明泰电讯有限公司 A kind of face unlocking method under dark-state and its mobile terminal
CN109284186A (en) * 2018-08-21 2019-01-29 奇酷互联网络科技(深圳)有限公司 Mobile terminal and its method and apparatus for detecting frame rate adjustment mobile terminal performance
CN108777767A (en) * 2018-08-22 2018-11-09 Oppo广东移动通信有限公司 Photographic method, device, terminal and computer readable storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
QING-YI GU;IDAKU ISHII;: "Review of Some Advances and Applications in Real-time High-speed Vision: Our Views and Experiences", INTERNATIONAL JOURNAL OF AUTOMATION AND COMPUTING, no. 04 *
张宝鹏;史元春;肖鑫;: "智能空间中高效率的服务合成策略", 清华大学学报(自然科学版)网络.预览, no. 07 *
霍亮;杨学志;李江山;刘雪南;方帅;: "适用于昼夜环境的呼吸率视频检测", 中国图象图形学报, no. 01 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113642442A (en) * 2021-08-06 2021-11-12 展讯通信(上海)有限公司 Face detection method and device, computer readable storage medium and terminal
CN113642442B (en) * 2021-08-06 2022-11-25 展讯通信(上海)有限公司 Face detection method and device, computer readable storage medium and terminal
WO2024002011A1 (en) * 2022-06-27 2024-01-04 华为技术有限公司 Face recognition method, medium, electronic device, and program product

Also Published As

Publication number Publication date
CN111511002B (en) 2023-12-05

Similar Documents

Publication Publication Date Title
US20230044497A1 (en) Display method for foldable screen and related apparatus
US7302089B1 (en) Autonomous optical wake-up intelligent sensor circuit
CN105050115B (en) Method and device for waking up MCU
WO2017129082A1 (en) Terminal control method and terminal
CN108234875B (en) Shooting display method and device, mobile terminal and storage medium
CN106375676A (en) Photographing control method and device of terminal equipment, and terminal equipment
CN111371938B (en) Fault detection method and electronic equipment
US20220236848A1 (en) Display Method Based on User Identity Recognition and Electronic Device
CN110687998A (en) Application management method and device
CN111511002B (en) Method and device for adjusting detection frame rate, terminal and readable storage medium
CN108227933A (en) The control method and device of glasses
CN108200279A (en) backlight adjusting method, device and equipment
CN113676339B (en) Multicast method, device, terminal equipment and computer readable storage medium
CN105700277B (en) Projection brightness adjusting method and device
WO2014205941A1 (en) Data processing method, terminal, subscriber identity module card, and system
CN111240456A (en) Power saving setting method, power saving setting device and computer storage medium
US20070218859A1 (en) Method for switching operation modes of a mobile communication apparatus
CN116055859A (en) Image processing method and electronic device
CN114253385A (en) Power consumption management method and device of mobile terminal and computer readable storage medium
CN110392294A (en) Human body detecting method, device, electronic equipment and storage medium
CN116027919B (en) Touch screen control method, electronic device, chip and storage medium
CN114115513B (en) Key control method and key device
CN214376408U (en) Light wake-up system for image capture
WO2024037379A1 (en) Notification checking method and system, and related apparatus
CN115513571B (en) Control method of battery temperature and terminal equipment

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
GR01 Patent grant
GR01 Patent grant