[go: up one dir, main page]

CN111311687A - A method and device for spatial position detection of pixel points on a mobile phone screen - Google Patents

A method and device for spatial position detection of pixel points on a mobile phone screen Download PDF

Info

Publication number
CN111311687A
CN111311687A CN202010072276.6A CN202010072276A CN111311687A CN 111311687 A CN111311687 A CN 111311687A CN 202010072276 A CN202010072276 A CN 202010072276A CN 111311687 A CN111311687 A CN 111311687A
Authority
CN
China
Prior art keywords
mobile phone
screen
target mobile
coordinate
physical
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
CN202010072276.6A
Other languages
Chinese (zh)
Other versions
CN111311687B (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.)
Shanghai Wanwu Xinsheng Information Technology Group 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 CN202010072276.6A priority Critical patent/CN111311687B/en
Publication of CN111311687A publication Critical patent/CN111311687A/en
Application granted granted Critical
Publication of CN111311687B publication Critical patent/CN111311687B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/80Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The method comprises the steps of determining a coordinate transformation relation of a target mobile phone, wherein the coordinate transformation relation is used for converting a screen plane coordinate system of the target mobile phone into a test physical space coordinate system of the target mobile phone; in the mobile phone testing process, screen pixel coordinates of any pixel point on a screen of a target mobile phone in a screen plane coordinate system are obtained; the method comprises the steps of obtaining a physical space coordinate of any pixel point on a screen of a target mobile phone based on a screen pixel coordinate and a coordinate transformation relation, and realizing that any point in a screen plane coordinate system of the target mobile phone can be converted into the whole physical test environment in the mobile phone test process, so that the physical position of any point on the screen of the tested target mobile phone is determined, and the physical space position of the detected defect point of the target mobile phone is convenient to determine.

Description

一种手机屏幕像素点的空间位置检测方法及设备A method and device for spatial position detection of pixel points on a mobile phone screen

技术领域technical field

本申请涉及计算机领域,尤其涉及一种手机屏幕像素点的空间位置检测方法及设备。The present application relates to the field of computers, and in particular, to a method and device for detecting the spatial position of pixels on a mobile phone screen.

背景技术Background technique

现有技术中,人们对智能手机的使用范围越来越广,使用需求也越来越多,从而推进了智能手机的不断更新换代。由于手机的不断更新换代,也就存在不同版本的旧式手机的回收利用,在对智能手机进行回收的过程中,采用人力对回收的智能手机进行屏幕表面是否完好的检查,导致对回收的智能手机进行屏幕表面完好性检查时的人力成本高且效率低。In the prior art, people use smart phones more and more widely, and there are more and more usage demands, thus promoting the continuous upgrading of smart phones. Due to the continuous upgrading of mobile phones, there are different versions of old mobile phones for recycling. In the process of recycling smart phones, manpower is used to check whether the screen surfaces of the recycled smart phones are in good condition, resulting in the recycling of smart phones. Labor costs and inefficiencies are high when performing screen surface integrity checks.

发明内容SUMMARY OF THE INVENTION

本申请的一个目的是提供一种手机屏幕像素点的空间位置检测方法及设备,以解决现有技术中对回收的手机屏幕进行完好性检测时导致的人力成本高且效率低的问题。An object of the present application is to provide a method and device for detecting the spatial position of pixel points on a mobile phone screen, so as to solve the problems of high labor cost and low efficiency caused by the integrity detection of the recovered mobile phone screen in the prior art.

根据本申请的一个方面,提供了一种手机屏幕像素点的空间位置检测方法,其中,所述方法包括:According to one aspect of the present application, there is provided a method for detecting the spatial position of pixels on a mobile phone screen, wherein the method includes:

确定目标手机的坐标变换关系,其中,所述坐标变换关系用于将所述目标手机的屏幕平面坐标系转换为所述目标手机的测试物理空间坐标系;Determine the coordinate transformation relationship of the target mobile phone, wherein the coordinate transformation relationship is used to convert the screen plane coordinate system of the target mobile phone into the test physical space coordinate system of the target mobile phone;

在手机测试过程中,获取所述目标手机的屏幕上的任意一像素点在所述屏幕平面坐标系中的屏幕像素坐标;In the mobile phone testing process, obtain the screen pixel coordinates of any pixel on the screen of the target mobile phone in the screen plane coordinate system;

基于所述屏幕像素坐标和所述坐标变换关系,得到所述目标手机的屏幕上的任意一所述像素点的物理空间坐标。Based on the screen pixel coordinates and the coordinate transformation relationship, the physical space coordinates of any pixel on the screen of the target mobile phone are obtained.

进一步地,上述方法中,所述确定目标手机的坐标变换关系,包括:Further, in the above method, the determining the coordinate transformation relationship of the target mobile phone includes:

将所述目标手机平放在所述测试物理环境中,所述测试物理空间坐标系用于对所述测试物理环境中的手机的任意一点进行坐标标记;The target mobile phone is placed flat in the test physical environment, and the test physical space coordinate system is used to coordinate any point of the mobile phone in the test physical environment;

获取所述目标手机的平放面的一角在所述测试物理空间坐标系中的第一物理坐标位置,和所述一角的斜对角在所述测试物理空间坐标系中的第二物理坐标位置;Obtain the first physical coordinate position of a corner of the flat surface of the target mobile phone in the test physical space coordinate system, and the second physical coordinate position of the diagonal diagonal angle of the corner in the test physical space coordinate system ;

获取所述目标手机的屏幕的一角在所述屏幕平面坐标系中的第一屏幕坐标位置和所述屏幕的一角的斜对角在所述屏幕平面坐标系中的第二屏幕坐标位置;Obtain the first screen coordinate position of a corner of the screen of the target mobile phone in the screen plane coordinate system and the second screen coordinate position of the diagonally diagonal corner of the screen corner in the screen plane coordinate system;

根据所述第一物理坐标位置、所述第一屏幕坐标位置、所述第二物理坐标位置及所述第二屏幕坐标位置,确定所述目标手机的所述坐标变换关系。The coordinate transformation relationship of the target mobile phone is determined according to the first physical coordinate position, the first screen coordinate position, the second physical coordinate position, and the second screen coordinate position.

进一步地,上述方法中,所述根据所述第一物理坐标位置、所述第一屏幕坐标位置、所述第二物理坐标位置及所述第二屏幕坐标位置,确定所述目标手机的所述坐标变换关系,包括:Further, in the above method, the said first physical coordinate position, said first screen coordinate position, said second physical coordinate position and said second screen coordinate position, said determining said target mobile phone Coordinate transformation relationship, including:

根据所述第一物理坐标位置和所述第二物理坐标位置,计算所述目标手机的长度和宽度;Calculate the length and width of the target mobile phone according to the first physical coordinate position and the second physical coordinate position;

根据所述目标手机的长度和宽度及所述目标手机在所述屏幕平面坐标系中的所述第一屏幕坐标位置和所述第二屏幕坐标位置,计算得到所述目标手机的所述坐标变换关系。According to the length and width of the target mobile phone and the first screen coordinate position and the second screen coordinate position of the target mobile phone in the screen plane coordinate system, the coordinate transformation of the target mobile phone is calculated and obtained relation.

根据本申请的另一个方面,还提供了一种手机屏幕像素点的空间位置检测设备,其中,所述设备包括:According to another aspect of the present application, there is also provided a device for detecting the spatial position of pixels on a mobile phone screen, wherein the device includes:

