CN111210473A - Mobile phone contour positioning method and equipment - Google Patents

Mobile phone contour positioning method and equipment Download PDF

Info

Publication number
CN111210473A
CN111210473A CN202010072233.8A CN202010072233A CN111210473A CN 111210473 A CN111210473 A CN 111210473A CN 202010072233 A CN202010072233 A CN 202010072233A CN 111210473 A CN111210473 A CN 111210473A
Authority
CN
China
Prior art keywords
mobile phone
area
outline
region
candidate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010072233.8A
Other languages
Chinese (zh)
Inventor
刘尧
常树林
陈敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Yueyi Network Information Technology Co Ltd
Original Assignee
Shanghai Yueyi Network Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Yueyi Network Information Technology Co Ltd filed Critical Shanghai Yueyi Network Information Technology Co Ltd
Priority to CN202010072233.8A priority Critical patent/CN111210473A/en
Publication of CN111210473A publication Critical patent/CN111210473A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras

Abstract

The invention aims to provide a mobile phone outline positioning method and equipment, wherein a shooting device is used for shooting images of the front side of a mobile phone and the surrounding area of the mobile phone from top to bottom in a screen-off state of the mobile phone, and the image can acquire a mobile phone outline area which is not illuminated by a light source and the surrounding area of the mobile phone which is illuminated by the light source, so that the mobile phone outline area which is not illuminated by the light source can be identified in the image; in addition, in each mobile phone profile candidate area identified in the image, the area not illuminated by the light source, except the mobile phone profile area, may also include profile areas of other unrelated objects, so a finally determined mobile phone profile area needs to be screened out from each mobile phone profile candidate area, thereby ensuring the accuracy of mobile phone profile area identification, and subsequently, the mobile phone position can be accurately positioned based on the mobile phone profile area, and the mobile phone can be reliably moved based on positioning.

Description

