WO2021042867A1 - 一种实现人脸检测的方法和装置 - Google Patents
一种实现人脸检测的方法和装置 Download PDFInfo
- Publication number
- WO2021042867A1 WO2021042867A1 PCT/CN2020/101092 CN2020101092W WO2021042867A1 WO 2021042867 A1 WO2021042867 A1 WO 2021042867A1 CN 2020101092 W CN2020101092 W CN 2020101092W WO 2021042867 A1 WO2021042867 A1 WO 2021042867A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- coordinate system
- resolution
- face detection
- coordinate
- Prior art date
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 107
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000006243 chemical reaction Methods 0.000 claims description 58
- 238000004590 computer program Methods 0.000 claims description 7
- 230000001815 facial effect Effects 0.000 abstract 2
- 238000013519 translation Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000009432 framing Methods 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001568 sexual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/161—Detection; Localisation; Normalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
Definitions
- the embodiment of the present invention relates to, but is not limited to, the field of face detection technology and monitoring, and particularly refers to a method and device for realizing face detection.
- the embodiment of the present invention provides a method and device for realizing face detection, which can realize face detection on an image when the resolution of the face detection model is smaller than the resolution of the image.
- the embodiment of the present invention provides a method for realizing face detection, including:
- the obtained first coordinate information is converted into the second coordinate information of the face in the second image in the first coordinate system corresponding to the first image.
- the splitting of the first image into N second images with a resolution less than or equal to the resolution of the face detection model includes any one or more of the following:
- the first image is split into N1 second images; where N1 is greater than 1.
- N1 When the ratio of the resolution of the first image to the resolution of the face detection model is greater than or equal to N1 and less than or equal to N2, split the first image into N2 second images; N2 is an integer greater than N1.
- the splitting of the first image into N second images with a resolution less than or equal to the resolution of the face detection model includes any one or more of the following:
- the ratio of the resolution of the first image to the resolution of the face detection model is greater than or equal to N1 and less than or equal to N2, the first image is split into N2 equal resolutions.
- the second image is greater than or equal to N1 and less than or equal to N2.
- the N2 is the square of the N1.
- the N1 is 4, and the N2 is 16.
- the splitting the first image into N2 second images includes:
- the resolutions of the N second images are equal.
- the conversion of the obtained first coordinate information into the second coordinate information of the face in the second image in the first coordinate system corresponding to the first image includes:
- the first coordinate information is converted into the second coordinate information according to the conversion relationship between the first coordinate system and the second coordinate system.
- the embodiment of the present invention provides a device for realizing face detection, including a processor and a computer-readable storage medium.
- the computer-readable storage medium stores instructions. When the instructions are executed by the processor, Any of the above methods for realizing face detection.
- the embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of any one of the aforementioned methods for realizing face detection are realized.
- the embodiment of the present invention includes: when the resolution of the first image is greater than the resolution of the face detection model, splitting the first image into N first images with a resolution less than or equal to the resolution of the face detection model Two images; where N is an integer greater than 1; for each of the second images, obtain the first coordinate information of the face in the second image in the second coordinate system corresponding to the second image; The obtained first coordinate information is converted into the second coordinate information of the face in the second image in the first coordinate system corresponding to the first image.
- the embodiment of the present invention adopts a face detection model with a resolution smaller than that of the first image to realize face detection on the first image without changing a more complex face detection model to realize face detection, thereby reducing the difficulty of software development, and , No need to upgrade the hardware.
- Fig. 1 is a flowchart of a method for realizing face detection proposed by an embodiment of the present invention
- FIG. 2 is a schematic diagram of a first coordinate system and a second coordinate system established by dividing the first image into quarters in an embodiment of the present invention
- Fig. 3 is a schematic diagram of the first coordinate system and the second coordinate system established by dividing the first image by 16 equal time in the embodiment of the present invention
- Fig. 4 is a schematic structural composition diagram of an apparatus for realizing face detection proposed by another embodiment of the present invention.
- an embodiment of the present invention proposes a method for realizing face detection, including:
- Step 100 When the resolution of the first image is greater than the resolution of the face detection model, split the first image into N second images with a resolution less than or equal to the resolution of the face detection model; Wherein, N is an integer greater than 1.
- the resolution of the face detection model refers to the maximum resolution of an image that can be detected by the face detection model.
- the first image may be a pre-stored image or an image in a continuous video stream.
- the first image is mapped in the memory of the embedded system, and the first image can be split into N second images according to the address in the memory.
- the resolutions of the N second images may be equal or unequal.
- splitting the first image into N second images with a resolution less than or equal to the resolution of the face detection model includes any one or more of the following:
- the first image is split into N1 second images; where N1 is greater than 1.
- N2 is an integer greater than N1;
- the ratio of the resolution of the first image to the resolution of the face detection model is greater than or equal to N1 and less than or equal to N2, the first image is split into N2 equal resolutions.
- the second image is greater than or equal to N1 and less than or equal to N2.
- N2 is the square of N1.
- N1 is 4 and N2 is 16.
- the values of N1 and N2 are not limited to 4 and 16, and other values are within the protection scope of the embodiment of the present invention.
- N2 is the square of N1
- first image when the first image is split into N2 second images, it can be directly split into N2 second images; or the first image can be split into N1 first.
- Third images and then split each third image into N1 second images.
- the resolutions of the N1 third images may be equal or unequal.
- the method of splitting the first image in the embodiment of the present invention is not limited to the methods listed above, and the specific splitting method is not used to limit the protection scope of the embodiment of the present invention.
- Step 101 For each of the second images, obtain first coordinate information of the face in the second image in the second coordinate system corresponding to the second image; convert the obtained first coordinate information into Second coordinate information of the face in the second image in the first coordinate system corresponding to the first image.
- a face detection model is used to perform face detection on the second image to obtain first coordinate information of the face in the second image in the second coordinate system corresponding to the second image .
- the first coordinate information of the human face in the second coordinate system corresponding to the second image refers to the first coordinate information of the rectangular frame in which the human face is located in the second coordinate system corresponding to the second image.
- One coordinate information, the second coordinate information of the face in the first coordinate system corresponding to the first image also refers to the second coordinate of the rectangular frame in which the face is located in the first coordinate system corresponding to the first image information.
- converting the obtained first coordinate information into the second coordinate information of the face in the second image in the first coordinate system corresponding to the first image includes:
- the first coordinate information is converted into the second coordinate information according to the conversion relationship between the first coordinate system and the second coordinate system.
- the conversion relationship between the first coordinate system and the second coordinate system may be based on the translation relationship between the first coordinate system and the second coordinate system, and the relationship between the first coordinate system and the second coordinate system.
- the rotation relationship is determined.
- the translation relationship can be determined according to the coordinate origin of the first coordinate system and the coordinate origin of the second coordinate system, and the rotation relationship can be determined according to the direction of the x-axis of the first coordinate system and the x-axis of the second coordinate system, and the direction of the first coordinate system.
- the direction of the y-axis and the y-axis of the second coordinate system are determined.
- the first image is split into four second images with equal resolution
- the first image P is split into a second image P1, a second image P2, a second image P3, and a second image.
- the second image P4 suppose that the first coordinate system is XOY, the second coordinate system corresponding to the second image P1 is X 1 O 1 Y 1 , and the second coordinate system corresponding to the second image P2 is X 2 O 2 Y 2 ,
- the second coordinate system corresponding to the second image P3 is X 3 O 3 Y 3 , and the second coordinate system corresponding to the second image P4 is X 4 O 4 Y 4 ;
- the resolution of the second image is (n ⁇ a) ⁇ (n ⁇ c) and the resolution of the face detection model is a ⁇ c.
- the coordinate origin of the first coordinate system is the lower left corner of the first image P
- the x-axis direction is parallel to the first direction of the first image P
- the y-axis direction is parallel to the second direction of the first image P;
- the coordinate origin of the second coordinate system corresponding to the second image P1 is the lower left corner of the second image P1, the x-axis direction is parallel to the first direction of the second image P1, and the y-axis direction is parallel to the second direction of the second image P1;
- the coordinate origin of the second coordinate system corresponding to the second image P2 is the lower left corner of the second image P2, the x-axis direction is parallel to the first direction of the second image P2, and the y-axis direction is parallel to the second direction of the second image P2;
- the coordinate origin of the second coordinate system corresponding to the second image P3 is the lower left corner of the second image P3, the x-axis direction is parallel to the first direction of the second image P3, and the y-axis direction is parallel to the second direction of the second image P3;
- the coordinate origin of the second coordinate system corresponding to the second image P4 is the lower left corner of the second image P4, the x-axis direction is parallel to the first direction of the second image P4, and the y-axis direction is parallel to the second direction of the second image P4.
- the conversion relationship between the first coordinate system and the second coordinate system corresponding to the second image P1 is:
- (X, Y) is the coordinate of a point on the second image P1 or the second image P2 or the second image P3 or the second image P4 in the first coordinate system corresponding to the first image P
- (X 1 , Y 1 ) is the coordinate of a point on the second image P1 in the second coordinate system corresponding to the second image P1
- (X 2 , Y 2 ) is the second coordinate of a point on the second image P2 in the second image P2
- the coordinates in the system (X 3 , Y 3 ) is the coordinates of a certain point on the second image P3 in the second coordinate system corresponding to the second image P3
- (X 4 , Y 4 ) is a certain point on the second image P4
- the first image is split into 16 second images with equal resolution
- the first image P is split into a second image P11, a second image P12, a second image P13, Second image P14, second image P21, second image P22, second image P23, second image P24, second image P31, second image P32, second image P33, second image P34, second image P41
- the first coordinate system is XOY
- the second coordinate system corresponding to the second image P11 is X 11 O 11 Y 11
- the second image P12 corresponds to
- the second coordinate system is X 12 O 12 Y 12
- the second coordinate system corresponding to the second image P13 is X 13 O 13 Y 13
- the second coordinate system corresponding to the second image P14 is X 14 O 14 Y 14
- the second coordinate system corresponding to the image P21 is X 21 O 21 Y 21 ,
- the second coordinate system corresponding to the second image P24 is X 24 O 24 Y 24 ;
- the second coordinate system corresponding to the second image P31 is X 31 O 31 Y 31
- the second coordinate system corresponding to the second image P32 is X 32 O 32 Y 32
- the second coordinate system corresponding to the second image P33 is X 33 O 33 Y 33
- the second coordinate system corresponding to the second image P34 is X 34 O 34 Y 34
- the second image P41 corresponds to the second coordinate system
- the coordinate system is X 41 O 41 Y 41
- the second coordinate system corresponding to the second image P42 is X 42 O 42 Y 42
- the second coordinate system corresponding to the second image P43 is X 43 O 43 Y 43
- the second image P44 The corresponding second coordinate system is X 44 O 44 Y 44 ;
- the resolution of the second image is (n ⁇ a) ⁇ (n ⁇ c) and the resolution of the face detection model is a ⁇ c.
- the coordinate origin of the first coordinate system is the lower left corner of the first image P
- the x-axis direction is parallel to the first direction of the first image P
- the y-axis direction is parallel to the second direction of the first image P;
- the coordinate origin of the second coordinate system corresponding to the second image P11 is the lower left corner of the second image P11, the x-axis direction is parallel to the first direction of the second image P11, and the y-axis direction is parallel to the second direction of the second image P11;
- the coordinate origin of the second coordinate system corresponding to the second image P12 is the lower left corner of the second image P12, the x-axis direction is parallel to the first direction of the second image P12, and the y-axis direction is parallel to the second direction of the second image P12;
- the coordinate origin of the second coordinate system corresponding to the second image P13 is the lower left corner of the second image P13, the x-axis direction is parallel to the first direction of the second image P13, and the y-axis direction is parallel to the second direction of the second image P3;
- the coordinate origin of the second coordinate system corresponding to the second image P14 is the lower left corner of the second image P14, the x-axis direction is parallel to the first direction of the second image P14, and the y-axis direction is parallel to the second direction of the second image P14;
- the second image (P21, P22, P23, P24, P31, P32, P33, P34, P41, P42, P43, P44) respectively correspond to the coordinate origin, x-axis direction and y-axis direction of the second coordinate system Determine in the same way.
- the conversion relationship between the first coordinate system and the second coordinate system corresponding to the second image P11 is:
- the conversion relationship between the first coordinate system and the second coordinate system corresponding to the second image P12 is:
- the conversion relationship between the first coordinate system and the second coordinate system corresponding to the second image P13 is:
- the conversion relationship between the first coordinate system and the second coordinate system corresponding to the second image P14 is:
- the conversion relationship between the first coordinate system and the second coordinate system corresponding to the second image P21 is:
- the conversion relationship between the first coordinate system and the second coordinate system corresponding to the second image P24 is:
- the conversion relationship between the first coordinate system and the second coordinate system corresponding to the second image P31 is:
- the conversion relationship between the first coordinate system and the second coordinate system corresponding to the second image P32 is:
- the conversion relationship between the first coordinate system and the second coordinate system corresponding to the second image P41 is:
- (X, Y) is the coordinate of a point on the second image P1 or the second image P2 or the second image P3 or the second image P4 in the first coordinate system corresponding to the first image P
- (X 11 , Y 11 ) is the coordinate of a certain point on the second image P1 in the second coordinate system corresponding to the second image P1
- (X 12 , Y 12 ) is the second coordinate of a certain point on the second image P2 in the second image P2
- the coordinates in the system, (X 13 , Y 13 ) are the coordinates of a certain point on the second image P3 in the second coordinate system corresponding to the second image P3
- (X 14 , Y 14 ) are the coordinates of a certain point on the second image P4
- the conversion relationship between the first coordinate system and the second coordinate system is not limited to this conversion relationship.
- the conversion relationship between the first coordinate system and the second coordinate system depends on the first coordinate system and the second coordinate system.
- the specific conversion relationship is not used to limit the protection scope of the embodiments of the present invention.
- the embodiment of the present invention adopts a face detection model whose maximum resolution of an image that can be detected is smaller than that of the first image to realize face detection on the first image, and there is no need to replace a more complex face detection model to realize face detection, thereby Reduce the difficulty of software development, and no need to upgrade the hardware.
- the existing face detection models need to input images with a resolution less than or equal to 1080P (that is, 1920 ⁇ 1080). Then, to realize face detection of the first image of a video stream with a resolution of 4K (that is, 3840 ⁇ 2160), the following methods can be used:
- the second coordinate system based on the second image P1, the second image P2, the second image P3, and the second image P4 are respectively The first coordinate of the face of is converted into the second coordinate corresponding to the first coordinate system XOY of the first image P.
- the existing face detection model needs to input an image with a resolution less than or equal to 1080P (that is, 1920 ⁇ 1080), then
- 1080P that is, 1920 ⁇ 1080
- the face detection of a video stream with a resolution of 5 million pixels can be implemented in the following ways:
- the second coordinate system based on the second image P1, the second image P2, the second image P3, and the second image P4 are respectively The first coordinate of the face of is converted into the second coordinate corresponding to the first coordinate system XOY of the first image P.
- Face detection in a video stream with a resolution of 8K pixels can be implemented in the following ways:
- the first image is divided into four equal parts of the third image P1, the third image P2, the third image P3, and the third image P4, and the resolution of a single third image is still greater than 1920 ⁇ 1080, so ,
- 16 equal divisions are used, that is, the third image P1 is divided into four equal parts into the second image P11, the second image P12, the second image P13, and the second image P14, and the third image P2
- the second image P21, the second image P22, the second image P23, and the second image P24 are divided into four equal parts
- the third image P3 is divided into four equal parts into the second image P31, the second image P32, the second image P33, and the second image P34.
- the third image P4 is equally divided into the second image P41, the second image P42, the second image P43, and the second image P44.
- the resolution of the single second image is 1920 ⁇ 1080, which is in line with the resolution smaller than that of the face detection model. Rate requirements;
- a first coordinate system XOY is established for the first image
- a third coordinate system X 1 O 1 Y 1 is established for the third image P1
- a third coordinate system X 2 O 2 is established for the third image P2 Y 2
- to establish a second coordinate system X 12 O 12 Y 12 to the second image P12 the establishment of the second coordinate system X 13 O 13 Y 13 to the second image P13
- establishing a second coordinate system a second image P14 X 14 O 14 Y 14 establish a second coordinate system X 21 O 21 Y 21 for the second image P21
- the second coordinate system based on the second image P11, the second image P12, the second image P13, and the second image P14 are respectively The first coordinate of the face of is converted into the third coordinate corresponding to the third coordinate system X 1 O 1 Y 1 of the third image P1;
- Another embodiment of the present invention provides a device for realizing face detection, including a processor and a computer-readable storage medium, the computer-readable storage medium stores instructions, and when the instructions are executed by the processor , To implement any of the aforementioned methods for face detection.
- Another embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of any one of the aforementioned methods for realizing face detection are realized.
- FIG. 4 another embodiment of the present invention provides a device for realizing face detection, including:
- the image splitting module 401 is configured to split the first image into N resolutions less than or equal to the resolution of the face detection model when the resolution of the first image is greater than the resolution of the face detection model The second image; where N is an integer greater than 1;
- the face detection module 402 is configured to obtain the first coordinate information of the face in the second image in the second coordinate system corresponding to the second image for each of the second images;
- the coordinate information is converted into second coordinate information of the face in the second image in the first coordinate system corresponding to the first image.
- the resolution of the face detection model refers to the maximum resolution of an image that can be detected by the face detection model.
- the first image may be a pre-stored image or an image in a continuous video stream.
- the first image is mapped in the memory of the embedded system, and the first image can be split into N second images according to the address in the memory.
- the resolutions of the N second images may be equal or unequal.
- the image splitting module 401 is specifically configured to use any one or more of the following methods to split the first image into N second images with a resolution less than or equal to the resolution of the face detection model. image:
- the first image is split into N1 second images; where N1 is greater than 1.
- N2 is an integer greater than N1;
- the ratio of the resolution of the first image to the resolution of the face detection model is greater than or equal to N1 and less than or equal to N2, the first image is split into N2 equal resolutions.
- the second image is greater than or equal to N1 and less than or equal to N2.
- N2 is the square of N1.
- N1 is 4 and N2 is 16.
- the values of N1 and N2 are not limited to 4 and 16, and other values are within the protection scope of the embodiment of the present invention.
- N2 is the square of N1
- the image splitting module 401 splits the first image into N2 second images, it can directly split into N2 second images; or first The image is split into N1 third images, and each third image is split into N1 second images.
- the resolutions of the N1 third images may be equal or unequal.
- the method of splitting the first image in the embodiment of the present invention is not limited to the methods listed above, and the specific splitting method is not used to limit the protection scope of the embodiment of the present invention.
- the face detection module 402 uses a face detection model to perform face detection on the second image to obtain that the face in the second image is in the second coordinate system corresponding to the second image The first coordinate information.
- the first coordinate information of the human face in the second coordinate system corresponding to the second image refers to the first coordinate information of the rectangular frame in which the human face is located in the second coordinate system corresponding to the second image.
- One coordinate information, the second coordinate information of the face in the first coordinate system corresponding to the first image also refers to the second coordinate of the rectangular frame in which the face is located in the first coordinate system corresponding to the first image information.
- the face detection module 402 is specifically configured to implement the conversion of the obtained first coordinate information into the first coordinate corresponding to the face in the second image in the first image in the following manner:
- the first coordinate information is converted into the second coordinate information according to the conversion relationship between the first coordinate system and the second coordinate system.
- the conversion relationship between the first coordinate system and the second coordinate system may be based on the translation relationship between the first coordinate system and the second coordinate system, and the relationship between the first coordinate system and the second coordinate system.
- the rotation relationship is determined.
- the translation relationship can be determined according to the coordinate origin of the first coordinate system and the coordinate origin of the second coordinate system, and the rotation relationship can be determined according to the direction of the x-axis of the first coordinate system and the x-axis of the second coordinate system, and the direction of the first coordinate system.
- the direction of the y-axis and the y-axis of the second coordinate system are determined.
- the first image is split into four second images with equal resolution
- the first image P is split into a second image P1, a second image P2, a second image P3, and a second image.
- the second image P4 suppose that the first coordinate system is XOY, the second coordinate system corresponding to the second image P1 is X 1 O 1 Y 1 , and the second coordinate system corresponding to the second image P2 is X 2 O 2 Y 2 ,
- the second coordinate system corresponding to the second image P3 is X 3 O 3 Y 3 , and the second coordinate system corresponding to the second image P4 is X 4 O 4 Y 4 ;
- the resolution of the second image is (n ⁇ a) ⁇ (n ⁇ c) and the resolution of the face detection model is a ⁇ c.
- the coordinate origin of the first coordinate system is the lower left corner of the first image P
- the x-axis direction is parallel to the first direction of the first image P
- the y-axis direction is parallel to the second direction of the first image P;
- the coordinate origin of the second coordinate system corresponding to the second image P1 is the lower left corner of the second image P1, the x-axis direction is parallel to the first direction of the second image P1, and the y-axis direction is parallel to the second direction of the second image P1;
- the coordinate origin of the second coordinate system corresponding to the second image P2 is the lower left corner of the second image P2, the x-axis direction is parallel to the first direction of the second image P2, and the y-axis direction is parallel to the second direction of the second image P2;
- the coordinate origin of the second coordinate system corresponding to the second image P3 is the lower left corner of the second image P3, the x-axis direction is parallel to the first direction of the second image P3, and the y-axis direction is parallel to the second direction of the second image P3;
- the coordinate origin of the second coordinate system corresponding to the second image P4 is the lower left corner of the second image P4, the x-axis direction is parallel to the first direction of the second image P4, and the y-axis direction is parallel to the second direction of the second image P4.
- the first coordinate system and the second coordinate system are in a parallel relationship.
- the conversion relationship between the two is only related to the translation relationship between the first coordinate system and the second coordinate system.
- the conversion relationship between the first coordinate system and the second coordinate system corresponding to the second image P1 is:
- (X, Y) is the coordinate of a point on the second image P1 or the second image P2 or the second image P3 or the second image P4 in the first coordinate system corresponding to the first image P
- (X 1 , Y 1 ) is the coordinate of a point on the second image P1 in the second coordinate system corresponding to the second image P1
- (X 2 , Y 2 ) is the second coordinate of a point on the second image P2 in the second image P2
- the coordinates in the system (X 3 , Y 3 ) is the coordinates of a certain point on the second image P3 in the second coordinate system corresponding to the second image P3
- (X 4 , Y 4 ) is a certain point on the second image P4
- the conversion relationship between the first coordinate system and the second coordinate system is not limited to this conversion relationship.
- the conversion relationship between the first coordinate system and the second coordinate system depends on the first coordinate system and the second coordinate system.
- the specific conversion relationship is not used to limit the protection scope of the embodiments of the present invention.
- the embodiment of the present invention adopts a face detection model whose maximum resolution of an image that can be detected is smaller than that of the first image to realize face detection on the first image, and there is no need to replace a more complex face detection model to realize face detection, thereby Reduce the difficulty of software development, and no need to upgrade the hardware.
- Such software may be distributed on a computer-readable medium, and the computer-readable medium may include a computer storage medium (or a non-transitory medium) and a communication medium (or a transitory medium).
- the term computer storage medium includes volatile and non-volatile data implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Sexual, removable and non-removable media.
- Computer storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or Any other medium used to store desired information and that can be accessed by a computer.
- communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media. .
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Bioinformatics & Computational Biology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Artificial Intelligence (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
Description
Claims (10)
- 一种实现人脸检测的方法,包括:当第一图像的分辨率大于人脸检测模型的分辨率时,将所述第一图像拆分成N个分辨率小于或等于所述人脸检测模型的分辨率的第二图像;其中,N为大于1的整数;对于每一个所述第二图像,获得所述第二图像中的人脸在所述第二图像对应的第二坐标系中的第一坐标信息;将得到的第一坐标信息转换为所述第二图像中的人脸在所述第一图像对应的第一坐标系中的第二坐标信息。
- 根据权利要求1所述的方法,其特征在于,其中,所述将第一图像拆分成N个分辨率小于或等于所述人脸检测模型的分辨率的第二图像包括以下任意一个或一个以上:当所述第一图像的分辨率和所述人脸检测模型的分辨率的比值小于或等于N1时,将所述第一图像拆分成N1个所述第二图像;其中,N1为大于1的整数;当所述第一图像的分辨率和所述人脸检测模型的分辨率的比值大于或等于N1,且小于或等于N2时,将所述第一图像拆分成N2个所述第二图像;N2为大于N1的整数。
- 根据权利要求1所述的方法,其特征在于,其中,所述将第一图像拆分成N个分辨率小于或等于所述人脸检测模型的分辨率的第二图像包括以下任意一个或一个以上:当所述第一图像的分辨率和所述人脸检测模型的分辨率的比值小于或等于N1时,将所述第一图像拆分成N1个分辨率相等的所述第二图像;当所述第一图像的分辨率和所述人脸检测模型的分辨率的比值大于或等于N1,且小于或等于N2时,将所述第一图像拆分成N2个分辨率相等的所述第二图像。
- 根据权利要求2或3所述的方法,其特征在于,其中,所述N2为所述N1的平方。
- 根据权利要求2或3所述的方法,其特征在于,其中,所述N1为4,所述N2为16。
- 根据权利要求2所述的方法,其特征在于,其中,当所述N2为所述N1的平方时,所述将第一图像拆分成N2个所述第二图像包括:将所述第一图像拆分成N1个第三图像;将每一个所述第三图像拆分成N1个第一图像。
- 根据权利要求1所述的方法,其特征在于,其中,N个所述第二图像的分辨率相等。
- 根据权利要求1所述的方法,其特征在于,所述将得到的第一坐标信息转换为所述第二图像中的人脸在所述第一图像对应的第一坐标系中的第二坐标信息包括:根据所述第一坐标系和所述第二坐标系之间的转换关系将所述第一坐标信息转换为所述第二坐标信息。
- 一种实现人脸检测的装置,包括处理器和计算机可读存储介质,所述计算机可读存储介质中存储有指令,其特征在于,当所述指令被所述处理器执行时,实现如权利要求1~8任一项所述的实现人脸检测的方法。
- 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1~8任一项所述的实现人脸检测的方法的步骤。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910842231.X | 2019-09-06 | ||
CN201910842231.XA CN112464692A (zh) | 2019-09-06 | 2019-09-06 | 一种实现人脸检测的方法和装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021042867A1 true WO2021042867A1 (zh) | 2021-03-11 |
Family
ID=74807115
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/101092 WO2021042867A1 (zh) | 2019-09-06 | 2020-07-09 | 一种实现人脸检测的方法和装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112464692A (zh) |
WO (1) | WO2021042867A1 (zh) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101648208B1 (ko) * | 2015-09-08 | 2016-08-12 | 김동기 | 고해상도 영상을 이용한 객체 인식 및 추적 방법 및 장치 |
CN109858472A (zh) * | 2019-04-09 | 2019-06-07 | 武汉领普科技有限公司 | 一种嵌入式实时人形检测方法和装置 |
CN110033475A (zh) * | 2019-03-29 | 2019-07-19 | 北京航空航天大学 | 一种高分辨率纹理生成的航拍图运动物体检测与消除方法 |
CN110866476A (zh) * | 2019-11-06 | 2020-03-06 | 南京信息职业技术学院 | 一种基于自动标注和迁移学习的密集堆垛目标检测方法 |
-
2019
- 2019-09-06 CN CN201910842231.XA patent/CN112464692A/zh active Pending
-
2020
- 2020-07-09 WO PCT/CN2020/101092 patent/WO2021042867A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101648208B1 (ko) * | 2015-09-08 | 2016-08-12 | 김동기 | 고해상도 영상을 이용한 객체 인식 및 추적 방법 및 장치 |
CN110033475A (zh) * | 2019-03-29 | 2019-07-19 | 北京航空航天大学 | 一种高分辨率纹理生成的航拍图运动物体检测与消除方法 |
CN109858472A (zh) * | 2019-04-09 | 2019-06-07 | 武汉领普科技有限公司 | 一种嵌入式实时人形检测方法和装置 |
CN110866476A (zh) * | 2019-11-06 | 2020-03-06 | 南京信息职业技术学院 | 一种基于自动标注和迁移学习的密集堆垛目标检测方法 |
Non-Patent Citations (1)
Title |
---|
ADAM VAN ETTEN: "You Only Look Twice: Rapid Multi-Scale Object Detection In Satellite Imagery", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 24 May 2018 (2018-05-24), 201 Olin Library Cornell University Ithaca, NY 14853, XP080881845 * |
Also Published As
Publication number | Publication date |
---|---|
CN112464692A (zh) | 2021-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11373275B2 (en) | Method for generating high-resolution picture, computer device, and storage medium | |
US11663691B2 (en) | Method and apparatus for restoring image | |
KR102149187B1 (ko) | 전자 장치와, 그의 제어 방법 | |
CN107566688B (zh) | 一种基于卷积神经网络的视频防抖方法、装置及图像对齐装置 | |
US20170099435A1 (en) | Image Generation Method Based On Dual Camera Module And Dual Camera Apparatus | |
BR112021007094A2 (pt) | método de processamento de imagem, aparelho, e dispositivo | |
WO2021175180A1 (zh) | 视线确定方法、装置、电子设备和计算机可读存储介质 | |
BR112021007087A2 (pt) | método e aparelho de processamento de imagem, e dispositivo | |
WO2019041842A1 (zh) | 一种图像处理方法及装置、存储介质和计算机设备 | |
KR20210061258A (ko) | 기준 이미지 프레임의 동적 선택을 위한 시스템 및 방법 | |
US9317909B2 (en) | Image subsystem including image feature detection hardware component and image processing system including the same | |
US9398217B2 (en) | Video stabilization using padded margin pixels | |
US20200167896A1 (en) | Image processing method and device, display device and virtual reality display system | |
US10929982B2 (en) | Face pose correction based on depth information | |
US10497396B2 (en) | Detecting and correcting whiteboard images while enabling the removal of the speaker | |
US20160252730A1 (en) | Image generating system, image generating method, and information storage medium | |
US20220086382A1 (en) | Method controlling image sensor parameters | |
WO2023075493A1 (en) | Method and apparatus for three-dimensional scene reconstruction and dense depth map | |
WO2018058476A1 (zh) | 一种图像校正方法及装置 | |
JP2019526875A (ja) | 投影画像構築方法及び装置 | |
CN106548117B (zh) | 一种人脸图像处理方法和装置 | |
CN112714263B (zh) | 视频生成方法、装置、设备及存储介质 | |
JP2016167681A (ja) | 画像生成装置および画像生成方法 | |
WO2018219274A1 (zh) | 降噪处理方法、装置、存储介质及终端 | |
WO2021042867A1 (zh) | 一种实现人脸检测的方法和装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20861572 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20861572 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20861572 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 24/10/2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20861572 Country of ref document: EP Kind code of ref document: A1 |