确定装置,用于确定目标手机的坐标变换关系,其中,所述坐标变换关系用于将所述目标手机的屏幕平面坐标系转换为所述目标手机的测试物理空间坐标系;a determining device for determining the coordinate transformation relationship of the target mobile phone, wherein the coordinate transformation relationship is used to convert the screen plane coordinate system of the target mobile phone into the test physical space coordinate system of the target mobile phone;

获取装置,用于在手机测试过程中,获取所述目标手机的屏幕上的任意一像素点在所述屏幕平面坐标系中的屏幕像素坐标;an acquisition device, used for acquiring the screen pixel coordinates of any pixel point on the screen of the target mobile phone in the screen plane coordinate system during the mobile phone testing process;

检测装置,用于基于所述屏幕像素坐标和所述坐标变换关系,得到所述目标手机的屏幕上的任意一所述像素点的物理空间坐标。A detection device, configured to obtain the physical space coordinates of any pixel point on the screen of the target mobile phone based on the screen pixel coordinates and the coordinate transformation relationship.

进一步地,上述设备中,所述确定装置用于:Further, in the above equipment, the determining device is used for:

将所述目标手机平放在所述测试物理环境中,所述测试物理空间坐标系用于对所述测试物理环境中的手机的任意一点进行坐标标记;The target mobile phone is placed flat in the test physical environment, and the test physical space coordinate system is used to coordinate any point of the mobile phone in the test physical environment;

获取所述目标手机的平放面的一角在所述测试物理空间坐标系中的第一物理坐标位置,和所述一角的斜对角在所述测试物理空间坐标系中的第二物理坐标位置;Obtain the first physical coordinate position of a corner of the flat surface of the target mobile phone in the test physical space coordinate system, and the second physical coordinate position of the diagonal diagonal angle of the corner in the test physical space coordinate system ;

获取所述目标手机的屏幕的一角在所述屏幕平面坐标系中的第一屏幕坐标位置和所述屏幕的一角的斜对角在所述屏幕平面坐标系中的第二屏幕坐标位置;Obtain the first screen coordinate position of a corner of the screen of the target mobile phone in the screen plane coordinate system and the second screen coordinate position of the diagonally diagonal corner of the screen corner in the screen plane coordinate system;

根据所述第一物理坐标位置、所述第一屏幕坐标位置、所述第二物理坐标位置及所述第二屏幕坐标位置,确定所述目标手机的所述坐标变换关系。The coordinate transformation relationship of the target mobile phone is determined according to the first physical coordinate position, the first screen coordinate position, the second physical coordinate position, and the second screen coordinate position.

进一步地,上述设备中,所述确定装置用于:Further, in the above equipment, the determining device is used for:

根据所述第一物理坐标位置和所述第二物理坐标位置,计算所述目标手机的长度和宽度;Calculate the length and width of the target mobile phone according to the first physical coordinate position and the second physical coordinate position;

根据所述目标手机的长度和宽度及所述目标手机在所述屏幕平面坐标系中的所述第一屏幕坐标位置和所述第二屏幕坐标位置,计算得到所述目标手机的所述坐标变换关系。According to the length and width of the target mobile phone and the first screen coordinate position and the second screen coordinate position of the target mobile phone in the screen plane coordinate system, the coordinate transformation of the target mobile phone is calculated and obtained relation.

根据本申请的另一个方面,还提供了一种非易失性存储介质,其上存储有计算机可读指令,所述计算机可读指令可被处理器执行时,使所述处理器实现如上述手机屏幕像素点的空间位置检测方法。According to another aspect of the present application, there is also provided a non-volatile storage medium having computer-readable instructions stored thereon. When the computer-readable instructions can be executed by a processor, the processor can implement the above-mentioned The spatial position detection method of the pixel point of the mobile phone screen.

与现有技术相比,本申请通过先确定目标手机的坐标变换关系,该坐标变换关系用于将所述目标手机的屏幕平面坐标系转换为所述目标手机的测试物理空间坐标系;在手机测试过程中,获取所述目标手机的屏幕上的任意一像素点在所述屏幕平面坐标系中的屏幕像素坐标;基于所述屏幕像素坐标和所述坐标变换关系,得到所述目标手机的屏幕上的任意一所述像素点的物理空间坐标,实现将目标手机的屏幕上的任意一点的屏幕像素坐标转换为物理空间坐标,使得在手机测试过程中,能够将目标手机本身的屏幕平面坐标系中的任意一点转换至整个物理测试环境中,从而实现对测试的目标手机的屏幕上的任意一点的物理位置的确定,便于确定检测到目标手机存在缺陷点的物理空间位置等。Compared with the prior art, the present application first determines the coordinate transformation relationship of the target mobile phone, and the coordinate transformation relationship is used to convert the screen plane coordinate system of the target mobile phone into the test physical space coordinate system of the target mobile phone; During the test, obtain the screen pixel coordinates of any pixel on the screen of the target mobile phone in the screen plane coordinate system; based on the screen pixel coordinates and the coordinate transformation relationship, obtain the screen of the target mobile phone. The physical space coordinates of any one of the pixel points on the screen of the target mobile phone can convert the screen pixel coordinates of any point on the screen of the target mobile phone into physical space coordinates, so that in the process of mobile phone testing, the screen plane coordinate system of the target mobile phone itself can be converted. Convert any point in the test environment to the whole physical test environment, so as to realize the determination of the physical position of any point on the screen of the target mobile phone under test, which is convenient to determine the physical space position of the defect point in the target mobile phone.

附图说明Description of drawings

通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

图1示出根据本申请一个方面的一种手机屏幕像素点的空间位置检测方法的流程示意图;1 shows a schematic flowchart of a method for detecting spatial positions of pixels on a mobile phone screen according to an aspect of the present application;

图2示出根据本申请一个方面的一种手机屏幕像素点的空间位置检测设备的结构示意图。FIG. 2 shows a schematic structural diagram of a device for detecting spatial positions of pixels on a mobile phone screen according to an aspect of the present application.

附图中相同或相似的附图标记代表相同或相似的部件。The same or similar reference numbers in the drawings represent the same or similar parts.

具体实施方式Detailed ways

下面结合附图对本申请作进一步详细描述。The present application will be described in further detail below with reference to the accompanying drawings.

在本申请一个典型的配置中,终端、服务网络的设备和可信方均包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。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.