Mobile phone contour positioning method and equipment
Technical Field
The invention relates to the field of computers, in particular to a mobile phone contour positioning method and device.
Background
The existing mobile phone position positioning mode has the problems of complex positioning process and low positioning accuracy.
Disclosure of Invention
The invention aims to provide a mobile phone contour positioning method and equipment.
According to one aspect of the invention, a mobile phone outline positioning method is provided, which comprises the following steps:
the front side of the mobile phone is upward, and the back side of the mobile phone and the surrounding area of the mobile phone are irradiated from bottom to top through a light source;
shooting images of the front side of the mobile phone and the surrounding area of the mobile phone, which are irradiated by the light source in a screen-off state of the mobile phone, from top to bottom through a shooting device;
identifying a continuous region of each pixel point with a pixel value smaller than a preset pixel threshold value from the images of the front side of the mobile phone and the surrounding region of the mobile phone, and taking the continuous region of each identified pixel point as a candidate region of each mobile phone outline;
and screening out the finally determined mobile phone outline area from each mobile phone outline candidate area.
Further, in the above method, the light source is a surface light source.
Further, in the method, screening a finally determined mobile phone profile area from each mobile phone profile candidate area includes:
calculating the area of each mobile phone outline candidate region;
and taking the mobile phone outline candidate region with the area larger than the preset area threshold value as the finally determined mobile phone outline region.
Further, in the method, screening a finally determined mobile phone profile area from each mobile phone profile candidate area includes:
acquiring a minimum external rotation rectangle of each mobile phone outline candidate area, and calculating the length-width ratio of each minimum external rotation rectangle;
and taking the mobile phone outline candidate area with the aspect ratio larger than the preset aspect ratio threshold value as the finally determined mobile phone outline area.
Further, in the method, screening a finally determined mobile phone profile area from each mobile phone profile candidate area includes:
calculating the area of each mobile phone outline candidate region;
acquiring a minimum external rotation rectangle of each mobile phone outline candidate area, and calculating the length-width ratio of each minimum external rotation rectangle;
and taking the mobile phone contour candidate region with the area larger than the preset area threshold value and the length-width ratio larger than the preset length-width ratio threshold value as the finally determined mobile phone contour region.
According to another aspect of the present invention, there is also provided a handset profile locating apparatus, wherein the apparatus comprises:
the device is used for enabling the front side of the mobile phone to face upwards and irradiating the back side of the mobile phone and the surrounding area of the mobile phone from bottom to top through a light source;
the shooting device is used for shooting the images of the front side of the mobile phone and the surrounding area of the mobile phone, which are irradiated by the light source when the mobile phone is in a screen-off state, from top to bottom;
the identification device is used for identifying a continuous area of each pixel point with a pixel value smaller than a preset pixel threshold value from the images of the front side of the mobile phone and the surrounding area of the mobile phone, and taking the continuous area of each identified pixel point as a candidate area of each mobile phone outline;
and the screening device is used for screening the finally determined mobile phone outline areas from all the mobile phone outline candidate areas.
Further, in the above apparatus, the light source is a surface light source.
Further, in the above device, the screening device is configured to calculate an area size of each mobile phone profile candidate region; and taking the mobile phone outline candidate region with the area larger than the preset area threshold value as the finally determined mobile phone outline region.
Further, in the above device, the screening device is configured to obtain a minimum circumscribed rotating rectangle of each mobile phone profile candidate region, and calculate an aspect ratio of each minimum circumscribed rotating rectangle; and taking the mobile phone outline candidate area with the aspect ratio larger than the preset aspect ratio threshold value as the finally determined mobile phone outline area.
Further, in the above device, the screening device is configured to calculate an area size of each mobile phone profile candidate region; acquiring a minimum external rotation rectangle of each mobile phone outline candidate area, and calculating the length-width ratio of each minimum external rotation rectangle; and taking the mobile phone contour candidate region with the area larger than the preset area threshold value and the length-width ratio larger than the preset length-width ratio threshold value as the finally determined mobile phone contour region.
According to another aspect of the present invention, there is also provided a computing-based device, including:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
the front side of the mobile phone is upward, and the back side of the mobile phone and the surrounding area of the mobile phone are irradiated from bottom to top through a light source;
shooting images of the front side of the mobile phone and the surrounding area of the mobile phone, which are irradiated by the light source in a screen-off state of the mobile phone, from top to bottom through a shooting device;
identifying a continuous region of each pixel point with a pixel value smaller than a preset pixel threshold value from the images of the front side of the mobile phone and the surrounding region of the mobile phone, and taking the continuous region of each identified pixel point as a candidate region of each mobile phone outline;
and screening out the finally determined mobile phone outline area from each mobile phone outline candidate area.
According to another aspect of the present invention, there is also provided a computer-readable storage medium having stored thereon computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, cause the processor to:
the front side of the mobile phone is upward, and the back side of the mobile phone and the surrounding area of the mobile phone are irradiated from bottom to top through a light source;
shooting images of the front side of the mobile phone and the surrounding area of the mobile phone, which are irradiated by the light source in a screen-off state of the mobile phone, from top to bottom through a shooting device;
identifying a continuous region of each pixel point with a pixel value smaller than a preset pixel threshold value from the images of the front side of the mobile phone and the surrounding region of the mobile phone, and taking the continuous region of each identified pixel point as a candidate region of each mobile phone outline;
and screening out the finally determined mobile phone outline area from each mobile phone outline candidate area.
Compared with the prior art, the method has the advantages that the image of the front face of the mobile phone and the surrounding area of the mobile phone in the screen-off state is shot by the shooting device from top to bottom, the outline area of the mobile phone which is not illuminated by the light source and the surrounding area of the mobile phone which is illuminated by the light source can be obtained in the image, and therefore the outline area of the mobile phone which is not illuminated by the light source can be identified in the image; in addition, in each mobile phone profile candidate area identified in the image, the area not illuminated by the light source, except the mobile phone profile area, may also include profile areas of other unrelated objects, so a finally determined mobile phone profile area needs to be screened out from each mobile phone profile candidate area, thereby ensuring the accuracy of mobile phone profile area identification, and subsequently, the mobile phone position can be accurately positioned based on the mobile phone profile area, and the mobile phone can be reliably moved based on positioning.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
FIG. 1 shows a flow chart of a handset profile location method according to an embodiment of the invention;
fig. 2 is a schematic diagram illustrating a mobile phone and a surrounding area of the mobile phone illuminated by a light source according to an embodiment of the invention.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present invention is described in further detail below with reference to the attached drawing figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
As shown in fig. 1 and 2, the present invention provides a mobile phone profile positioning method, including:
step S1, the front side of the mobile phone is upward, and the back side of the mobile phone 2 and the surrounding area 3 of the mobile phone are irradiated from bottom to top through the light source 1;
here, the front side of the mobile phone may be a side of the mobile phone with a screen, and the back side of the mobile phone may be a side of the mobile phone without the screen;
step S2, shooting the images of the front face and the surrounding area of the mobile phone irradiated by the light source 1 from top to bottom by the shooting device 4 under the screen-off state of the mobile phone;
step S3, identifying areas with continuous pixel points of which the pixel values are smaller than a preset pixel threshold value from the images of the front face of the mobile phone and the surrounding areas of the mobile phone, and taking the areas with continuous pixel points as the profile candidate areas of the mobile phone;
here, a certain pixel point is in 8 neighborhoods of another pixel point, the two pixel points can be considered to be continuous, and 2 or more than 2 continuous pixel points can form a region with continuous pixel points;
a pixel point with a pixel value of 0 being black and a pixel value of 255 representing a white pixel point;
and step S4, screening the finally determined mobile phone outline areas from the mobile phone outline candidate areas.
The image of the front face of the mobile phone and the surrounding area of the mobile phone in the screen-off state is shot by the shooting device from top to bottom, and the outline area of the mobile phone which is not illuminated by the light source and the surrounding area of the mobile phone which is illuminated by the light source can be obtained in the image, so that the outline area of the mobile phone which is not illuminated by the light source can be identified in the image; in addition, in each mobile phone profile candidate area identified in the image, the area not illuminated by the light source, except the mobile phone profile area, may also include profile areas of other unrelated objects, so a finally determined mobile phone profile area needs to be screened out from each mobile phone profile candidate area, thereby ensuring the accuracy of mobile phone profile area identification, and subsequently, the mobile phone position can be accurately positioned based on the mobile phone profile area, and the mobile phone can be reliably moved based on positioning.
In an embodiment of the mobile phone profile positioning method, the light source is a surface light source, so that the back surface of the mobile phone and the surrounding area of the mobile phone can be irradiated from bottom to top, and the irradiated area is larger than the area of the mobile phone.
In an embodiment of the mobile phone profile positioning method of the present invention, in step S4, screening out a finally determined mobile phone profile area from each mobile phone profile candidate area includes:
step S41, calculating the area of each mobile phone contour candidate region;
and step S42, taking the mobile phone outline candidate region with the area larger than the preset area threshold value as the finally determined mobile phone outline region.
Here, the area of the mobile phone is generally the largest area in the identified mobile phone profile candidate areas, and the irrelevant areas can be accurately removed by taking the mobile phone profile candidate areas with the areas larger than the preset area threshold as the finally determined mobile phone profile areas.
In an embodiment of the mobile phone profile positioning method of the present invention, in step S4, screening out a finally determined mobile phone profile area from each mobile phone profile candidate area includes:
step S43, acquiring the minimum circumscribed rotating rectangle of each mobile phone outline candidate area, and calculating the length-width ratio of each minimum circumscribed rotating rectangle;
and step S44, taking the cell phone profile candidate area with the aspect ratio larger than the preset aspect ratio threshold as the finally determined cell phone profile area.
Here, the aspect ratio of the mobile phone is generally greater than the preset aspect ratio threshold, and the mobile phone profile candidate region with the aspect ratio greater than the preset aspect ratio threshold is used as the finally determined mobile phone profile region, so that the irrelevant region can be accurately removed.
In an embodiment of the mobile phone profile positioning method of the present invention, in step S4, screening out a finally determined mobile phone profile area from each mobile phone profile candidate area includes:
step S45, calculating the area of each mobile phone contour candidate region;
step S46, acquiring the minimum circumscribed rotating rectangle of each mobile phone outline candidate area, and calculating the length-width ratio of each minimum circumscribed rotating rectangle;
step S47, the mobile phone profile candidate region with the area larger than the preset area threshold and the aspect ratio larger than the preset aspect ratio threshold is used as the finally determined mobile phone profile region.
Here, the mobile phone profile candidate region with the area larger than the preset area threshold and the aspect ratio larger than the preset aspect ratio threshold is used as the finally determined mobile phone profile region, so that the mobile phone profile region can be accurately acquired.
As shown in fig. 2, the present invention provides a mobile phone profile positioning apparatus, comprising:
the device is used for enabling the front side of the mobile phone 2 to face upwards and irradiating the back side of the mobile phone 2 and the peripheral area 3 of the mobile phone from bottom to top through the light source 1;
here, the front side of the mobile phone may be a side of the mobile phone with a screen, and the back side of the mobile phone may be a side of the mobile phone without the screen;
the shooting device 4 is used for shooting the images of the front side of the mobile phone and the surrounding area of the mobile phone, which are irradiated by the light source when the mobile phone is in a screen-off state, from top to bottom;
the identification device is used for identifying a continuous area of each pixel point with a pixel value smaller than a preset pixel threshold value from the images of the front side of the mobile phone and the surrounding area of the mobile phone, and taking the continuous area of each identified pixel point as a candidate area of each mobile phone outline;
here, a certain pixel point is in 8 neighborhoods of another pixel point, the two pixel points can be considered to be continuous, and 2 or more than 2 continuous pixel points can form a region with continuous pixel points;
a pixel point with a pixel value of 0 being black and a pixel value of 255 representing a white pixel point;
and the screening device is used for screening the finally determined mobile phone outline areas from all the mobile phone outline candidate areas.
The image of the front face of the mobile phone and the surrounding area of the mobile phone in the screen-off state is shot by the shooting device from top to bottom, and the outline area of the mobile phone which is not illuminated by the light source and the surrounding area of the mobile phone which is illuminated by the light source can be obtained in the image, so that the outline area of the mobile phone which is not illuminated by the light source can be identified in the image; in addition, in each mobile phone profile candidate area identified in the image, the area not illuminated by the light source, except the mobile phone profile area, may also include profile areas of other unrelated objects, so a finally determined mobile phone profile area needs to be screened out from each mobile phone profile candidate area, thereby ensuring the accuracy of mobile phone profile area identification, and subsequently, the mobile phone position can be accurately positioned based on the mobile phone profile area, and the mobile phone can be reliably moved based on positioning.
In an embodiment of the mobile phone profile positioning method, the light source is a surface light source, so that the back surface of the mobile phone and the surrounding area of the mobile phone can be irradiated from bottom to top, and the irradiated area is larger than the area of the mobile phone.
In an embodiment of the mobile phone profile positioning method of the present invention, the screening device is configured to calculate an area size of each mobile phone profile candidate region; and taking the mobile phone outline candidate region with the area larger than the preset area threshold value as the finally determined mobile phone outline region.
Here, the area of the mobile phone is generally the largest area in the identified mobile phone profile candidate areas, and the irrelevant areas can be accurately removed by taking the mobile phone profile candidate areas with the areas larger than the preset area threshold as the finally determined mobile phone profile areas.
In an embodiment of the mobile phone profile positioning method of the present invention, the screening device is configured to obtain a minimum circumscribed rotating rectangle of each mobile phone profile candidate region, and calculate an aspect ratio of each minimum circumscribed rotating rectangle; and taking the mobile phone outline candidate area with the aspect ratio larger than the preset aspect ratio threshold value as the finally determined mobile phone outline area.
Here, the aspect ratio of the mobile phone is generally greater than the preset aspect ratio threshold, and the mobile phone profile candidate region with the aspect ratio greater than the preset aspect ratio threshold is used as the finally determined mobile phone profile region, so that the irrelevant region can be accurately removed.
In an embodiment of the mobile phone profile positioning method of the present invention, the screening device is configured to calculate an area size of each mobile phone profile candidate region; acquiring a minimum external rotation rectangle of each mobile phone outline candidate area, and calculating the length-width ratio of each minimum external rotation rectangle; and taking the mobile phone contour candidate region with the area larger than the preset area threshold value and the length-width ratio larger than the preset length-width ratio threshold value as the finally determined mobile phone contour region.
Here, the mobile phone profile candidate region with the area larger than the preset area threshold and the aspect ratio larger than the preset aspect ratio threshold is used as the finally determined mobile phone profile region, so that the mobile phone profile region can be accurately acquired.
According to another aspect of the present invention, there is also provided a computing-based device, including:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
the front side of the mobile phone is upward, and the back side of the mobile phone and the surrounding area of the mobile phone are irradiated from bottom to top through a light source;
shooting images of the front side of the mobile phone and the surrounding area of the mobile phone, which are irradiated by the light source in a screen-off state of the mobile phone, from top to bottom through a shooting device;
identifying a continuous region of each pixel point with a pixel value smaller than a preset pixel threshold value from the images of the front side of the mobile phone and the surrounding region of the mobile phone, and taking the continuous region of each identified pixel point as a candidate region of each mobile phone outline;
and screening out the finally determined mobile phone outline area from each mobile phone outline candidate area.
According to another aspect of the present invention, there is also provided a computer-readable storage medium having stored thereon computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, cause the processor to:
the front side of the mobile phone is upward, and the back side of the mobile phone and the surrounding area of the mobile phone are irradiated from bottom to top through a light source;
shooting images of the front side of the mobile phone and the surrounding area of the mobile phone, which are irradiated by the light source in a screen-off state of the mobile phone, from top to bottom through a shooting device;
identifying a continuous region of each pixel point with a pixel value smaller than a preset pixel threshold value from the images of the front side of the mobile phone and the surrounding region of the mobile phone, and taking the continuous region of each identified pixel point as a candidate region of each mobile phone outline;
and screening out the finally determined mobile phone outline area from each mobile phone outline candidate area.
For details of embodiments of each device and storage medium of the present invention, reference may be made to corresponding parts of each method embodiment, and details are not described herein again.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
It should be noted that the present invention may be implemented in software and/or in a combination of software and hardware, for example, as an Application Specific Integrated Circuit (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software program of the present invention may be executed by a processor to implement the steps or functions described above. Also, the software programs (including associated data structures) of the present invention can be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Further, some of the steps or functions of the present invention may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present invention can be applied as a computer program product, such as computer program instructions, which when executed by a computer, can invoke or provide the method and/or technical solution according to the present invention through the operation of the computer. Program instructions which invoke the methods of the present invention may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the invention herein comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or solution according to embodiments of the invention as described above.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (12)

1. A mobile phone outline positioning method comprises the following steps:
the front side of the mobile phone is upward, and the back side of the mobile phone and the surrounding area of the mobile phone are irradiated from bottom to top through a light source;
shooting images of the front side of the mobile phone and the surrounding area of the mobile phone, which are irradiated by the light source in a screen-off state of the mobile phone, from top to bottom through a shooting device;
identifying a continuous region of each pixel point with a pixel value smaller than a preset pixel threshold value from the images of the front side of the mobile phone and the surrounding region of the mobile phone, and taking the continuous region of each identified pixel point as a candidate region of each mobile phone outline;
and screening out the finally determined mobile phone outline area from each mobile phone outline candidate area.
2. The method of claim 1, wherein the light source is a surface light source.
3. The method of claim 1, wherein screening out the final determined cell phone profile area from the respective cell phone profile candidate areas comprises:
calculating the area of each mobile phone outline candidate region;
and taking the mobile phone outline candidate region with the area larger than the preset area threshold value as the finally determined mobile phone outline region.
4. The method of claim 1, wherein screening out the final determined cell phone profile area from the respective cell phone profile candidate areas comprises:
acquiring a minimum external rotation rectangle of each mobile phone outline candidate area, and calculating the length-width ratio of each minimum external rotation rectangle;
and taking the mobile phone outline candidate area with the aspect ratio larger than the preset aspect ratio threshold value as the finally determined mobile phone outline area.
5. The method of claim 1, wherein screening out the final determined cell phone profile area from the respective cell phone profile candidate areas comprises:
calculating the area of each mobile phone outline candidate region;
acquiring a minimum external rotation rectangle of each mobile phone outline candidate area, and calculating the length-width ratio of each minimum external rotation rectangle;
and taking the mobile phone contour candidate region with the area larger than the preset area threshold value and the length-width ratio larger than the preset length-width ratio threshold value as the finally determined mobile phone contour region.
6. A handset contour positioning apparatus, wherein the apparatus comprises:
the device is used for enabling the front side of the mobile phone to face upwards and irradiating the back side of the mobile phone and the surrounding area of the mobile phone from bottom to top through a light source;
the shooting device is used for shooting the images of the front side of the mobile phone and the surrounding area of the mobile phone, which are irradiated by the light source when the mobile phone is in a screen-off state, from top to bottom;
the identification device is used for identifying a continuous area of each pixel point with a pixel value smaller than a preset pixel threshold value from the images of the front side of the mobile phone and the surrounding area of the mobile phone, and taking the continuous area of each identified pixel point as a candidate area of each mobile phone outline;
and the screening device is used for screening the finally determined mobile phone outline areas from all the mobile phone outline candidate areas.
7. The apparatus of claim 6, wherein the light source is a surface light source.
8. The apparatus according to claim 6, wherein the screening device is configured to calculate an area size of each cell phone outline candidate region; and taking the mobile phone outline candidate region with the area larger than the preset area threshold value as the finally determined mobile phone outline region.
9. The device according to claim 6, wherein the screening means is configured to obtain a minimum bounding rotation rectangle of each cell phone outline candidate region, and calculate an aspect ratio of each minimum bounding rotation rectangle; and taking the mobile phone outline candidate area with the aspect ratio larger than the preset aspect ratio threshold value as the finally determined mobile phone outline area.
10. The apparatus according to claim 6, wherein the screening device is configured to calculate an area size of each cell phone outline candidate region; acquiring a minimum external rotation rectangle of each mobile phone outline candidate area, and calculating the length-width ratio of each minimum external rotation rectangle; and taking the mobile phone contour candidate region with the area larger than the preset area threshold value and the length-width ratio larger than the preset length-width ratio threshold value as the finally determined mobile phone contour region.
11. A computing-based device, comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
the front side of the mobile phone is upward, and the back side of the mobile phone and the surrounding area of the mobile phone are irradiated from bottom to top through a light source;
shooting images of the front side of the mobile phone and the surrounding area of the mobile phone, which are irradiated by the light source in a screen-off state of the mobile phone, from top to bottom through a shooting device;
identifying a continuous region of each pixel point with a pixel value smaller than a preset pixel threshold value from the images of the front side of the mobile phone and the surrounding region of the mobile phone, and taking the continuous region of each identified pixel point as a candidate region of each mobile phone outline;
and screening out the finally determined mobile phone outline area from each mobile phone outline candidate area.
12. A computer-readable storage medium having computer-executable instructions stored thereon, wherein the computer-executable instructions, when executed by a processor, cause the processor to:
the front side of the mobile phone is upward, and the back side of the mobile phone and the surrounding area of the mobile phone are irradiated from bottom to top through a light source;
shooting images of the front side of the mobile phone and the surrounding area of the mobile phone, which are irradiated by the light source in a screen-off state of the mobile phone, from top to bottom through a shooting device;
identifying a continuous region of each pixel point with a pixel value smaller than a preset pixel threshold value from the images of the front side of the mobile phone and the surrounding region of the mobile phone, and taking the continuous region of each identified pixel point as a candidate region of each mobile phone outline;
and screening out the finally determined mobile phone outline area from each mobile phone outline candidate area.
CN202010072233.8A 2020-01-21 2020-01-21 Mobile phone contour positioning method and equipment Pending CN111210473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010072233.8A CN111210473A (en) 2020-01-21 2020-01-21 Mobile phone contour positioning method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010072233.8A CN111210473A (en) 2020-01-21 2020-01-21 Mobile phone contour positioning method and equipment

Publications (1)

Publication Number Publication Date
CN111210473A true CN111210473A (en) 2020-05-29

Family

ID=70787634

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010072233.8A Pending CN111210473A (en) 2020-01-21 2020-01-21 Mobile phone contour positioning method and equipment

Country Status (1)

Country Link
CN (1) CN111210473A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113034531A (en) * 2021-04-02 2021-06-25 广州绿怡信息科技有限公司 Equipment placement detection method and device
CN113034530A (en) * 2021-04-02 2021-06-25 广州绿怡信息科技有限公司 Mobile phone placement detection method and device
CN113869294A (en) * 2021-12-03 2021-12-31 深圳竹云科技有限公司 Data protection method based on computer vision and related equipment
US11798250B2 (en) 2019-02-18 2023-10-24 Ecoatm, Llc Neural network based physical condition evaluation of electronic devices, and associated systems and methods
US11843206B2 (en) 2019-02-12 2023-12-12 Ecoatm, Llc Connector carrier for electronic device kiosk
US11922467B2 (en) 2020-08-17 2024-03-05 ecoATM, Inc. Evaluating an electronic device using optical character recognition

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6455835B1 (en) * 2001-04-04 2002-09-24 International Business Machines Corporation System, method, and program product for acquiring accurate object silhouettes for shape recovery
WO2012073730A1 (en) * 2010-12-01 2012-06-07 シーシーエス株式会社 Profile line detecting method and profile line detecting apparatus
EP2660556A1 (en) * 2012-05-02 2013-11-06 proventavia GmbH Method for recording outlines of objects
JP2014110410A (en) * 2012-12-04 2014-06-12 Yamaha Motor Co Ltd Surface mounting machine and component supply device
US20160343151A1 (en) * 2014-02-06 2016-11-24 Yuyama Mfg. Co., Ltd. Medicine photographing apparatus, medicine shape measuring apparatus and medicine dispensing apparatus
CN109460766A (en) * 2018-09-29 2019-03-12 北京单多啦科技有限公司 A kind of device and method for extracting bill images from bill paper

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6455835B1 (en) * 2001-04-04 2002-09-24 International Business Machines Corporation System, method, and program product for acquiring accurate object silhouettes for shape recovery
WO2012073730A1 (en) * 2010-12-01 2012-06-07 シーシーエス株式会社 Profile line detecting method and profile line detecting apparatus
EP2660556A1 (en) * 2012-05-02 2013-11-06 proventavia GmbH Method for recording outlines of objects
JP2014110410A (en) * 2012-12-04 2014-06-12 Yamaha Motor Co Ltd Surface mounting machine and component supply device
US20160343151A1 (en) * 2014-02-06 2016-11-24 Yuyama Mfg. Co., Ltd. Medicine photographing apparatus, medicine shape measuring apparatus and medicine dispensing apparatus
CN109460766A (en) * 2018-09-29 2019-03-12 北京单多啦科技有限公司 A kind of device and method for extracting bill images from bill paper

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘韬 等: "《机器视觉及其应用技术》", 机械工业出版社, pages: 44 - 45 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11843206B2 (en) 2019-02-12 2023-12-12 Ecoatm, Llc Connector carrier for electronic device kiosk
US11798250B2 (en) 2019-02-18 2023-10-24 Ecoatm, Llc Neural network based physical condition evaluation of electronic devices, and associated systems and methods
US11922467B2 (en) 2020-08-17 2024-03-05 ecoATM, Inc. Evaluating an electronic device using optical character recognition
CN113034531A (en) * 2021-04-02 2021-06-25 广州绿怡信息科技有限公司 Equipment placement detection method and device
CN113034530A (en) * 2021-04-02 2021-06-25 广州绿怡信息科技有限公司 Mobile phone placement detection method and device
CN113869294A (en) * 2021-12-03 2021-12-31 深圳竹云科技有限公司 Data protection method based on computer vision and related equipment

Similar Documents

Publication Publication Date Title
CN111210473A (en) Mobile phone contour positioning method and equipment
CN111292302B (en) Screen detection method and device
US9665787B2 (en) Method and apparatus of extracting particular information from standard card
CN110675399A (en) Screen appearance flaw detection method and equipment
CN111325716A (en) Screen scratch fragmentation detection method and equipment
JP2020533654A (en) Holographic anti-counterfeit code inspection method and equipment
CN110827249A (en) Electronic equipment backboard appearance flaw detection method and equipment
CN110796647A (en) Method and device for detecting defects of screen area of electronic device
CN109858542B (en) Character recognition method and device
CN111311556B (en) Mobile phone defect position identification method and equipment
CN111272067A (en) Mobile phone detection method and equipment
CN110796669A (en) Vertical frame positioning method and equipment
CN110827246A (en) Electronic equipment frame appearance flaw detection method and equipment
CN110348392B (en) Vehicle matching method and device
US8761519B2 (en) System and method for selecting an object boundary in an image
CN111325717A (en) Mobile phone defect position identification method and equipment
CN112634201B (en) Target detection method and device and electronic equipment
CN110827248A (en) Method and device for identifying screen area of electronic device
CN111311687B (en) Method and equipment for detecting spatial position of mobile phone screen pixel point
CN111272388A (en) Method and device for detecting camera flash lamp
CN110879972A (en) Face detection method and device
CN111242116B (en) Screen positioning method and device
CN113011432A (en) Two-dimensional code layered display and identification method and device
CN112801987B (en) Mobile phone part abnormity detection method and equipment
CN111327745B (en) Method and equipment for testing silencing key of mobile terminal

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 1101-1103, No. 433, Songhu Road, Yangpu District, Shanghai

Applicant after: Shanghai wanwansheng Environmental Protection Technology Group Co.,Ltd.

Address before: Room 1101-1103, No. 433, Songhu Road, Yangpu District, Shanghai

Applicant before: SHANGHAI YUEYI NETWORK INFORMATION TECHNOLOGY Co.,Ltd.