CN106657988B - It is automatically positioned Camera Test method and apparatus, the computer equipment of test pattern - Google Patents
It is automatically positioned Camera Test method and apparatus, the computer equipment of test pattern Download PDFInfo
- Publication number
- CN106657988B CN106657988B CN201611254663.1A CN201611254663A CN106657988B CN 106657988 B CN106657988 B CN 106657988B CN 201611254663 A CN201611254663 A CN 201611254663A CN 106657988 B CN106657988 B CN 106657988B
- Authority
- CN
- China
- Prior art keywords
- camera
- test image
- tested
- test
- coordinates
- 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.)
- Active
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 264
- 238000010998 test method Methods 0.000 title claims abstract 4
- 238000000034 method Methods 0.000 claims abstract description 38
- 238000004364 calculation method Methods 0.000 claims description 15
- 238000001514 detection method Methods 0.000 claims description 6
- 238000001310 location test Methods 0.000 claims 2
- 238000010586 diagram Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/002—Diagnosis, testing or measuring for television systems or their details for television cameras
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses the Camera Test method and apparatus and computer equipment of automatic positioning test pattern.The method includes:Fisrt feature region is detected from the test image that camera to be measured is shot, and determines coordinate of the fisrt feature region in the test image that camera to be measured is shot;According to fisrt feature region in the positional relationship of coordinate and fisrt feature region and other feature region in the test image that camera to be measured is shot in the test image that camera to be measured is shot, coordinate of the other feature region in the test image that camera to be measured is shot is determined;Each characteristic area is extracted from the test image that camera to be measured is shot in the coordinate in the test image that camera to be measured is shot according to each characteristic area, generates test result.The present invention can be improved testing efficiency.
Description
Technical Field
The invention relates to a camera module technology, in particular to a camera testing method for automatically positioning a test chart, a camera testing device for automatically positioning the test chart and computer equipment.
Background
In the prior art, when a camera is tested, a test graphic card is placed at a fixed position right in front of the camera, the test graphic card is shot by the camera, a feature region is extracted by directly using a predetermined fixed coordinate in a shot image, and the extracted feature region is analyzed to obtain a test result. In the testing process, random offset may occur in the center of the visual field of the camera, which causes inaccuracy of the characteristic region extracted according to the fixed coordinates and a testing error. In order to avoid the situation, a tester can manually adjust the angle or the position of the camera, ensure that a test CHART card (CHART CHART) is positioned at the center of the visual field of the camera in each shooting, and then directly use fixed coordinates to extract a characteristic region in a shot image for analysis. According to the camera testing scheme in the prior art, the time spent on adjusting the position and the angle of the camera is long, and the testing efficiency is influenced.
Disclosure of Invention
The invention aims to provide a camera test scheme for automatically positioning a test chart.
According to a first aspect of the present invention, there is provided a camera testing method for automatically positioning a test card, comprising the steps of:
detecting a first characteristic region from a test image shot by a camera to be tested, and determining the coordinate of the first characteristic region in the test image shot by the camera to be tested;
determining the coordinates of other characteristic areas in the test image shot by the camera to be tested according to the coordinates of the first characteristic area in the test image shot by the camera to be tested and the position relation of the first characteristic area and the other characteristic areas in the test image shot by the camera to be tested;
and extracting each characteristic region from the test image shot by the camera to be tested according to the coordinate of each characteristic region in the test image shot by the camera to be tested, and generating a test result.
According to a second aspect of the present invention, there is provided a camera testing method for automatically positioning a test card, comprising the steps of:
detecting a first characteristic region from a test image shot by a camera to be tested, and determining the coordinate of the first characteristic region in the test image shot by the camera to be tested;
calculating the deviation of the coordinates of the first characteristic region in a test image shot by a camera to be tested and the coordinates of the first characteristic region in a standard test image;
if the deviation is within the allowable range, calculating coordinates of other characteristic areas in a test image shot by the camera to be tested;
and extracting each characteristic region from the test image shot by the camera to be tested according to the coordinate of each characteristic region in the test image shot by the camera to be tested, and generating a test result.
Optionally, the method further comprises the steps of: and if the deviation exceeds the allowable range, prompting that the camera to be detected is unqualified.
Optionally, the calculating the coordinates of each of the other feature regions in the test image captured by the camera to be tested determines the coordinates of the other feature regions in the test image captured by the camera to be tested according to the coordinates of the first feature region in the test image captured by the camera to be tested and the position relationship between the first feature region and the other feature regions in the test image captured by the camera to be tested.
Optionally, the calculating the coordinates of each of the other feature regions in the test image captured by the camera to be tested is to determine the coordinates of each of the other feature regions in the test image captured by the camera to be tested according to the coordinates of each of the other feature regions in the standard test image and the deviation.
According to a third aspect of the present invention, there is provided a camera test apparatus for automatically positioning a test card, comprising the following modules:
the detection module is used for detecting a first characteristic region from a test image shot by a camera to be detected and determining the coordinate of the first characteristic region in the test image shot by the camera to be detected;
the coordinate calculation module is used for determining the coordinates of other characteristic areas in the test image shot by the camera to be tested according to the coordinates of the first characteristic area in the test image shot by the camera to be tested and the position relation of the first characteristic area and the other characteristic areas in the test image shot by the camera to be tested;
and the test module is used for extracting each characteristic region from the test image shot by the camera to be tested according to the coordinate of each characteristic region in the test image shot by the camera to be tested, and generating a test result.
According to a fourth aspect of the present invention, there is provided a camera test apparatus for automatically positioning a test card, comprising the following modules:
the detection module is used for detecting a first characteristic region from a test image shot by a camera to be detected and determining the coordinate of the first characteristic region in the test image shot by the camera to be detected;
the deviation calculation module is used for calculating the deviation between the coordinates of the first characteristic region in a test image shot by a camera to be tested and the coordinates of the first characteristic region in a standard test image;
the coordinate calculation module is used for calculating the coordinates of other characteristic areas in a test image shot by the camera to be tested if the deviation is within an allowable range;
and the test module is used for extracting each characteristic region from the test image shot by the camera to be tested according to the coordinate of each characteristic region in the test image shot by the camera to be tested, and generating a test result.
Optionally, the apparatus further comprises a notification module; and the notification module is used for prompting that the camera to be tested is unqualified if the deviation exceeds an allowable range.
Optionally, the coordinate calculation module is configured to determine coordinates of other feature regions in the test image captured by the camera to be tested according to the coordinates of the first feature region in the test image captured by the camera to be tested and the position relationship between the first feature region and the other feature regions in the test image captured by the camera to be tested.
Optionally, the coordinate calculation module is configured to determine coordinates of other feature regions in the test image captured by the camera to be tested according to the coordinates and the deviation of each of the other feature regions in the standard test image.
According to a fifth aspect of the present invention, there is provided a computer apparatus comprising a memory and a processor, the memory storing instructions for controlling the processor to operate so as to execute the camera testing method of automatically positioning a test card according to any one of the preceding claims.
The invention adopts the method of determining the specific coordinates of the test chart according to the characteristics of the test chart to make up for the deviation caused by the deviation of the photographing view center of the camera, omits the manual method for adjusting the photographing view center of the camera, shortens the test time and greatly improves the test efficiency.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments will be briefly described below. It is appreciated that the following drawings depict only certain embodiments of the invention and are therefore not to be considered limiting of its scope. For a person skilled in the art, it is possible to derive other relevant figures from these figures without inventive effort.
Fig. 1 is a schematic flow chart illustrating a camera testing method for automatically positioning a test chart according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart illustrating a camera testing method for automatically positioning a test chart according to another embodiment of the present invention.
Fig. 3 is a block diagram illustrating a camera testing apparatus for automatically positioning a test card according to an embodiment of the present invention.
Fig. 4 is a block diagram illustrating a camera testing apparatus for automatically positioning a test card according to another embodiment of the present invention.
Fig. 5 is a block diagram showing a hardware configuration of a computer device provided by an embodiment of the present invention.
FIG. 6 shows a schematic diagram of a standard test image provided by an embodiment of the present invention.
Fig. 7 is a schematic diagram illustrating a test image captured by a camera to be tested according to an embodiment of the present invention.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
Referring to fig. 1, a method for testing a camera of an automatic positioning test card according to an embodiment of the present invention is described, which includes the following steps:
101. and detecting a first characteristic region from a test image shot by the camera to be tested, and determining the coordinate of the first characteristic region in the test image shot by the camera to be tested.
Referring to FIG. 7, for example, color test card A (color CHART) has a plurality of feature areas a1-a18, each representing a different color. The test image shot by the camera to be tested is C, so that the color test chart A is slightly deviated and does not form an image in the center of the test image C; in the prior art, the camera needs to be manually adjusted to eliminate the situation to remove the shooting error, but the present invention does not need to perform such an operation. In step 101, the feature region a1 may be selected as a first feature region, the first feature region a1 is detected from a test image C captured by a camera under test, and coordinates of the first feature region a1 in the test image C are determined.
102. And determining the coordinates of other characteristic areas in the test image shot by the camera to be tested according to the coordinates of the first characteristic area in the test image shot by the camera to be tested and the position relation of the first characteristic area and the other characteristic areas in the test image shot by the camera to be tested.
Referring to fig. 7, taking color test CHART a (color CHART) as an example, step 101 has detected the coordinates of first feature region a1 in test image C, the coordinates of feature regions a2-a18 in test image C can be determined according to the positional relationship between first feature region a1 and feature regions a2-a18 in test image C. For example, in the test image C, the distance between each feature region in the color test chart a and its upper, lower, left, and right feature regions is x, the coordinates of the feature region a2 in the test image C, and the coordinates of the feature regions a3-a18 in the test image C can be calculated from the coordinates of the first feature region a1 in the test image C.
103. And extracting each characteristic region from the test image shot by the camera to be tested according to the coordinate of each characteristic region in the test image shot by the camera to be tested, and generating a test result.
The embodiment of the invention adopts the method for determining the specific coordinates of the test chart according to the characteristics of the test chart to make up for the deviation caused by the deviation of the photographing view center of the camera, saves the manual method for adjusting the photographing view center of the camera, shortens the test time and greatly improves the test efficiency.
Referring to fig. 2, a method for testing a camera of an automatic positioning test card according to an embodiment of the present invention is described, which includes the following steps:
201. and detecting a first characteristic region from a test image shot by the camera to be tested, and determining the coordinate of the first characteristic region in the test image shot by the camera to be tested.
Referring to fig. 7, a test image shot by the camera to be tested is C, and it can be seen that the color test chart a is slightly shifted and does not form an image at the center of the test image C; in the prior art, the camera needs to be manually adjusted to eliminate the situation to remove the shooting error, but the present invention does not need to perform such an operation. In step 201, a first feature region a1 is detected from the test image C captured by the camera under test, and the coordinates of the first feature region a1 in the test image C captured by the camera under test are determined.
202. And calculating the deviation between the coordinates of the first characteristic region in the test image shot by the camera to be tested and the coordinates of the first characteristic region in the standard test image, and executing step 203.
Referring to FIG. 6, which shows a standard test image, it can be seen that color test card A is imaged in the center of standard test image B. In step 202, the deviation between the coordinates of first feature region a1 in standard test image B and the coordinates of first feature region a1 in test image C is determined.
Standard cameras can be used to pre-shoot to obtain standard test images: firstly, moving a standard camera to enable a test chart to be positioned in the center of the visual field of the standard camera, and then shooting to obtain a standard test image; and detecting the standard test image, determining the coordinates of the first characteristic region in the standard test image, and further determining the coordinates of other characteristic regions in the standard test image. Alternatively, the standard test image may not be obtained by real shooting, but the standard test image may be calculated according to the test constraint condition, so as to obtain the coordinates of the feature region in the standard test image.
203. And judging whether the deviation is within an allowable range, if so, executing step 204, and if so, executing step 205.
204. The coordinates of the other respective feature areas in the test image taken by the camera under test are calculated, i.e. in this embodiment, the coordinates of the feature areas a2-a18 in the test image C are determined. Step 206 is then performed.
The coordinates of the characteristic region a2-a18 in the test image C shot by the camera to be tested can be calculated in two ways:
one is to determine the coordinates of the other feature areas a2-a18 in the test image C taken by the camera to be tested according to the coordinates of the first feature area a1 in the test image C taken by the camera to be tested and the positional relationship of the first feature area a1 and the other feature areas a2-a18 in the test image C taken by the camera to be tested. Which may be shown with particular reference to the previous embodiment.
And the other one is to determine the coordinates of the other characteristic regions a2-a18 in the test image C shot by the camera to be tested according to the coordinates and the deviation of the other characteristic regions a2-a18 in the standard test image B.
205. And prompting that the camera to be detected is unqualified. If the deviation exceeds the allowable range, the assembly error of the camera to be detected is too large, and the camera to be detected is an unqualified product, so that the condition that the camera to be detected is unqualified is prompted.
206. And extracting each characteristic region from the test image shot by the camera to be tested according to the coordinate of each characteristic region in the test image shot by the camera to be tested, and generating a test result.
The embodiment of the invention adopts the method for determining the specific coordinates of the test chart according to the characteristics of the test chart to make up for the deviation caused by the deviation of the photographing view center of the camera, saves the manual method for adjusting the photographing view center of the camera, shortens the test time and greatly improves the test efficiency.
For those skilled in the art, the camera testing method for automatically positioning the test chart card can be implemented in a hardware manner, a software manner or a combination of hardware and software. Based on the same inventive concept, a camera testing apparatus for automatically positioning a test chart according to an embodiment of the present invention is described with reference to fig. 3 and 4, so as to execute the camera testing method for automatically positioning a test chart.
Referring to fig. 3, a camera testing apparatus for automatically positioning a test card according to an embodiment of the present invention is described, including the following modules:
the detection module 11 is configured to detect a first feature region from a test image captured by a camera to be tested, and determine a coordinate of the first feature region in the test image captured by the camera to be tested;
the coordinate calculation module 12 is configured to determine coordinates of other feature regions in the test image captured by the camera to be tested according to the coordinates of the first feature region in the test image captured by the camera to be tested and the position relationships of the first feature region and the other feature regions in the test image captured by the camera to be tested;
and the test module 13 is configured to extract each feature region from the test image shot by the camera to be tested according to the coordinate of each feature region in the test image shot by the camera to be tested, and generate a test result.
The embodiment of the invention adopts the method for determining the specific coordinates of the test chart according to the characteristics of the test chart to make up for the deviation caused by the deviation of the photographing view center of the camera, saves the manual method for adjusting the photographing view center of the camera, shortens the test time and greatly improves the test efficiency.
Referring to fig. 4, a camera testing apparatus for automatically positioning a test card according to an embodiment of the present invention is described, including the following modules:
the detection module 21 is configured to detect a first feature region from a test image captured by a camera to be tested, and determine a coordinate of the first feature region in the test image captured by the camera to be tested;
the deviation calculation module 22 is configured to calculate a deviation between a coordinate of the first feature region in a test image shot by the camera to be tested and a coordinate of the first feature region in the standard test image;
the coordinate calculation module 23 is configured to calculate coordinates of other feature areas in a test image shot by the camera to be tested if the deviation is within the allowable range;
and the test module 24 is configured to extract each feature region from the test image shot by the camera to be tested according to the coordinate of each feature region in the test image shot by the camera to be tested, and generate a test result.
In another embodiment, the apparatus further comprises a notification module; and the notification module is used for prompting that the camera to be tested is unqualified if the deviation exceeds the allowable range.
In one embodiment, the coordinate calculation module 24 is configured to determine coordinates of other feature regions in the test image captured by the camera to be tested according to the coordinates of the first feature region in the test image captured by the camera to be tested and the position relationship between the first feature region and the other feature regions in the test image captured by the camera to be tested.
In another embodiment, the coordinate calculation module 24 is configured to determine coordinates of the other feature regions in the test image captured by the camera to be tested according to the coordinates of the other feature regions in the standard test image and the deviation.
The embodiment of the invention adopts the method for determining the specific coordinates of the test chart according to the characteristics of the test chart to make up for the deviation caused by the deviation of the photographing view center of the camera, saves the manual method for adjusting the photographing view center of the camera, shortens the test time and greatly improves the test efficiency.
Fig. 5 is a block diagram showing an example of a hardware configuration of a computer apparatus that can be used to implement an embodiment of the present invention. The computer apparatus 300 includes a processor 3010, a memory 3020, an interface device 3030, a communication device 3040, a display device 3050, an input device 3060, a speaker 3070, a microphone 3080, and the like.
The memory 3020 is configured to store instructions for controlling the processor 3010 to operate to perform a camera testing method according to any of the foregoing methods for automatically positioning a test card.
The processor 3010 may be, for example, a central processing unit CPU, a microprocessor MCU, or the like. The memory 3020 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 3030 includes, for example, a USB interface, a headphone interface, and the like. The communication device 3040 can perform wired or wireless communication, for example. The display device 3050 is, for example, a liquid crystal display panel, a touch panel, or the like. The input device 3060 may include, for example, a touch screen, a keyboard, and the like. A user can input/output voice information through the speaker 3070 and the microphone 3080.
The computer device shown in FIG. 5 is illustrative only and is not intended to limit the invention, its application, or uses in any way. It will be appreciated by those skilled in the art that although a plurality of devices are shown in fig. 5, the present invention may relate to only some of the devices therein. Those skilled in the art can design instructions according to the disclosed aspects, and how the instructions control the operation of the processor is well known in the art, and therefore, will not be described in detail herein.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. It will be apparent to those skilled in the art that the above embodiments may be used alone or in combination with each other as desired. In addition, for the device embodiment, since it corresponds to the method embodiment, the description is relatively simple, and for relevant points, refer to the description of the corresponding parts of the method embodiment. The above-described apparatus embodiments are merely illustrative, in that modules illustrated as separate components may or may not be physically separate.
In addition, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The computer program product provided in the embodiment of the present invention includes a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, which is not described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Although some specific embodiments of the present invention have been described in detail by way of examples, it should be understood by those skilled in the art that the above examples are for illustrative purposes only and are not intended to limit the scope of the present invention. It will be appreciated by those skilled in the art that modifications may be made to the above embodiments without departing from the scope of the invention. The scope of the invention is defined by the appended claims.
Claims (10)
1. A camera test method for automatically positioning a test graphic card is characterized by comprising the following steps:
detecting a first characteristic region from a test image shot by a camera to be tested, and determining the coordinate of the first characteristic region in the test image shot by the camera to be tested;
determining the coordinates of other characteristic areas in the test image shot by the camera to be tested according to the coordinates of the first characteristic area in the test image shot by the camera to be tested and the position relation of the first characteristic area and the other characteristic areas in the test image shot by the camera to be tested;
and extracting each characteristic region from the test image shot by the camera to be tested according to the coordinate of each characteristic region in the test image shot by the camera to be tested, and generating a test result.
2. A camera test method for automatically positioning a test graphic card is characterized by comprising the following steps:
detecting a first characteristic region from a test image shot by a camera to be tested, and determining the coordinate of the first characteristic region in the test image shot by the camera to be tested;
calculating the deviation of the coordinates of the first characteristic region in a test image shot by a camera to be tested and the coordinates of the first characteristic region in a standard test image;
if the deviation is within the allowable range, calculating coordinates of other characteristic areas in a test image shot by the camera to be tested;
and extracting each characteristic region from the test image shot by the camera to be tested according to the coordinate of each characteristic region in the test image shot by the camera to be tested, and generating a test result.
3. The method of claim 2, further comprising the steps of:
and if the deviation exceeds the allowable range, prompting that the camera to be detected is unqualified.
4. The method according to any one of claims 2 or 3, wherein the calculating of the coordinates of each of the other feature regions in the test image captured by the camera to be tested determines the coordinates of the other feature regions in the test image captured by the camera to be tested according to the coordinates of the first feature region in the test image captured by the camera to be tested and the position relationship between the first feature region and the other feature regions in the test image captured by the camera to be tested; or,
and the step of calculating the coordinates of other characteristic areas in the test image shot by the camera to be tested is to determine the coordinates of other characteristic areas in the test image shot by the camera to be tested according to the coordinates and the deviation of other characteristic areas in the standard test image.
5. The utility model provides an automatic camera testing arrangement of location test picture card which characterized in that includes following module:
the detection module is used for detecting a first characteristic region from a test image shot by a camera to be detected and determining the coordinate of the first characteristic region in the test image shot by the camera to be detected;
the coordinate calculation module is used for determining the coordinates of other characteristic areas in the test image shot by the camera to be tested according to the coordinates of the first characteristic area in the test image shot by the camera to be tested and the position relation of the first characteristic area and the other characteristic areas in the test image shot by the camera to be tested;
and the test module is used for extracting each characteristic region from the test image shot by the camera to be tested according to the coordinate of each characteristic region in the test image shot by the camera to be tested, and generating a test result.
6. The utility model provides an automatic camera testing arrangement of location test picture card which characterized in that includes following module:
the detection module is used for detecting a first characteristic region from a test image shot by a camera to be detected and determining the coordinate of the first characteristic region in the test image shot by the camera to be detected;
the deviation calculation module is used for calculating the deviation between the coordinates of the first characteristic region in a test image shot by a camera to be tested and the coordinates of the first characteristic region in a standard test image;
the coordinate calculation module is used for calculating the coordinates of other characteristic areas in a test image shot by the camera to be tested if the deviation is within an allowable range;
and the test module is used for extracting each characteristic region from the test image shot by the camera to be tested according to the coordinate of each characteristic region in the test image shot by the camera to be tested, and generating a test result.
7. The apparatus of claim 6, further comprising a notification module; and the notification module is used for prompting that the camera to be tested is unqualified if the deviation exceeds an allowable range.
8. The device according to any one of claims 6 or 7, wherein the coordinate calculation module is configured to determine coordinates of other feature regions in the test image captured by the camera to be tested according to the coordinates of the first feature region in the test image captured by the camera to be tested and the positional relationship between the first feature region and the other feature regions in the test image captured by the camera to be tested.
9. The device according to any one of claims 6 or 7, wherein the coordinate calculation module is configured to determine coordinates of other feature areas in the test image captured by the camera to be tested according to the coordinates and the deviation of the other feature areas in the standard test image.
10. A computer device comprising a memory and a processor, the memory for storing instructions for controlling the processor to operate to perform the method of any one of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611254663.1A CN106657988B (en) | 2016-12-30 | 2016-12-30 | It is automatically positioned Camera Test method and apparatus, the computer equipment of test pattern |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611254663.1A CN106657988B (en) | 2016-12-30 | 2016-12-30 | It is automatically positioned Camera Test method and apparatus, the computer equipment of test pattern |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106657988A CN106657988A (en) | 2017-05-10 |
CN106657988B true CN106657988B (en) | 2018-11-30 |
Family
ID=58835762
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611254663.1A Active CN106657988B (en) | 2016-12-30 | 2016-12-30 | It is automatically positioned Camera Test method and apparatus, the computer equipment of test pattern |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106657988B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107333130B (en) * | 2017-08-24 | 2019-04-23 | 歌尔股份有限公司 | Assemble multi-cam module testing method and system |
CN107833217B (en) * | 2017-11-14 | 2021-08-10 | 安徽森力汽车电子有限公司 | Graph card detection method based on mathematical morphology |
CN107749981B (en) * | 2017-11-15 | 2024-01-30 | 歌尔光学科技有限公司 | Camera field angle measurement method and system |
CN107770522B (en) * | 2017-11-24 | 2024-03-19 | 中山依瓦塔光学有限公司 | Detection positioning structure capable of being used for detecting multiple lenses simultaneously |
CN108055532A (en) * | 2017-12-27 | 2018-05-18 | 上海传英信息技术有限公司 | Automate the method and apparatus of matching test card |
CN108881897A (en) * | 2018-04-24 | 2018-11-23 | 上海与德科技有限公司 | Camera testing device, camera method of adjustment, camera testing system |
CN109413412B (en) * | 2018-09-11 | 2020-10-02 | Oppo广东移动通信有限公司 | Method and device for testing performance of gray card, electronic equipment and storage medium |
CN111226437A (en) * | 2018-11-27 | 2020-06-02 | 深圳市大疆创新科技有限公司 | Method and device for evaluating shooting quality of shooting device and terminal equipment |
CN111579061A (en) * | 2020-05-20 | 2020-08-25 | 上海闻泰信息技术有限公司 | Light sensation test calibration method and device and electronic equipment |
CN111983263A (en) * | 2020-08-06 | 2020-11-24 | 科大讯飞股份有限公司 | Test fixture |
CN113840136B (en) * | 2021-09-03 | 2023-12-01 | 大连中科创达软件有限公司 | Method and device for detecting camera installation precision |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102932593A (en) * | 2012-10-10 | 2013-02-13 | 深圳市航盛电子股份有限公司 | Method and system for automatic centering of camera |
CN104038755A (en) * | 2014-04-30 | 2014-09-10 | 惠州华阳通用电子有限公司 | Camera distortion center point testing device and identification method |
CN104168476A (en) * | 2014-08-19 | 2014-11-26 | 歌尔声学股份有限公司 | Method and system for capturing content of test chart |
CN105120258A (en) * | 2015-07-20 | 2015-12-02 | 深圳市航盛电子股份有限公司 | Method and system for testing distortion rate of camera |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201310161A (en) * | 2011-08-19 | 2013-03-01 | Askey Technology Jiang Su Ltd | Method for testing an image capturing device |
-
2016
- 2016-12-30 CN CN201611254663.1A patent/CN106657988B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102932593A (en) * | 2012-10-10 | 2013-02-13 | 深圳市航盛电子股份有限公司 | Method and system for automatic centering of camera |
CN104038755A (en) * | 2014-04-30 | 2014-09-10 | 惠州华阳通用电子有限公司 | Camera distortion center point testing device and identification method |
CN104168476A (en) * | 2014-08-19 | 2014-11-26 | 歌尔声学股份有限公司 | Method and system for capturing content of test chart |
CN105120258A (en) * | 2015-07-20 | 2015-12-02 | 深圳市航盛电子股份有限公司 | Method and system for testing distortion rate of camera |
Also Published As
Publication number | Publication date |
---|---|
CN106657988A (en) | 2017-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106657988B (en) | It is automatically positioned Camera Test method and apparatus, the computer equipment of test pattern | |
JP6620888B2 (en) | Smoke detection apparatus, method and image processing apparatus | |
CN107194361B (en) | Two-dimensional posture detection method and device | |
IL275535B1 (en) | Analysis of a captured image to determine a test outcome | |
CN108416343B (en) | Face image recognition method and device | |
CN104252828B (en) | Protect display methods, display device and the terminal device of eyesight | |
JP2017129567A5 (en) | ||
US10313596B2 (en) | Method and apparatus for correcting tilt of subject ocuured in photographing, mobile terminal, and storage medium | |
CN105975550B (en) | Question searching method and device of intelligent equipment | |
CN109086734A (en) | The method and device that pupil image is positioned in a kind of pair of eye image | |
CN107340964A (en) | The animation effect implementation method and device of a kind of view | |
JP2016136683A5 (en) | ||
CN110969045A (en) | Behavior detection method and device, electronic equipment and storage medium | |
CN110211021B (en) | Image processing apparatus, image processing method, and storage medium | |
CN110864876A (en) | Vehicle-mounted entertainment system test method, device, equipment and storage medium | |
JP2017208616A5 (en) | ||
CN104301484A (en) | Method for showing mobile phone program change process | |
JP2017068465A (en) | Information processing device, control method, and program | |
KR102065912B1 (en) | Apparatus and method for obtaining image for user authentication using sensing pressure | |
CN109901716B (en) | Sight point prediction model establishing method and device and sight point prediction method | |
JP2016149678A (en) | Camera calibration unit, camera calibration method and camera calibration program | |
CN105608668B (en) | A kind of information processing method and device | |
CN112581444A (en) | Anomaly detection method, device and equipment | |
JP6397508B2 (en) | Method and apparatus for generating a personal input panel | |
JP6175583B1 (en) | Image processing apparatus, actual dimension display method, and actual dimension display processing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201012 Address after: 261031 north of Yuqing street, east of Dongming Road, high tech Zone, Weifang City, Shandong Province (Room 502, Geer electronic office building) Patentee after: GoerTek Optical Technology Co.,Ltd. Address before: 266104 Laoshan Qingdao District North House Street investment service center room, Room 308, Shandong Patentee before: GOERTEK TECHNOLOGY Co.,Ltd. |