内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, 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 Disc (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape 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. Computer-readable media, as defined herein, excludes non-transitory computer-readable media, such as modulated data signals and carrier waves.

如图1所示,本申请一个方面的一种手机屏幕像素点的空间位置检测方法的流程示意图,应用于对待检测的目标手机进行完好性或是否存在缺陷的检测过程中,该方法包括步骤S11、步骤S12和步骤S13,其中,具体包括如下步骤:As shown in FIG. 1 , a schematic flowchart of a method for detecting the spatial position of pixel points on a mobile phone screen according to an aspect of the present application is applied to the process of detecting the integrity or whether there is a defect of a target mobile phone to be detected, and the method includes step S11 , Step S12 and Step S13, which specifically include the following steps:

步骤S11,确定目标手机的坐标变换关系,其中,所述坐标变换关系用于将所述目标手机的屏幕平面坐标系转换为所述目标手机的测试物理空间坐标系。在此,所述目标手机的屏幕平面坐标系用于指示所述目标手机自身的屏幕平面的坐标,比如,将所述目标手机的平放面的左上角视为坐标原点,目标手机的横竖分别视为横坐标、纵坐标;再比如,将所述目标手机的平放面的中心点视为坐标原点,基于所述坐标原点在所述平放面中进行横、纵坐标的标定,以实现对所述目标手机自身的屏幕平面坐标系的确定。所述目标手机的测试物理空间坐标系用于指示所述目标手机在所处的测试物理环境中的坐标系,便于对目标手机进行整体物理空间的标记和确定。Step S11, determining the coordinate transformation relationship of the target mobile phone, wherein the coordinate transformation relationship is used to convert the screen plane coordinate system of the target mobile phone into the test physical space coordinate system of the target mobile phone. Here, the screen plane coordinate system of the target mobile phone is used to indicate the coordinates of the screen plane of the target mobile phone itself. It is regarded as abscissa and ordinate; for another example, the center point of the flat surface of the target mobile phone is regarded as the coordinate origin, and the horizontal and vertical coordinates are calibrated in the flat surface based on the coordinate origin to achieve Determination of the screen plane coordinate system of the target mobile phone itself. The test physical space coordinate system of the target mobile phone is used to indicate the coordinate system of the target mobile phone in the test physical environment, which is convenient for marking and determining the overall physical space of the target mobile phone.

当需要对目标手机进行完好性或是否存在缺陷的测试时,在对目标手机进行测试的过程中,步骤S12,获取所述目标手机的屏幕上的任意一像素点在所述屏幕平面坐标系中的屏幕像素坐标;在此,所述目标手机上的任意一像素点可以是存在缺陷的点,比如,损坏点、反光点及Home主键所在屏幕范围的像素点等。When it is necessary to test the integrity of the target mobile phone or whether there is a defect, in the process of testing the target mobile phone, step S12, obtain any pixel on the screen of the target mobile phone in the screen plane coordinate system Here, any pixel point on the target mobile phone can be a point with defects, such as a damaged point, a reflective point, and a pixel point in the screen area where the Home key is located.

步骤S13,基于所述屏幕像素坐标和所述坐标变换关系,得到所述目标手机上的任意一所述像素点的物理空间坐标,实现将所述目标手机中的任意一像素点从所述目标手机的屏幕平面坐标系中转换至整体的物理测试环境中的测试物理空间坐标系下。Step S13, based on the screen pixel coordinates and the coordinate transformation relationship, obtain the physical space coordinates of any one of the pixel points on the target mobile phone, and realize the conversion of any pixel point in the target mobile phone from the target mobile phone. The screen plane coordinate system of the mobile phone is converted to the test physical space coordinate system in the overall physical test environment.

通过上述步骤S11至步骤S13,实现了将目标手机的任意一点的屏幕像素坐标转换为物理空间坐标,使得在手机测试过程中,能够将目标手机本身的屏幕平面坐标系中的任意一点转换至整个物理测试环境中,从而实现对测试的目标手机的屏幕上的任意一点的物理位置的确定,便于确定检测到目标手机存在缺陷点或检测点的物理空间位置等。Through the above steps S11 to S13, the screen pixel coordinates of any point of the target mobile phone are converted into physical space coordinates, so that during the mobile phone test process, any point in the screen plane coordinate system of the target mobile phone itself can be converted to the entire In the physical test environment, the physical position of any point on the screen of the target mobile phone to be tested can be determined, and it is convenient to determine the physical space position of the defect point or the detection point of the target mobile phone.

例如,先在步骤S11中确定用于将所述目标手机的屏幕平面坐标系转换为所述目标手机的测试物理空间坐标系A;当需要对目标手机进行完好性或是否存在缺陷的测试时,在对目标手机进行测试的过程中,若步骤S12获取的所述目标手机上的任意一像素点为像素点D,且该像素点D在所述屏幕平面坐标系中的屏幕像素坐标X;在步骤S13中基于所述屏幕像素坐标X和所述坐标变换关系A,得到所述目标手机上的任意一所述像素点的物理空间坐标Y,即Y=AX,实现将所述目标手机中的任意一像素点从所述目标手机的屏幕平面坐标系中转换至整体的物理测试环境中的测试物理空间坐标系下。For example, in step S11, first determine the test physical space coordinate system A used to convert the screen plane coordinate system of the target mobile phone into the test physical space coordinate system A of the target mobile phone; when the target mobile phone needs to be tested for integrity or whether there is a defect, In the process of testing the target mobile phone, if any pixel point on the target mobile phone obtained in step S12 is a pixel point D, and the pixel point D is in the screen pixel coordinate X in the screen plane coordinate system; In step S13, based on the screen pixel coordinate X and the coordinate transformation relationship A, the physical space coordinate Y of any one of the pixel points on the target mobile phone is obtained, that is, Y=AX, so as to realize the transformation of the target mobile phone. Any pixel is converted from the screen plane coordinate system of the target mobile phone to the test physical space coordinate system in the overall physical test environment.

接着本申请的上述实施例,所述步骤S11确定目标手机的坐标变换关系,其中,所述坐标变换关系用于将所述目标手机的屏幕平面坐标系转换为所述目标手机的测试物理空间坐标系,具体包括:Following the above-mentioned embodiment of the present application, the step S11 determines the coordinate transformation relationship of the target mobile phone, wherein the coordinate transformation relationship is used to convert the screen plane coordinate system of the target mobile phone into the test physical space coordinates of the target mobile phone department, including:

将所述目标手机平放在所述测试物理环境中,所述测试物理空间坐标系用于对所述测试物理环境中的手机的任意一点进行坐标标记;The target mobile phone is placed flat in the test physical environment, and the test physical space coordinate system is used to coordinate any point of the mobile phone in the test physical environment;

获取所述目标手机的平放面的一角在所述测试物理空间坐标系中的第一物理坐标位置,和所述一角的斜对角在所述测试物理空间坐标系中的第二物理坐标位置;Obtain the first physical coordinate position of a corner of the flat surface of the target mobile phone in the test physical space coordinate system, and the second physical coordinate position of the diagonal diagonal angle of the corner in the test physical space coordinate system ;

获取所述目标手机的屏幕的一角在所述屏幕平面坐标系中的第一屏幕坐标位置和所述屏幕的一角的斜对角在所述屏幕平面坐标系中的第二屏幕坐标位置;Obtain the first screen coordinate position of a corner of the screen of the target mobile phone in the screen plane coordinate system and the second screen coordinate position of the diagonally diagonal corner of the screen corner in the screen plane coordinate system;

根据所述第一物理坐标位置、所述第一屏幕坐标位置、所述第二物理坐标位置及所述第二屏幕坐标位置,确定所述目标手机的所述坐标变换关系。The coordinate transformation relationship of the target mobile phone is determined according to the first physical coordinate position, the first screen coordinate position, the second physical coordinate position, and the second screen coordinate position.

例如,为了便于将所述目标手机的屏幕平面坐标系转换为所述目标手机的测试物理空间坐标系,在确定所述坐标变换关系的过程中,先将所述目标手机平放在所述测试物理环境中,用于对目标手机表面或者屏幕进行完好性或是否存在缺陷点的检测,为了便于对所述测试物理环境中的所述目标手机的任意一像素点进行标记,在所述测试物理环境中创建对应的测试物理空间坐标系,便于对目标手机上的任意一像素点进行整体的物理空间定位;接着,获取所述目标手机的平放面的一角V在所述测试物理空间坐标系中的第一物理坐标位置,和所述一角V的斜对角V’在所述测试物理空间坐标系中的第二物理坐标位置;然后,获取所述目标手机的屏幕P的一角V(屏)在所述屏幕平面坐标系中的第一屏幕坐标位置和所述屏幕P的一角V(屏)的斜对角V’(屏)在所述屏幕平面坐标系中的第二屏幕坐标位置;根据所述第一物理坐标位置、所述第一屏幕坐标位置、所述第二物理坐标位置及所述第二屏幕坐标位置,确定所述目标手机的所述坐标变换关系A,实现对所述坐标变换关系A的确定。For example, in order to facilitate the conversion of the screen plane coordinate system of the target mobile phone into the test physical space coordinate system of the target mobile phone, in the process of determining the coordinate transformation relationship, first place the target mobile phone flat on the test In the physical environment, it is used to detect the integrity of the surface or screen of the target mobile phone or whether there are defects. In order to facilitate marking any pixel of the target mobile phone in the test physical environment, the test physical Create a corresponding test physical space coordinate system in the environment to facilitate the overall physical space positioning of any pixel on the target mobile phone; then, obtain a corner V of the flat surface of the target mobile phone in the test physical space coordinate system The first physical coordinate position in the first physical coordinate position, and the second physical coordinate position of the diagonal diagonal angle V' of the corner V in the test physical space coordinate system; Then, obtain the corner V (screen of the screen P of the target mobile phone ) the second screen coordinate position of the first screen coordinate position in the screen plane coordinate system and the diagonal diagonal angle V' (screen) of a corner V (screen) of the screen P in the screen plane coordinate system; According to the first physical coordinate position, the first screen coordinate position, the second physical coordinate position and the second screen coordinate position, the coordinate transformation relationship A of the target mobile phone is determined, so as to realize the The determination of the coordinate transformation relationship A.

接着本申请的上述实施例,所述步骤S11中的根据所述第一物理坐标位置、所述第一屏幕坐标位置、所述第二物理坐标位置及所述第二屏幕坐标位置,确定所述目标手机的所述坐标变换关系,具体包括:Following the above-mentioned embodiment of the present application, in step S11, the first physical coordinate position, the first screen coordinate position, the second physical coordinate position and the second screen coordinate position are determined to determine the The coordinate transformation relationship of the target mobile phone specifically includes:

根据所述第一物理坐标位置和所述第二物理坐标位置,计算所述目标手机的长度和宽度;Calculate the length and width of the target mobile phone according to the first physical coordinate position and the second physical coordinate position;

根据所述目标手机的长度和宽度及所述目标手机在所述屏幕平面坐标系中的所述第一屏幕坐标位置和所述第二屏幕坐标位置,计算得到所述目标手机的所述坐标变换关系。According to the length and width of the target mobile phone and the first screen coordinate position and the second screen coordinate position of the target mobile phone in the screen plane coordinate system, the coordinate transformation of the target mobile phone is calculated and obtained relation.

例如,根据所述目标手机的平放面的一角V(比如,左上角)在所述测试物理空间坐标系中的第一物理坐标位置和所述一角V(比如,左上角)的斜对角V’(比如,右下角)在所述测试物理空间坐标系中的第二物理坐标位置,计算得到所述目标手机的长度和宽度,以便计算出所述目标手机的整体平放面的实际屏幕范围;然后再根据述目标手机的屏幕P的一角V(屏)在所述屏幕平面坐标系中的第一屏幕坐标位置和所述屏幕P的一角V(屏)的斜对角V’(屏)在所述屏幕平面坐标系中的第二屏幕坐标位置,计算出所述目标手机的整体与所述目标手机的屏幕之间的比例,即所述坐标变换关系,以便后续能够根据所述比例将所述目标手机的屏幕上的任意一像素点的屏幕像素坐标转换为测试物理环境中的物理空间坐标。For example, according to the first physical coordinate position of the corner V (eg, the upper left corner) of the flat surface of the target mobile phone in the test physical space coordinate system and the diagonally opposite corner of the corner V (eg, the upper left corner) The second physical coordinate position of V' (for example, the lower right corner) in the test physical space coordinate system, the length and width of the target mobile phone are calculated, so as to calculate the actual screen of the overall flat surface of the target mobile phone range; then according to the first screen coordinate position of the corner V (screen) of the screen P of the target mobile phone in the screen plane coordinate system and the diagonal diagonal angle V' (screen) of the corner V (screen) of the screen P ) in the coordinate position of the second screen in the screen plane coordinate system, calculate the ratio between the whole of the target mobile phone and the screen of the target mobile phone, that is, the coordinate transformation relationship, so that the subsequent can be based on the ratio. Convert the screen pixel coordinates of any pixel on the screen of the target mobile phone into physical space coordinates in the test physical environment.

如图2所示,本申请一个方面的一种手机屏幕像素点的空间位置检测设备的结构示意图,应用于对待检测的目标手机进行完好性或是否存在缺陷的检测过程中,该设备包括确定装置11、获取装置12和检测装置13,其中,具体包括如下步骤:As shown in FIG. 2 , a schematic structural diagram of a device for detecting the spatial position of pixel points on a mobile phone screen according to an aspect of the present application is applied in the process of detecting the integrity or whether there is a defect of a target mobile phone to be detected. The device includes a determining device. 11. The acquisition device 12 and the detection device 13, which specifically include the following steps:

所述确定装置11,用于确定目标手机的坐标变换关系,其中,所述坐标变换关系用于将所述目标手机的屏幕平面坐标系转换为所述目标手机的测试物理空间坐标系。在此,所述目标手机的屏幕平面坐标系用于指示所述目标手机自身的屏幕平面的坐标,比如,将所述目标手机的平放面的左上角视为坐标原点,目标手机的横竖分别视为横坐标、纵坐标;再比如,将所述目标手机的平放面的中心点视为坐标原点,基于所述坐标原点在所述平放面中进行横、纵坐标的标定,以实现对所述目标手机自身的屏幕平面坐标系的确定。所述目标手机的测试物理空间坐标系用于指示所述目标手机在所处的测试物理环境中的坐标系,便于对目标手机进行整体物理空间的标记和确定。The determining device 11 is configured to determine the coordinate transformation relationship of the target mobile phone, wherein the coordinate transformation relationship is used to convert the screen plane coordinate system of the target mobile phone into the test physical space coordinate system of the target mobile phone. Here, the screen plane coordinate system of the target mobile phone is used to indicate the coordinates of the screen plane of the target mobile phone itself. It is regarded as abscissa and ordinate; for another example, the center point of the flat surface of the target mobile phone is regarded as the coordinate origin, and the horizontal and vertical coordinates are calibrated in the flat surface based on the coordinate origin to achieve Determination of the screen plane coordinate system of the target mobile phone itself. The test physical space coordinate system of the target mobile phone is used to indicate the coordinate system of the target mobile phone in the test physical environment, which is convenient for marking and determining the overall physical space of the target mobile phone.

当需要对目标手机进行完好性或是否存在缺陷的测试时,在对目标手机进行测试的过程中,所述获取装置12用于获取所述目标手机的屏幕上的任意一像素点在所述屏幕平面坐标系中的屏幕像素坐标;在此,所述目标手机上的任意一像素点可以是存在缺陷的点,比如,损坏点、反光点及Home主键所在屏幕范围的像素点等。When it is necessary to test the integrity of the target mobile phone or whether there is a defect, in the process of testing the target mobile phone, the acquiring device 12 is used to acquire any pixel on the screen of the target mobile phone. Screen pixel coordinates in a plane coordinate system; here, any pixel on the target mobile phone may be a defective point, such as a damaged point, a reflective point, and a pixel in the screen area where the Home key is located.

所述检测装置13,用于基于所述屏幕像素坐标和所述坐标变换关系,得到所述目标手机上的任意一所述像素点的物理空间坐标,实现将所述目标手机中的任意一像素点从所述目标手机的屏幕平面坐标系中转换至整体的物理测试环境中的测试物理空间坐标系下。The detection device 13 is configured to obtain the physical space coordinates of any pixel on the target mobile phone based on the screen pixel coordinates and the coordinate transformation relationship, so as to convert any pixel in the target mobile phone. The point is converted from the screen plane coordinate system of the target mobile phone to the test physical space coordinate system in the overall physical test environment.

通过上述确定装置11、获取装置12和检测装置13,实现了将目标手机的任意一点的屏幕像素坐标转换为物理空间坐标,使得在手机测试过程中,能够将目标手机本身的屏幕平面坐标系中的任意一点转换至整个物理测试环境中,从而实现对测试的目标手机的屏幕上的任意一点的物理位置的确定,便于确定检测到目标手机存在缺陷点或检测点的物理空间位置等。Through the above determination device 11, acquisition device 12 and detection device 13, the screen pixel coordinates of any point of the target mobile phone are converted into physical space coordinates, so that in the process of mobile phone testing, the screen plane coordinate system of the target mobile phone itself can be converted into Convert any point of the mobile phone to the entire physical test environment, so as to realize the determination of the physical position of any point on the screen of the target mobile phone under test, which is convenient to determine the physical space position of the detected defect point or the detection point of the target mobile phone.

例如,先在确定装置11中确定用于将所述目标手机的屏幕平面坐标系转换为所述目标手机的测试物理空间坐标系A;当需要对目标手机进行完好性或是否存在缺陷的测试时,在对目标手机进行测试的过程中,若获取装置12中获取的所述目标手机上的任意一像素点为像素点D,且该像素点D在所述屏幕平面坐标系中的屏幕像素坐标X;在检测装置13中基于所述屏幕像素坐标X和所述坐标变换关系A,得到所述目标手机上的任意一所述像素点的物理空间坐标Y,即Y=AX,实现将所述目标手机中的任意一像素点从所述目标手机的屏幕平面坐标系中转换至整体的物理测试环境中的测试物理空间坐标系下。For example, first determine in the determining device 11 to convert the screen plane coordinate system of the target mobile phone into the test physical space coordinate system A of the target mobile phone; when the target mobile phone needs to be tested for integrity or whether there are defects , in the process of testing the target mobile phone, if any pixel point on the target mobile phone acquired in the acquisition device 12 is a pixel point D, and the screen pixel coordinates of the pixel point D in the screen plane coordinate system X; in the detection device 13, based on the screen pixel coordinate X and the coordinate transformation relationship A, the physical space coordinate Y of any one of the pixel points on the target mobile phone is obtained, that is, Y=AX, so that the Any pixel in the target mobile phone is converted from the screen plane coordinate system of the target mobile phone to the test physical space coordinate system in the overall physical test environment.

接着本申请的上述实施例,所述确定装置11具体用于:Following the above-mentioned embodiment of the present application, the determining device 11 is specifically configured to:

将所述目标手机平放在所述测试物理环境中,所述测试物理空间坐标系用于对所述测试物理环境中的手机的任意一点进行坐标标记;The target mobile phone is placed flat in the test physical environment, and the test physical space coordinate system is used to coordinate any point of the mobile phone in the test physical environment;

获取所述目标手机的平放面的一角在所述测试物理空间坐标系中的第一物理坐标位置,和所述一角的斜对角在所述测试物理空间坐标系中的第二物理坐标位置;Obtain the first physical coordinate position of a corner of the flat surface of the target mobile phone in the test physical space coordinate system, and the second physical coordinate position of the diagonal diagonal angle of the corner in the test physical space coordinate system ;

获取所述目标手机的屏幕的一角在所述屏幕平面坐标系中的第一屏幕坐标位置和所述屏幕的一角的斜对角在所述屏幕平面坐标系中的第二屏幕坐标位置;Obtain the first screen coordinate position of a corner of the screen of the target mobile phone in the screen plane coordinate system and the second screen coordinate position of the diagonally diagonal corner of the screen corner in the screen plane coordinate system;

根据所述第一物理坐标位置、所述第一屏幕坐标位置、所述第二物理坐标位置及所述第二屏幕坐标位置,确定所述目标手机的所述坐标变换关系。The coordinate transformation relationship of the target mobile phone is determined according to the first physical coordinate position, the first screen coordinate position, the second physical coordinate position, and the second screen coordinate position.

例如,为了便于将所述目标手机的屏幕平面坐标系转换为所述目标手机的测试物理空间坐标系,在确定所述坐标变换关系的过程中,先将所述目标手机平放在所述测试物理环境中,用于对目标手机表面或者屏幕进行完好性或是否存在缺陷点的检测,为了便于对所述测试物理环境中的所述目标手机的任意一像素点进行标记,在所述测试物理环境中创建对应的测试物理空间坐标系,便于对目标手机上的任意一像素点进行整体的物理空间定位;接着,获取所述目标手机的平放面的一角V在所述测试物理空间坐标系中的第一物理坐标位置,和所述一角V的斜对角V’在所述测试物理空间坐标系中的第二物理坐标位置;然后,获取所述目标手机的屏幕P的一角V(屏)在所述屏幕平面坐标系中的第一屏幕坐标位置和所述屏幕P的一角V(屏)的斜对角V’(屏)在所述屏幕平面坐标系中的第二屏幕坐标位置;根据所述第一物理坐标位置、所述第一屏幕坐标位置、所述第二物理坐标位置及所述第二屏幕坐标位置,确定所述目标手机的所述坐标变换关系A,实现对所述坐标变换关系A的确定。For example, in order to facilitate the conversion of the screen plane coordinate system of the target mobile phone into the test physical space coordinate system of the target mobile phone, in the process of determining the coordinate transformation relationship, first place the target mobile phone flat on the test In the physical environment, it is used to detect the integrity of the surface or screen of the target mobile phone or whether there are defects. In order to facilitate marking any pixel of the target mobile phone in the test physical environment, the test physical Create a corresponding test physical space coordinate system in the environment to facilitate the overall physical space positioning of any pixel on the target mobile phone; then, obtain a corner V of the flat surface of the target mobile phone in the test physical space coordinate system The first physical coordinate position in the first physical coordinate position, and the second physical coordinate position of the diagonal diagonal angle V' of the corner V in the test physical space coordinate system; Then, obtain the corner V (screen of the screen P of the target mobile phone ) the second screen coordinate position of the first screen coordinate position in the screen plane coordinate system and the diagonal diagonal angle V' (screen) of a corner V (screen) of the screen P in the screen plane coordinate system; According to the first physical coordinate position, the first screen coordinate position, the second physical coordinate position and the second screen coordinate position, the coordinate transformation relationship A of the target mobile phone is determined, so as to realize the The determination of the coordinate transformation relationship A.

接着本申请的上述实施例,所述确定装置11具体用于:Following the above-mentioned embodiment of the present application, the determining device 11 is specifically configured to:

根据所述第一物理坐标位置和所述第二物理坐标位置,计算所述目标手机的长度和宽度;Calculate the length and width of the target mobile phone according to the first physical coordinate position and the second physical coordinate position;

根据所述目标手机的长度和宽度及所述目标手机在所述屏幕平面坐标系中的所述第一屏幕坐标位置和所述第二屏幕坐标位置,计算得到所述目标手机的所述坐标变换关系。According to the length and width of the target mobile phone and the first screen coordinate position and the second screen coordinate position of the target mobile phone in the screen plane coordinate system, the coordinate transformation of the target mobile phone is calculated and obtained relation.

例如,根据所述目标手机的平放面的一角V(比如,左上角)在所述测试物理空间坐标系中的第一物理坐标位置和所述一角V(比如,左上角)的斜对角V’(比如,右下角)在所述测试物理空间坐标系中的第二物理坐标位置,计算得到所述目标手机的长度和宽度,以便计算出所述目标手机的整体平放面的实际屏幕范围;然后再根据述目标手机的屏幕P的一角V(屏)在所述屏幕平面坐标系中的第一屏幕坐标位置和所述屏幕P的一角V(屏)的斜对角V’(屏)在所述屏幕平面坐标系中的第二屏幕坐标位置,计算出所述目标手机的整体与所述目标手机的屏幕之间的比例,即所述坐标变换关系,以便后续能够根据所述比例将所述目标手机的屏幕上的任意一像素点的屏幕像素坐标转换为测试物理环境中的物理空间坐标。For example, according to the first physical coordinate position of the corner V (eg, the upper left corner) of the flat surface of the target mobile phone in the test physical space coordinate system and the diagonally opposite corner of the corner V (eg, the upper left corner) The second physical coordinate position of V' (for example, the lower right corner) in the test physical space coordinate system, the length and width of the target mobile phone are calculated, so as to calculate the actual screen of the overall flat surface of the target mobile phone range; then according to the first screen coordinate position of the corner V (screen) of the screen P of the target mobile phone in the screen plane coordinate system and the diagonal diagonal angle V' (screen) of the corner V (screen) of the screen P ) in the coordinate position of the second screen in the screen plane coordinate system, calculate the ratio between the whole of the target mobile phone and the screen of the target mobile phone, that is, the coordinate transformation relationship, so that the subsequent can be based on the ratio. Convert the screen pixel coordinates of any pixel on the screen of the target mobile phone into physical space coordinates in the test physical environment.

根据本申请的另一方面,还提供了一种非易失性存储介质,其上存储有计算机可读指令,所述计算机可读指令可被处理器执行时,使所述处理器实现如上述手机屏幕像素点的空间位置检测方法。According to another aspect of the present application, there is also provided a non-volatile storage medium having computer-readable instructions stored thereon, and when the computer-readable instructions can be executed by a processor, the processor can implement the above-mentioned The spatial position detection method of the pixel point of the mobile phone screen.

综上所述,本申请通过先确定目标手机的坐标变换关系,该坐标变换关系用于将所述目标手机的屏幕平面坐标系转换为所述目标手机的测试物理空间坐标系;在手机测试过程中,获取所述目标手机的屏幕上的任意一像素点在所述屏幕平面坐标系中的屏幕像素坐标;基于所述屏幕像素坐标和所述坐标变换关系,得到所述目标手机的屏幕上的任意一所述像素点的物理空间坐标,实现将目标手机的屏幕上的任意一点的屏幕像素坐标转换为物理空间坐标,使得在手机测试过程中,能够将目标手机本身的屏幕平面坐标系中的任意一点转换至整个物理测试环境中,从而实现对测试的目标手机的屏幕上的任意一点的物理位置的确定,便于确定检测到目标手机存在缺陷点的物理空间位置等。To sum up, the present application first determines the coordinate transformation relationship of the target mobile phone, and the coordinate transformation relationship is used to convert the screen plane coordinate system of the target mobile phone into the test physical space coordinate system of the target mobile phone; , obtain the screen pixel coordinates of any pixel on the screen of the target mobile phone in the screen plane coordinate system; based on the screen pixel coordinates and the coordinate transformation relationship, obtain the screen pixel coordinates of the target mobile phone. The physical space coordinates of any one of the pixel points realize the conversion of the screen pixel coordinates of any point on the screen of the target mobile phone into physical space coordinates, so that in the process of mobile phone testing, the screen plane coordinate system of the target mobile phone itself can be converted. Any point is converted into the entire physical test environment, so as to realize the determination of the physical position of any point on the screen of the target mobile phone under test, which is convenient for determining the physical space position of the defect point in the target mobile phone.

需要注意的是,本申请可在软件和/或软件与硬件的组合体中被实施,例如,可采用专用集成电路(ASIC)、通用目的计算机或任何其他类似硬件设备来实现。在一个实施例中,本申请的软件程序可以通过处理器执行以实现上文所述步骤或功能。同样地,本申请的软件程序(包括相关的数据结构)可以被存储到计算机可读记录介质中,例如,RAM存储器,磁或光驱动器或软磁盘及类似设备。另外,本申请的一些步骤或功能可采用硬件来实现,例如,作为与处理器配合从而执行各个步骤或功能的电路。It should be noted that the present application may be implemented in software and/or a combination of software and hardware, eg, 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 application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs of the present application (including associated data structures) may be stored on a computer-readable recording medium, such as RAM memory, magnetic or optical drives or floppy disks, and the like. In addition, some steps or functions of the present application may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions.

另外,本申请的一部分可被应用为计算机程序产品,例如计算机程序指令,当其被计算机执行时,通过该计算机的操作,可以调用或提供根据本申请的方法和/或技术方案。而调用本申请的方法的程序指令,可能被存储在固定的或可移动的记录介质中,和/或通过广播或其他信号承载媒体中的数据流而被传输,和/或被存储在根据所述程序指令运行的计算机设备的工作存储器中。在此,根据本申请的一个实施例包括一个装置,该装置包括用于存储计算机程序指令的存储器和用于执行程序指令的处理器,其中,当该计算机程序指令被该处理器执行时,触发该装置运行基于前述根据本申请的多个实施例的方法和/或技术方案。In addition, a part of the present application can be applied as a computer program product, such as computer program instructions, which when executed by a computer, through the operation of the computer, can invoke or provide methods and/or technical solutions according to the present application. The program instructions for invoking the methods of the present application may be stored in fixed or removable recording media, and/or transmitted via data streams in broadcast or other signal-bearing media, and/or stored in accordance with the in the working memory of the computer device on which the program instructions are executed. Here, an embodiment according to the present application includes an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein, when the computer program instructions are executed by the processor, a trigger is The apparatus operates based on the aforementioned methods and/or technical solutions according to various embodiments of the present application.

对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。装置权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。It will be apparent to those skilled in the art that the present application is not limited to the details of the above-described exemplary embodiments, but that the present application can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application. Accordingly, the embodiments are to be regarded in all respects as illustrative and not restrictive, and the scope of the application is to be defined by the appended claims rather than the foregoing description, which is therefore intended to fall within the scope of the claims. All changes within the meaning and scope of the equivalents of , are included in this application. Any reference signs in the claims shall not be construed as limiting the involved claim. Furthermore, it is clear that the word "comprising" does not exclude other units or steps and the singular does not exclude the plural. Several units or means recited in the device claims can also be realized by one unit or means by means of software or hardware. The terms first, second, etc. are used to denote names and do not denote any particular order.

Claims (7)

1.一种手机屏幕像素点的空间位置检测方法,其中,所述方法包括:1. A method for detecting the spatial position of a pixel of a mobile phone screen, wherein the method comprises: 确定目标手机的坐标变换关系,其中,所述坐标变换关系用于将所述目标手机的屏幕平面坐标系转换为所述目标手机的测试物理空间坐标系;Determine the coordinate transformation relationship of the target mobile phone, wherein the coordinate transformation relationship is used to convert the screen plane coordinate system of the target mobile phone into the test physical space coordinate system of the target mobile phone; 在手机测试过程中,获取所述目标手机的屏幕上的任意一像素点在所述屏幕平面坐标系中的屏幕像素坐标;In the mobile phone testing process, obtain the screen pixel coordinates of any pixel on the screen of the target mobile phone in the screen plane coordinate system; 基于所述屏幕像素坐标和所述坐标变换关系,得到所述目标手机的屏幕上的任意一所述像素点的物理空间坐标。Based on the screen pixel coordinates and the coordinate transformation relationship, the physical space coordinates of any pixel on the screen of the target mobile phone are obtained. 2.根据权利要求1所述的方法,其中,所述确定目标手机的坐标变换关系,其中,所述坐标变换关系用于将所述目标手机的屏幕平面坐标系转换为所述目标手机的测试物理空间坐标系,包括:2. The method according to claim 1, wherein the coordinate transformation relationship of the target mobile phone is determined, wherein the coordinate transformation relationship is used to convert the screen plane coordinate system of the target mobile phone into a test of the target mobile phone Physical space coordinate system, including: 将所述目标手机平放在所述测试物理环境中,所述测试物理空间坐标系用于对所述测试物理环境中的手机的任意一点进行坐标标记;The target mobile phone is placed flat in the test physical environment, and the test physical space coordinate system is used to coordinate any point of the mobile phone in the test physical environment; 获取所述目标手机的平放面的一角在所述测试物理空间坐标系中的第一物理坐标位置,和所述一角的斜对角在所述测试物理空间坐标系中的第二物理坐标位置;Obtain the first physical coordinate position of a corner of the flat surface of the target mobile phone in the test physical space coordinate system, and the second physical coordinate position of the diagonal diagonal angle of the corner in the test physical space coordinate system ; 获取所述目标手机的屏幕的一角在所述屏幕平面坐标系中的第一屏幕坐标位置和所述屏幕的一角的斜对角在所述屏幕平面坐标系中的第二屏幕坐标位置;Obtain the first screen coordinate position of a corner of the screen of the target mobile phone in the screen plane coordinate system and the second screen coordinate position of the diagonally diagonal corner of the screen corner in the screen plane coordinate system; 根据所述第一物理坐标位置、所述第一屏幕坐标位置、所述第二物理坐标位置及所述第二屏幕坐标位置,确定所述目标手机的所述坐标变换关系。The coordinate transformation relationship of the target mobile phone is determined according to the first physical coordinate position, the first screen coordinate position, the second physical coordinate position, and the second screen coordinate position. 3.根据权利要求2所述的方法,其中,所述根据所述第一物理坐标位置、所述第一屏幕坐标位置、所述第二物理坐标位置及所述第二屏幕坐标位置,确定所述目标手机的所述坐标变换关系,包括:3. The method according to claim 2, wherein said determining the said first physical coordinate position, said first screen coordinate position, said second physical coordinate position and said second screen coordinate position The coordinate transformation relationship of the target mobile phone, including: 根据所述第一物理坐标位置和所述第二物理坐标位置,计算所述目标手机的长度和宽度;Calculate the length and width of the target mobile phone according to the first physical coordinate position and the second physical coordinate position; 根据所述目标手机的长度和宽度及所述目标手机在所述屏幕平面坐标系中的所述第一屏幕坐标位置和所述第二屏幕坐标位置,计算得到所述目标手机的所述坐标变换关系。According to the length and width of the target mobile phone and the first screen coordinate position and the second screen coordinate position of the target mobile phone in the screen plane coordinate system, the coordinate transformation of the target mobile phone is calculated and obtained relation. 4.一种手机屏幕像素点的空间位置检测设备,其中,所述设备包括:4. A device for detecting the spatial position of pixels on a mobile phone screen, wherein the device comprises: 确定装置,用于确定目标手机的坐标变换关系,其中,所述坐标变换关系用于将所述目标手机的屏幕平面坐标系转换为所述目标手机的测试物理空间坐标系;a determining device for determining the coordinate transformation relationship of the target mobile phone, wherein the coordinate transformation relationship is used to convert the screen plane coordinate system of the target mobile phone into the test physical space coordinate system of the target mobile phone; 获取装置,用于在手机测试过程中,获取所述目标手机的屏幕上的任意一像素点在所述屏幕平面坐标系中的屏幕像素坐标;an acquisition device, used for acquiring the screen pixel coordinates of any pixel point on the screen of the target mobile phone in the screen plane coordinate system during the mobile phone testing process; 检测装置,用于基于所述屏幕像素坐标和所述坐标变换关系,得到所述目标手机的屏幕上的任意一所述像素点的物理空间坐标。The detection device is configured to obtain the physical space coordinates of any pixel point on the screen of the target mobile phone based on the screen pixel coordinates and the coordinate transformation relationship. 5.根据权利要求4所述的设备,其中,所述确定装置用于:5. The apparatus of claim 4, wherein the determining means is configured to: 将所述目标手机平放在所述测试物理环境中,所述测试物理空间坐标系用于对所述测试物理环境中的手机的任意一点进行坐标标记;The target mobile phone is placed flat in the test physical environment, and the test physical space coordinate system is used to coordinate any point of the mobile phone in the test physical environment; 获取所述目标手机的平放面的一角在所述测试物理空间坐标系中的第一物理坐标位置,和所述一角的斜对角在所述测试物理空间坐标系中的第二物理坐标位置;Obtain the first physical coordinate position of a corner of the flat surface of the target mobile phone in the test physical space coordinate system, and the second physical coordinate position of the diagonal diagonal corner of the corner in the test physical space coordinate system ; 获取所述目标手机的屏幕的一角在所述屏幕平面坐标系中的第一屏幕坐标位置和所述屏幕的一角的斜对角在所述屏幕平面坐标系中的第二屏幕坐标位置;Obtain the first screen coordinate position of a corner of the screen of the target mobile phone in the screen plane coordinate system and the second screen coordinate position of the diagonally diagonal corner of the screen corner in the screen plane coordinate system; 根据所述第一物理坐标位置、所述第一屏幕坐标位置、所述第二物理坐标位置及所述第二屏幕坐标位置,确定所述目标手机的所述坐标变换关系。The coordinate transformation relationship of the target mobile phone is determined according to the first physical coordinate position, the first screen coordinate position, the second physical coordinate position, and the second screen coordinate position. 6.根据权利要求5所述的设备,其中,所述确定装置用于:6. The apparatus of claim 5, wherein the determining means is configured to: 根据所述第一物理坐标位置和所述第二物理坐标位置,计算所述目标手机的长度和宽度;Calculate the length and width of the target mobile phone according to the first physical coordinate position and the second physical coordinate position; 根据所述目标手机的长度和宽度及所述目标手机在所述屏幕平面坐标系中的所述第一屏幕坐标位置和所述第二屏幕坐标位置,计算得到所述目标手机的所述坐标变换关系。According to the length and width of the target mobile phone and the first screen coordinate position and the second screen coordinate position of the target mobile phone in the screen plane coordinate system, the coordinate transformation of the target mobile phone is calculated and obtained relation. 7.一种非易失性存储介质,其上存储有计算机可读指令,所述计算机可读指令可被处理器执行时,使所述处理器实现如权利要求1至3中任一项所述的方法。7. A non-volatile storage medium having computer-readable instructions stored thereon which, when executable by a processor, cause the processor to implement the invention as claimed in any one of claims 1 to 3 method described.
CN202010072276.6A 2020-01-21 2020-01-21 Method and equipment for detecting spatial position of mobile phone screen pixel point Active CN111311687B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010072276.6A CN111311687B (en) 2020-01-21 2020-01-21 Method and equipment for detecting spatial position of mobile phone screen pixel point

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010072276.6A CN111311687B (en) 2020-01-21 2020-01-21 Method and equipment for detecting spatial position of mobile phone screen pixel point

Publications (2)

Publication Number Publication Date
CN111311687A true CN111311687A (en) 2020-06-19
CN111311687B CN111311687B (en) 2022-12-02

Family

ID=71148304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010072276.6A Active CN111311687B (en) 2020-01-21 2020-01-21 Method and equipment for detecting spatial position of mobile phone screen pixel point

Country Status (1)

Country Link
CN (1) CN111311687B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
US12033454B2 (en) 2020-08-17 2024-07-09 Ecoatm, Llc Kiosk for evaluating and purchasing used electronic devices
US12271929B2 (en) 2020-08-17 2025-04-08 Ecoatm Llc Evaluating an electronic device using a wireless charger
US12300059B2 (en) 2019-02-12 2025-05-13 Ecoatm, Llc Kiosk for evaluating and purchasing used electronic devices
US12322259B2 (en) 2018-12-19 2025-06-03 Ecoatm, Llc Systems and methods for vending and/or purchasing mobile phones and other electronic devices
US12321965B2 (en) 2020-08-25 2025-06-03 Ecoatm, Llc Evaluating and recycling electronic devices
US12462635B2 (en) 2021-07-09 2025-11-04 Ecoatm, Llc Identifying electronic devices using temporally changing information
US12475756B2 (en) 2020-08-17 2025-11-18 Ecoatm, Llc Connector carrier for electronic device kiosk
US12536643B2 (en) 2016-06-28 2026-01-27 Ecoatm, Llc Methods and systems for detecting cracks in illuminated electronic device screens

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105842885A (en) * 2016-03-21 2016-08-10 凌云光技术集团有限责任公司 Liquid crystal screen defect layered positioning method and device
CN105975132A (en) * 2016-05-05 2016-09-28 青岛歌尔声学科技有限公司 Method and device for detecting precision of touch screen
CN106033387A (en) * 2015-03-11 2016-10-19 广州市动景计算机科技有限公司 A method and a device for testing flash intrinsic controls
CN107547879A (en) * 2016-06-24 2018-01-05 上海顺久电子科技有限公司 A kind of bearing calibration of projection imaging, device and laser television
CN108900829A (en) * 2017-04-10 2018-11-27 钰立微电子股份有限公司 dynamic display system
CN109284456A (en) * 2018-08-30 2019-01-29 广州越维信息科技有限公司 Space-location method and AR system of the webpage control in AR
CN109685794A (en) * 2018-12-25 2019-04-26 凌云光技术集团有限责任公司 For mobile phone screen defects detection camera adaptive step DPC algorithm and device
CN110111330A (en) * 2019-05-17 2019-08-09 上海应用技术大学 Mobile phone screen detection method
CN110506252A (en) * 2017-11-27 2019-11-26 华为技术有限公司 Locate the terminal screen based on the conversion relationship of the point coordinates of the logo in the drawing

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106033387A (en) * 2015-03-11 2016-10-19 广州市动景计算机科技有限公司 A method and a device for testing flash intrinsic controls
CN105842885A (en) * 2016-03-21 2016-08-10 凌云光技术集团有限责任公司 Liquid crystal screen defect layered positioning method and device
CN105975132A (en) * 2016-05-05 2016-09-28 青岛歌尔声学科技有限公司 Method and device for detecting precision of touch screen
CN107547879A (en) * 2016-06-24 2018-01-05 上海顺久电子科技有限公司 A kind of bearing calibration of projection imaging, device and laser television
CN108900829A (en) * 2017-04-10 2018-11-27 钰立微电子股份有限公司 dynamic display system
CN110506252A (en) * 2017-11-27 2019-11-26 华为技术有限公司 Locate the terminal screen based on the conversion relationship of the point coordinates of the logo in the drawing
CN109284456A (en) * 2018-08-30 2019-01-29 广州越维信息科技有限公司 Space-location method and AR system of the webpage control in AR
CN109685794A (en) * 2018-12-25 2019-04-26 凌云光技术集团有限责任公司 For mobile phone screen defects detection camera adaptive step DPC algorithm and device
CN110111330A (en) * 2019-05-17 2019-08-09 上海应用技术大学 Mobile phone screen detection method

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12536643B2 (en) 2016-06-28 2026-01-27 Ecoatm, Llc Methods and systems for detecting cracks in illuminated electronic device screens
US12322259B2 (en) 2018-12-19 2025-06-03 Ecoatm, Llc Systems and methods for vending and/or purchasing mobile phones and other electronic devices
US11843206B2 (en) 2019-02-12 2023-12-12 Ecoatm, Llc Connector carrier for electronic device kiosk
US12300059B2 (en) 2019-02-12 2025-05-13 Ecoatm, Llc Kiosk for evaluating and purchasing used electronic devices
US11798250B2 (en) 2019-02-18 2023-10-24 Ecoatm, Llc Neural network based physical condition evaluation of electronic devices, and associated systems and methods
US12223684B2 (en) 2019-02-18 2025-02-11 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
US12033454B2 (en) 2020-08-17 2024-07-09 Ecoatm, Llc Kiosk for evaluating and purchasing used electronic devices
US12271929B2 (en) 2020-08-17 2025-04-08 Ecoatm Llc Evaluating an electronic device using a wireless charger
US12475756B2 (en) 2020-08-17 2025-11-18 Ecoatm, Llc Connector carrier for electronic device kiosk
US12321965B2 (en) 2020-08-25 2025-06-03 Ecoatm, Llc Evaluating and recycling electronic devices
US12462635B2 (en) 2021-07-09 2025-11-04 Ecoatm, Llc Identifying electronic devices using temporally changing information

Also Published As

Publication number Publication date
CN111311687B (en) 2022-12-02

Similar Documents

Publication Publication Date Title
CN111311687B (en) Method and equipment for detecting spatial position of mobile phone screen pixel point
CN111272067A (en) Mobile phone detection method and equipment
CN111277695B (en) Data verification method and equipment
CN110827245A (en) Method and equipment for detecting screen display disconnection
CN113607742B (en) Battery cell tab detection method and device, electronic equipment and storage medium
CN110675399A (en) Screen appearance flaw detection method and equipment
CN110796647A (en) Method and device for detecting defects of screen area of electronic device
JP2022539910A (en) Electronic device screen area defect inspection method and apparatus
CN111314535A (en) Mobile phone quality inspection process recording method and equipment
CN111272388A (en) Method and device for detecting camera flash
CN114943673A (en) Defect image generation method and device, electronic equipment and storage medium
CN111325717A (en) Mobile phone defect location identification method and device
CN111915549A (en) Defect detection method, electronic device and computer readable storage medium
CN111290660A (en) Method and equipment for converting screen coordinates into touch pen coordinates
CN109299015B (en) A software testing method, device and system
CN107218887A (en) A kind of method and apparatus for being used to measure dimension of object
CN110602736B (en) Field strength prediction method, device and computer equipment
CN111314537A (en) Mobile phone anti-collision method and equipment in mobile phone recovery device
CN111553914A (en) Vision-based cargo detection method, device, terminal and readable storage medium
CN112433964B (en) Method and equipment for cleaning cache dirty data
CN105444701A (en) Method and device for measuring area area
CN116168009A (en) Defect detection method and device, electronic equipment and storage medium
CN109472772B (en) Image stain detection method, device and equipment
CN112819788A (en) Image stability detection method and device
CN111857802A (en) A method, system and device for integration of merge request groups

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

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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

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

Patentee after: Shanghai Wanwu Xinsheng Information Technology Group Co.,Ltd.

Country or region after: China

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

Patentee before: Shanghai wanwansheng Environmental Protection Technology Group Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address