CN114422763B - Screen function verification method and device, computer equipment and storage medium - Google Patents

Screen function verification method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114422763B
CN114422763B CN202210042845.1A CN202210042845A CN114422763B CN 114422763 B CN114422763 B CN 114422763B CN 202210042845 A CN202210042845 A CN 202210042845A CN 114422763 B CN114422763 B CN 114422763B
Authority
CN
China
Prior art keywords
position information
image
projection
screen
imaging medium
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
Application number
CN202210042845.1A
Other languages
Chinese (zh)
Other versions
CN114422763A (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.)
Shenzhen Huole Science and Technology Development Co Ltd
Original Assignee
Shenzhen Huole Science and Technology Development 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 Shenzhen Huole Science and Technology Development Co Ltd filed Critical Shenzhen Huole Science and Technology Development Co Ltd
Priority to CN202210042845.1A priority Critical patent/CN114422763B/en
Publication of CN114422763A publication Critical patent/CN114422763A/en
Application granted granted Critical
Publication of CN114422763B publication Critical patent/CN114422763B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3191Testing thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Projection Apparatus (AREA)
  • Transforming Electric Information Into Light Information (AREA)

Abstract

The embodiment of the invention discloses a method and a device for checking screen functions, computer equipment and a storage medium. The method is applied to a projection device and comprises the following steps: controlling the projection equipment to project to the imaging medium and executing a screen alignment function; wherein the projected image of the projection device falls within a frame on the imaging medium; shooting an imaging medium to obtain a shooting image; extracting first position information of a frame in a shot image and second position information of a projection image in the shot image; and checking the screen function according to the first position information and the second position information to obtain a check result of the screen function. The invention solves the technical problem that the manual mode is needed to carry out the factory test on the screen function of the projection equipment in the prior art, improves the factory test accuracy and efficiency of the projection equipment, and reduces the factory test cost of the projection equipment.

Description

Screen function verification method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of projection devices, and in particular, to a method and apparatus for verifying a screen function, a computer device, and a storage medium.
Background
A Projector (Projector) is a device that can project images or videos onto a curtain, and is widely used in homes, offices, schools, and entertainment places. Projectors need to be subjected to a series of rigorous tests, such as testing of the screen function of the projector, before shipment to ensure product quality. The main purpose of the projector screen function test is to test whether the projector can shrink the projection picture outside the curtain into the curtain without human intervention, and whether the projector screen function is qualified mainly depends on whether the quality of the camera is qualified.
At present, a manual testing method is generally adopted in factory testing of the screen aligning function of the projector, so that the accuracy of the out-of-field testing is low, time and labor are wasted, and the efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a method, a device, computer equipment and a storage medium for checking a screen function, which are used for solving the technical problems of low accuracy, time and labor consumption and low efficiency of the screen function of projection equipment in the prior art.
In a first aspect, an embodiment of the present invention provides a method for checking a screen function, including:
Controlling the projection equipment to project to the imaging medium and executing a screen alignment function; wherein the projected image of the projection device falls within a frame on the imaging medium;
shooting an imaging medium to obtain a shooting image;
extracting first position information of a frame in a shot image and second position information of a projection image in the shot image;
and checking the screen function according to the first position information and the second position information to obtain a check result of the screen function.
Preferably, in the checking method of the screen function, before controlling the projection device to project onto the imaging medium and executing the screen function, the method further includes:
the distance and/or angle of the projection device relative to the imaging medium is adjusted.
Preferably, in the method for checking the screen function, extracting first position information of a frame in a captured image and second position information of a projection image in the captured image includes:
acquiring third position information of a first feature block on an imaging medium in a shot image and fourth position information of a second feature block in a projection image in the shot image;
extracting first position information from the photographed image according to the third position information;
and extracting the second position information from the photographed image according to the fourth position information.
Preferably, in the method for checking the screen function, the extracting the first position information and the second position information in the captured image according to the third position information and the fourth position information respectively includes:
acquiring a first position relation of a first feature block and a frame in an imaging medium;
calculating third position information according to the first position relation to obtain first position information;
according to projection of the projection equipment to the imaging medium, obtaining a second position relation between a second feature block in the projection image and the projection image;
and calculating the fourth position information according to the second position relation to obtain second position information.
Preferably, in the method for checking the screen function, checking the screen function according to the first position information and the second position information to obtain a check result of the screen function includes:
calculating the distance difference between the inner corner point of the frame in the shot image and the outer corner point corresponding to the projection image according to the first position information and the second position information;
and checking the screen function according to the distance difference to obtain a checking result.
More preferably, in the method for checking a screen function, calculating a distance difference between an inner corner point of a frame in a captured image and an outer corner point corresponding to a projection image according to the first position information and the second position information includes:
Acquiring first coordinate information of inner corner points of a frame in the first position information and second coordinate information of outer corner points corresponding to a projection image in the second position information;
and acquiring the distance difference between the inner corner point and the corresponding outer corner point according to the first coordinate information and the second coordinate information.
Preferably, in the method for checking the screen function, after checking the screen function according to the first position information and the second position information, the method further includes:
and updating the equipment information of the projection equipment according to the verification result to obtain updated equipment information.
In a second aspect, an embodiment of the present invention provides a device for checking a screen function, including:
the control unit is used for controlling the projection device to project to the imaging medium and executing a screen matching function; wherein the projected image of the projection device falls within a frame on the imaging medium;
the shooting unit is used for shooting the imaging medium to obtain a shooting image;
the first extraction unit is used for extracting first position information of the frame in the shot image and second position information of the projection image in the shot image;
and the first verification unit is used for verifying the screen function according to the first position information and the second position information to obtain a verification result of the screen function.
In a third aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the method for checking the screen function according to the first aspect when executing the computer program.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, where the computer program when executed by a processor causes the processor to perform the method for checking a screen function according to the first aspect.
The embodiment of the invention provides a method and a device for checking screen functions, computer equipment and a storage medium. When the screen alignment function of the projection equipment is subjected to the out-of-field test, the projection equipment is only required to be controlled to project to the imaging medium to execute the screen alignment function, the imaging medium is shot to obtain a shot image of the projection equipment after the screen alignment function is executed, meanwhile, the position information of the frame and the position information of the projection image are extracted from the shot image and are compared, so that the screen alignment function of the projection equipment is checked, the factory test of the screen alignment function of the projection equipment is realized, the technical problem that the factory test of the screen alignment function of the projection equipment is required to be performed in a manual mode in the prior art is solved, the factory test accuracy and efficiency of the projection equipment are improved, and the factory test cost of the projection equipment is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for checking a screen function according to an embodiment of the present invention;
FIG. 2 is another flow chart of a method for checking a screen function according to an embodiment of the present invention;
FIG. 3 is a schematic view of a positioning block on an imaging medium according to an embodiment of the present invention;
FIG. 4 is another flow chart of a method for checking a screen function according to an embodiment of the present invention;
FIG. 5 is another flow chart of a method for checking a screen function according to an embodiment of the present invention;
FIG. 6 is another flow chart of a method for checking a screen function according to an embodiment of the present invention;
FIG. 7 is a schematic block diagram of a verification device for screen functions provided by an embodiment of the present invention;
fig. 8 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Referring to fig. 1, fig. 1 is a flowchart of a method for checking a screen function according to an embodiment of the present invention. The method for checking the screen function of the projection equipment is applied to the terminal equipment, and the method performs the check on the screen function of the projection equipment through application software installed in the terminal equipment. The terminal device is a terminal device equipped with a camera, such as a desktop computer, a notebook computer, a tablet computer, a mobile phone, or the like, and the projection device is an electronic device with a projection function, such as a projector. In addition, the terminal device may be a projection device, and the projection device may be an intelligent device having functions of a projector for a screen, a projector for photographing/photographing other devices, a projector for analyzing/analyzing other devices, and the like.
The method for checking the screen function will be described in detail.
As shown in fig. 1, the method includes the following steps S110 to S140.
S110, controlling projection equipment to project to an imaging medium, and executing a screen matching function; wherein the projected image of the projection device falls within a frame on the imaging medium;
S120, shooting an imaging medium to obtain a shooting image;
s130, extracting first position information of a frame in a shot image and second position information of a projection image in the shot image;
and S140, checking the screen function according to the first position information and the second position information to obtain a check result of the screen function.
Specifically, the imaging medium is a device that the projection device can project and display the projection image, such as a projection curtain, a projection wall, a projection whiteboard, and the like, for example, a projection whiteboard with a size of 100 inches, the frame on the imaging medium is equivalent to the frame of a daily screen, the projection image generated by the projection device when projecting on the imaging medium needs to fall into the frame completely on the premise of normal screen function, and the projection image can be ensured to have a larger size, namely, the boundary of the projection image is attached to the frame of the imaging medium. Wherein the frame may be a black tape having a width of 2cm forming a 16 on the imaging medium: 9, a 60-sized rectangular box.
The purpose of the screen-facing function executed by the projection device after projection on the imaging medium is to detect whether the projection image of the projection device can fall into the frame completely, and the size of the projection image is large enough, so that the screen-facing function of the projection device can be the screen-facing function automatically executed by the projection device when projection is performed on the imaging medium, and can also be the screen-facing function executed by the terminal device when projection is performed on the imaging medium.
In this embodiment, when the projection device detects the screen alignment function, it mainly detects whether an error exists in the pose installation of the camera on the projection device, and when the projection device is executing the screen alignment function, if the screen alignment function is the automatic screen alignment of the projection device, the projection device projects on the imaging medium and automatically executes the automatic screen alignment function; if the screen alignment function is that the projection equipment is not automatically aligned, the terminal equipment controls and sends corresponding instructions to control the projection equipment to perform screen alignment.
After the projection device performs the screen matching function on the imaging medium, the adopted camera requires that the field angle of the camera is in the image shot at the installed position, the projection image is required to be in the middle of the shot image, the area of the projection image accounts for 75% -85% of the total shot image, and meanwhile, the camera can be a color camera or a black-and-white camera, and the resolution ratio of the camera is not lower than 1080P.
In addition, after the projection device performs the screen alignment function, the projection image of the projection device is displayed on the imaging medium, the terminal device shoots the imaging medium on which the projection image is projected through a preset camera to obtain a shooting image, the shooting image not only comprises the imaging medium and the projection image, but also comprises a frame on the imaging medium, the first position information and the second position information can be extracted from the shooting image through extracting the corresponding position information of the shooting image, and finally the extracted first position information and second position information are compared to verify the screen alignment function of the projection device, so that the detection of the screen alignment function of the projection device is completed. The first position information is the actual position information of the frame in the shot image, and the second position information is the actual position information of the projection image in the shot image.
In other embodiments of the present invention, before step S110, the method further includes the steps of: and adjusting the distance and/or angle of the projection device relative to the imaging medium to obtain the adjusted projection device.
In this embodiment, when the projection device detects the screen function before leaving the factory, a darkroom with a length and a width of more than 2m needs to be set, the darkroom needs to be connected with a production line, the production line enters from one side of the darkroom and exits from the other side, meanwhile, the production line needs to be closely attached to one side of the darkroom, and the darkroom needs to be provided with a camera capable of shooting a projection image after the projection device performs the screen function.
Specifically, a detector can be further installed on the assembly line and used for detecting whether the projection equipment on the assembly line reaches a preset position, when the projection equipment reaches the preset position through the assembly line, the terminal equipment can send corresponding instructions to control the mechanical device on the assembly line to control the projection equipment to move on the conveyor belt, and after the screen function detection is performed by the previous projection equipment, the mechanical device can be controlled to loosen the projection equipment so that the projection equipment can perform subsequent screen function detection. The mechanical device is used for blocking the projection equipment from moving on the assembly line, and can be a device which can stretch out and draw back at two ends of the projection equipment or move up and down above the conveyor belt, or a device which can separate the projection equipment from the conveyor belt on the assembly line. For example, when the mechanical device is a device that can extend and retract at both ends of the projection device or move up and down above the conveyor belt, the mechanical device extends and contracts or moves up and down at the upper end of the conveyor belt, so that the control of the projection device can be realized; when the mechanical device is a device for separating the projection equipment from the conveyor belt on the assembly line, the mechanical device can separate the projection equipment from the conveyor belt in a grabbing manner only after the projection equipment reaches a preset position, so that the projection equipment is controlled. It should be noted that, the mechanical device on the assembly line mainly controls the projection device to move on the conveyor belt, and the specific control method thereof may be implemented according to a specific scenario, which is not limited in this embodiment.
In addition, an automatic jig or mechanical arm is further required to be arranged in the darkroom and used for moving the projection device to a preset position and adjusting the angle between the projection device and the imaging medium at the preset position, so that the projection device can automatically execute the screen function test. The terminal equipment can start the projection equipment and execute the screen alignment function after the terminal equipment adjusts the distance and/or angle of the projection equipment relative to the imaging medium through the automatic jig or the mechanical arm. The distance between the imaging medium and the projection device is preferably 70% -90% of the size of the projection picture, the position of the imaging medium is similar to that of the camera, the plane of the imaging medium is perpendicular to the main optical axis of the optical machine lens of the projection device, and the midpoint of the bottom edge of the imaging medium is positioned on the plane formed by the gravity direction of any point of the main optical axis of the optical machine of the projection device and the main optical axis of the light passing machine. In addition, the relative positions of the projected image and the bezel can be adjusted by changing the distance and/or angle of the projection device relative to the imaging medium. It can be understood that if a relatively large deviation occurs in the relative pose of the camera on the projection device to be detected, the camera may not capture all of the frame and the projection image, so that the screen alignment function may not be normally implemented, for example, when the relative pose of the camera on the projection device to be detected is within a reasonable deviation, even if the projection device yaw rotates 45 °, the camera still can capture the complete frame and the projection image, and the projection device can implement the normal screen alignment function, however, if the deviation is too large, the camera may not capture the complete frame and the projection image, and the projection device cannot implement the normal screen alignment function, so that the action of changing the distance and/or the angle of the relative imaging medium of the projection device may well determine the problem, if the projection device still cannot implement the normal screen alignment function regardless of the adjustment distance and/or the angle, the camera may fail or have a problem with other components.
It should be noted that, the preset position and the angle between the projection device and the imaging medium are set according to specific detection conditions, which is not limited in this embodiment.
In other inventive embodiments, as shown in fig. 2, step S130 includes sub-steps S131, S132, and S133.
S131, acquiring third position information of a first feature block on an imaging medium in a shot image and fourth position information of a second feature block in a projection image in the shot image;
s132, extracting first position information from the shot image according to the third position information;
and S133, extracting second position information from the shot image according to the fourth position information.
In this embodiment, the first feature block is a feature block set in advance on the imaging medium, the second feature block is a feature block of the projection apparatus at the time of performing projection calibration, for example, a checkerboard in the projection image, the third position information is actual position information of the first feature block in the captured image, and the fourth position information is actual position information of the second feature block in the captured image. After the position information of the first characteristic block and the second characteristic block is acquired from the shooting image, the position information of the frame and the projection image in the shooting image can be determined in the shooting image, and further the verification of the screen function of the projection device is realized.
In a specific real-time process, as shown in fig. 3, the frame on the imaging medium is typically formed by a black tape having a width of 2cm 16 on the imaging medium: 9, and thus the position information of the frame cannot be directly extracted from the photographed image. Therefore, before the projection device performs the screen matching function on the imaging medium, a positioning block is preset on the imaging medium, namely a first feature block, wherein the first feature block can be a block B with a color in fig. 3, the block B can be placed in the middle of the imaging medium, or can be placed at the upper end, the lower end or the left end and the right end of the imaging medium, a plurality of blocks B in different positions shown in fig. 5 can be arranged on the imaging medium, and the position information of the first feature block and the position information of the second feature block can be extracted from the photographed image through the position information, so that the position information of the projection image and the position information of the frame in the photographed image can be accurately extracted from the photographed image through the corresponding position information.
It should be noted that, the shape, color, position and form of the first feature block displayed on the imaging medium may be set according to the actual situation, and in this embodiment, the shape, color, position and form are not limited specifically.
Meanwhile, the first feature block may be placed in the middle of the imaging medium, or may be placed at the upper and lower ends or the left and right ends of the imaging medium, where the specific position may be set according to the practical application, and the embodiment is not limited specifically.
In addition, before the corresponding position information of the photographed image is extracted, the photographed image needs to be correspondingly preprocessed, so that the position information of the frame and the position information of the projection image can be extracted from the photographed image more accurately. The preprocessing of the photographed image may be clipping, stretching, denoising and the like, and the specific preprocessing process may be performed by conventional image preprocessing, and meanwhile, the preprocessing of the photographed image may be set according to practical applications, which is not specifically limited in this embodiment.
In other inventive embodiments, as shown in fig. 4, step S132 includes sub-steps S1321, S1322, S1323 and S1324.
S1321, acquiring a first position relation of a first feature block and a frame in an imaging medium;
s1322, calculating third position information according to the first position relation to obtain first position information;
s1323, projecting the imaging medium according to the projection equipment, and acquiring a second position relation between a second feature block in the projection image and the projection image;
S1324, calculating the fourth position information according to the second position relation to obtain second position information.
In this embodiment, the first positional relationship is a relative positional relationship between the first feature block and the frame on the imaging medium, where the first feature block is a positioning block preset on the imaging medium, that is, the first positional relationship is actually a relative positional relationship between the positioning block and the frame on the imaging medium. The first positional relationship may be obtained by making corresponding measurements on the imaging medium. Because the relation between the positioning block and the border of the frame is fixed, the relation between the positioning block and the border of the frame can be obtained through the length of the positioning block on the imaging medium and the length of the positioning block on the shot image, for example, if 1 pixel is corresponding to 10cm, after the distance between the frame and the positioning block is measured, the pixel point which is separated between the frame and the positioning block can be obtained in the shot image, and further, the first position information of the frame on the shot image can be obtained; the second position relationship is a relative position relationship between the projection image and a second feature block in the projection image during the projection process of the projection device, for example, the second feature block is a checkerboard in the projection image, that is, the projection image includes the checkerboard, and the relative position relationship between the projection image and the checkerboard does not change, so that the second position relationship can be automatically calculated during the projection process when the projection device projects in the imaging medium.
In other inventive embodiments, as shown in fig. 5, step S140 includes sub-steps S141 and S142.
S141, calculating the distance difference between the inner corner point of the frame in the shot image and the outer corner point corresponding to the projection image according to the first position information and the second position information;
s142, checking the screen function according to the distance difference to obtain a checking result.
Specifically, since the sizes of the frame and the projection image in the photographed image are larger than those of the positioning block and the checkerboard, the position information of the frame and the position information of the projection image cannot be directly adopted, and therefore the distance difference between the corner points can be obtained by calculating the position information of the corner points on the photographed image through the frame and the projection image.
In this embodiment, a coordinate system is constructed on the photographed image, the first position information is set as the coordinate information of the inner corner point of the frame, the second position information is set as the coordinate information of the corresponding outer corner point of the photographed image, the third position information is set as the coordinate information of the outer corner point corresponding to the first feature block, the fourth position information is set as the coordinate information of the outer corner point corresponding to the second feature block, at this time, the first position relationship is the position relationship between the outer corner point of the positioning block and the inner corner point corresponding to the frame on the imaging medium, and the second position relationship is the position relationship between the outer corner point of the second feature block and the outer corner point corresponding to the projection image on the projection image. After the coordinate information of each inner corner point of the frame on the shot image and the coordinate information of each outer corner point corresponding to the projection image on the shot image are respectively calculated, the distance calculation can be carried out through the two corresponding coordinate information, the distance difference is further obtained, and finally the screen function can be verified through the distance difference, so that the detection of the screen function of the projection equipment is completed.
In other inventive embodiments, as shown in fig. 6, step S141 includes sub-steps S1411 and S1412.
S1411, acquiring first coordinate information of an inner corner point of a frame in first position information and second coordinate information of an outer corner point corresponding to a projection image in second position information;
s1412, obtaining the distance difference between the inner corner point and the corresponding outer corner point according to the first coordinate information and the second coordinate information.
In this embodiment, after the first coordinate information of the inner corner point of the frame and the second coordinate information of the outer corner point corresponding to the projection image are obtained, the distance difference between each pair of corner points, that is, the distance difference between a certain inner corner point in the frame and the outer corner point corresponding to the position in the projection image, for example, the distance difference between the inner corner point on the left of the frame and the outer corner point on the left of the projection image, is calculated according to the respective coordinate information, and the distance difference between each pair of corner points is compared with a preset threshold, that is, whether the distance difference between each pair of corner points is lower than the preset threshold is calculated, and finally, the verification result of the screen alignment function of the projection device is obtained according to the verification result.
The preset threshold value can be one preset threshold value or a plurality of preset threshold values, and meanwhile, whether the screen-matching function of the projection equipment passes or not can be set as that after the distance difference between each pair of angles is lower than the preset threshold value, the screen-matching function of the projection equipment passes the detection; the method can also be set that after any one of the distance differences between every two angles is higher than a preset threshold, the screen-matching function of the projection equipment is not passed; and after any multiple distance differences in the distance differences between every two opposite angles are lower than a preset threshold, the screen-opposite function of the projection device is detected, the preset threshold and the standard setting of the screen-opposite function of the projection device for detection can be set according to actual conditions, and the method is not particularly limited in the embodiment. In some embodiments, two preset thresholds may be provided for each diagonal point, one is a threshold of a horizontal distance, and the other is a threshold of a vertical distance, where the vertical distance and the horizontal distance of an inner corner point of the frame and an outer corner point corresponding to the projection image are required to be respectively smaller than the corresponding preset thresholds to determine that the distance difference between the diagonal points meets the standard.
For example, if the automatic screen-alignment function of the projection device is only checked by the distance difference between any one of the corner points in the frame and the projection image, the automatic screen-alignment function of the projection device can be checked by the distance difference between the inner corner point on the left of the frame and the outer corner point on the left of the projection image, and when the distance difference is smaller than a preset threshold value, the automatic screen-alignment function of the projection device can be judged to pass the detection, and when the distance difference is larger than the preset threshold value, the automatic screen-alignment function of the projection device can be judged to fail the detection; or, if the verification is performed only through the distance difference between any two pairs of diagonal points in the frame and the projection image, the automatic screen verification function of the projection device can be verified through the distance difference between the inner corner point on the left of the frame and the outer corner point on the left of the projection image and the distance difference between the inner corner point on the right of the frame and the outer corner point on the right of the projection image, when any one of the distance differences is smaller than a preset threshold value, the automatic screen verification function of the projection device can be judged to pass detection, and when the distance difference between the two pairs of corner points is larger than the preset threshold value, the automatic screen verification function of the projection device can be judged to fail detection.
It should be noted that, when the automatic screen alignment function of the projection device is detected by the distance difference between the corner points, the distance difference between the selected corner points may be selected according to the actual situation, and meanwhile, whether the automatic screen alignment function of the projection device passes the detection is determined by the distance difference between the corner points, which may be set according to the strict degree of the detection standard, and the present invention is not limited specifically.
In other embodiments of the present invention, after step S140, the method further includes the steps of: and updating the equipment information of the projection equipment according to the verification result to obtain updated equipment information.
In this embodiment, the projection device is further provided with a barcode capable of storing device information of the projection device, and the terminal device is further provided with a scanning device for scanning the barcode, so that after the detection of the screen function of the projection device is completed, the terminal device updates the device information obtained in advance from the barcode on the projection device and uploads the device information to the cloud or a storage server, thereby realizing the update of the device information of the projection device. When the factory detection information of the projection equipment for the screen function is required to be obtained, the factory detection record of the projection equipment can be obtained by only scanning the bar code of the projection equipment.
In the verification method for the screen-matching function provided by the embodiment of the invention, projection equipment is controlled to project to an imaging medium, and the screen-matching function is executed; wherein the projected image of the projection device falls within a frame on the imaging medium; shooting an imaging medium to obtain a shooting image; extracting first position information of a frame in a shot image and second position information of a projection image in the shot image; and checking the screen function according to the first position information and the second position information to obtain a check result of the screen function. The method for checking the screen function solves the technical problems of low manual test stability and low measurement precision, and simultaneously reduces the factory test cost of the projection equipment greatly due to the factory detection accuracy and efficiency of the projection equipment.
The embodiment of the invention also provides a checking device 100 for the screen-checking function, which is used for executing any embodiment of the checking method for the screen-checking function.
Specifically, referring to fig. 7, fig. 7 is a schematic block diagram of a verification device 100 for on-screen functions according to an embodiment of the present invention.
As shown in fig. 7, the device 100 for checking a screen function includes: a control unit 110, a photographing unit 120, a first extracting unit 130, and a first verifying unit 140.
A control unit 110 for controlling the projection device to project onto the imaging medium and performing a screen-facing function; wherein the projected image of the projection device falls within a frame on the imaging medium;
a photographing unit 120 for photographing an imaging medium to obtain a photographed image;
a first extracting unit 130, configured to extract first position information of the frame in the captured image and second position information of the projection image in the captured image;
the first verification unit 140 is configured to verify the screen function according to the first location information and the second location information, and obtain a verification result of the screen function.
In another embodiment, the checking device 100 for a screen function further includes: an adjusting unit.
And the adjusting unit is used for adjusting the distance and/or angle of the projection device relative to the imaging medium.
In another embodiment, the first extraction unit 130 includes: a first acquisition unit, a second extraction unit and a third extraction unit.
A first acquiring unit configured to acquire third position information of a first feature block on an imaging medium in a captured image and fourth position information of a second feature block in a projection image in the captured image;
a second extraction unit configured to extract first position information in the captured image based on the third position information;
and the third extraction unit is used for extracting the second position information from the photographed image according to the fourth position information.
In another embodiment, the second extraction unit comprises: the device comprises a second acquisition unit, a first calculation unit, a third acquisition unit and a second calculation unit.
The second acquisition unit is used for acquiring a first position relationship of the first characteristic block and the frame in the imaging medium;
the first calculating unit is used for calculating the third position information according to the first position relation to obtain first position information;
the third acquisition unit is used for acquiring a second position relation between a second feature block in the projection image and the projection image according to projection of the projection device to the imaging medium;
and the second calculating unit is used for calculating the fourth position information according to the second position relation to obtain second position information.
In another embodiment, the first verification unit 140 includes: a third calculation unit and a second verification unit.
The third calculation unit is used for calculating the distance difference between the inner corner point of the frame in the shot image and the outer corner point corresponding to the projection image according to the first position information and the second position information;
and the second verification unit is used for verifying the screen function according to the distance difference to obtain a verification result.
In another embodiment, the third computing unit includes: a fourth acquisition unit and a fifth acquisition unit.
A fourth obtaining unit, configured to obtain first coordinate information of an inner corner point of the frame in the first position information and second coordinate information of an outer corner point corresponding to the projection image in the second position information;
and a fifth acquisition unit for acquiring the distance difference between the inner corner point and the corresponding outer corner point according to the first coordinate information and the second coordinate information.
In another embodiment, the checking device 100 for a screen function further includes: and an updating unit.
And the updating unit is used for updating the equipment information of the projection equipment according to the verification result to obtain updated equipment information.
The verification device 100 for the screen alignment function provided by the embodiment of the invention is used for executing the projection of the control projection device to the imaging medium and executing the screen alignment function; wherein the projected image of the projection device falls within a frame on the imaging medium; shooting an imaging medium to obtain a shooting image; extracting first position information of a frame in a shot image and second position information of a projection image in the shot image; and checking the screen function according to the first position information and the second position information to obtain a check result of the screen function.
It should be noted that, as those skilled in the art can clearly understand, the specific implementation process of the verification device 100 for a screen function and each unit described above may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, the description is omitted here.
The checking means of the screen-aligning function described above may be implemented in the form of a computer program which can be run on a computer device as shown in fig. 8.
Referring to fig. 8, fig. 8 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 500 may be a terminal, where the terminal may be an electronic device having a communication function, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device.
With reference to FIG. 8, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions that, when executed, cause the processor 502 to perform a method of verifying a screen function.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the execution of a computer program 5032 in the non-volatile storage medium 503, which computer program 5032, when executed by the processor 502, causes the processor 502 to perform a method of verifying the screen function.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of a portion of the architecture in connection with the present application and is not intended to limit the computer device 500 to which the present application is applied, and that a particular computer device 500 may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to execute a computer program 5032 stored in the memory to implement the steps of: controlling the projection equipment to project to the imaging medium and executing a screen alignment function; wherein the projected image of the projection device falls within a frame on the imaging medium; shooting an imaging medium to obtain a shooting image; extracting first position information of a frame in a shot image and second position information of a projection image in the shot image; and checking the screen function according to the first position information and the second position information to obtain a check result of the screen function.
In one embodiment, the processor 502 performs the following steps prior to implementing the control of the projection device to project onto the imaging medium and performing the screen-facing function: the distance and/or angle of the projection device relative to the imaging medium is adjusted.
In one embodiment, when the processor 502 is implemented to extract the first position information of the frame in the captured image and the second position information of the projection image in the captured image, the following steps are specifically implemented: acquiring third position information of a first feature block on an imaging medium in a shot image and fourth position information of a second feature block in a projection image in the shot image; extracting first position information from the photographed image according to the third position information; and extracting the second position information from the photographed image according to the fourth position information.
In one embodiment, when the processor 502 extracts the first position information and the second position information from the captured image according to the third position information, the following steps are specifically implemented: acquiring a first position relation of a first feature block and a frame in an imaging medium; calculating third position information according to the first position relation to obtain first position information; according to projection of the projection equipment to the imaging medium, obtaining a second position relation between a second characteristic block grid in the projection image and the projection image; and calculating the fourth position information according to the second position relation to obtain second position information.
In an embodiment, when the processor 502 performs verification on the screen function according to the first location information and the second location information to obtain a verification result on the screen function, the following steps are specifically implemented: calculating the distance difference between the inner corner point of the frame in the shot image and the outer corner point corresponding to the projection image according to the first position information and the second position information; and checking the screen function according to the distance difference to obtain a checking result.
In an embodiment, when the processor 502 calculates a distance difference between an inner corner point of a frame in the captured image and an outer corner point corresponding to the projection image according to the first position information and the second position information, the following steps are specifically implemented: acquiring first coordinate information of inner corner points of a frame in the first position information and second coordinate information of outer corner points corresponding to a projection image in the second position information; and acquiring the distance difference between the inner corner point and the corresponding outer corner point according to the first coordinate information and the second coordinate information.
In an embodiment, after the processor 502 performs verification on the screen function according to the first location information and the second location information, a verification result of the screen function is obtained, which specifically includes the following steps: and updating the equipment information of the projection equipment according to the verification result to obtain updated equipment information.
It should be appreciated that in embodiments of the present application, the processor 502 may be a central processing unit (Central Processing Unit, CPU), the processor 502 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSPs), application specific integrated circuits (Application Specific Integrated Circuit, ASICs), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Those skilled in the art will appreciate that all or part of the flow in a method embodying the above described embodiments may be accomplished by computer programs instructing the relevant hardware. The computer program comprises program instructions, and the computer program can be stored in a storage medium, which is a computer readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. The program instructions, when executed by the processor, cause the processor to perform the steps of: controlling the projection equipment to project to the imaging medium and executing a screen alignment function; wherein the projected image of the projection device falls within a frame on the imaging medium; shooting an imaging medium to obtain a shooting image; extracting first position information of a frame in a shot image and second position information of a projection image in the shot image; and checking the screen function according to the first position information and the second position information to obtain a check result of the screen function.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus, device and unit described above may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein. Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the units is merely a logical function division, there may be another division manner in actual implementation, or units having the same function may be integrated into one unit, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices, or elements, or may be an electrical, mechanical, or other form of connection.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the embodiment of the present invention.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units may be stored in a storage medium if implemented in the form of software functional units and sold or used as stand-alone products. Based on such understanding, the technical solution of the present invention may be essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing an apparatus 500 (which may be a personal computer, a server, a network device, etc.) to perform 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 magnetic disk, an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any equivalent modifications or substitutions will be apparent to those skilled in the art within the scope of the present invention, and are intended to be included within the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (9)

1. A method for verifying a screen function, comprising:
controlling the projection equipment to project to the imaging medium and executing a screen alignment function; wherein the projected image of the projection device falls within a bezel on the imaging medium;
shooting the imaging medium to obtain a shooting image;
extracting first position information of the frame in the shooting image and second position information of the projection image in the shooting image;
checking the screen matching function according to the first position information and the second position information to obtain a checking result of the screen matching function;
the step of verifying the screen matching function according to the first position information and the second position information to obtain a verification result of the screen matching function comprises the following steps:
Calculating a distance difference between an inner angle point of the frame and an outer angle point corresponding to the projection image in the shot image according to the first position information and the second position information;
and checking the screen matching function according to the distance difference to obtain the checking result.
2. The method of claim 1, further comprising, prior to said controlling the projection device to project onto the imaging medium and performing the screen-on function:
adjusting the distance and/or angle of the projection device relative to the imaging medium.
3. The method according to claim 1, wherein extracting the first position information of the frame in the photographed image and the second position information of the projection image in the photographed image, respectively, comprises:
acquiring third position information of a first feature block on the imaging medium in the shooting image and fourth position information of a second feature block in the projection image in the shooting image;
extracting the first position information from the photographed image according to the third position information;
and extracting the second position information from the photographed image according to the fourth position information.
4. A method of checking a screen function according to claim 3, wherein extracting the first position information and the second position information in the captured image based on the third position information and the fourth position information, respectively, comprises:
acquiring a first position relationship of the first feature block and the frame in the imaging medium;
calculating the third position information according to the first position relation to obtain the first position information;
acquiring a second position relation between the second feature block in the projection image and the projection image;
and calculating the fourth position information according to the second position relation to obtain the second position information.
5. The method for checking a screen function according to claim 1, wherein calculating a distance difference between an inner corner point of the frame and an outer corner point corresponding to the projection image in the captured image according to the first position information and the second position information comprises:
acquiring first coordinate information of an inner corner point of the frame in the first position information and second coordinate information of an outer corner point corresponding to the projection image in the second position information;
And acquiring the distance difference between the inner corner point and the corresponding outer corner point according to the first coordinate information and the second coordinate information.
6. The method for checking a screen function according to claim 1, wherein after the checking the screen function according to the first location information and the second location information, the checking result of the screen function is obtained, further comprising:
and updating the equipment information of the projection equipment according to the verification result to obtain updated equipment information.
7. A device for checking the function of a screen, comprising:
the control unit is used for controlling the projection device to project to the imaging medium and executing a screen matching function; wherein the projected image of the projection device falls within a bezel on the imaging medium;
the shooting unit is used for shooting the imaging medium to obtain a shooting image;
a first extracting unit, configured to extract first position information of the frame in the captured image and second position information of the projection image in the captured image, respectively;
the first verification unit is used for verifying the screen matching function according to the first position information and the second position information to obtain a verification result of the screen matching function;
Wherein the first verification unit includes: a third calculation unit and a second verification unit;
the third calculation unit is used for calculating the distance difference between the inner corner point of the frame in the shot image and the outer corner point corresponding to the projection image according to the first position information and the second position information;
and the second verification unit is used for verifying the screen function according to the distance difference to obtain a verification result.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements a method of checking a screen function according to any of claims 1 to 6 when executing the computer program.
9. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, causes the processor to perform the method of checking a screen function according to any one of claims 1 to 6.
CN202210042845.1A 2022-01-14 2022-01-14 Screen function verification method and device, computer equipment and storage medium Active CN114422763B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210042845.1A CN114422763B (en) 2022-01-14 2022-01-14 Screen function verification method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210042845.1A CN114422763B (en) 2022-01-14 2022-01-14 Screen function verification method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114422763A CN114422763A (en) 2022-04-29
CN114422763B true CN114422763B (en) 2024-02-09

Family

ID=81272953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210042845.1A Active CN114422763B (en) 2022-01-14 2022-01-14 Screen function verification method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114422763B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321303A (en) * 2008-07-17 2008-12-10 上海交通大学 Geometric and optical correction method for non-plane multi-projection display
CN103313009A (en) * 2012-03-08 2013-09-18 精工爱普生株式会社 Image processing apparatus, image processing method, and projector
JP2015225101A (en) * 2014-05-26 2015-12-14 株式会社リコー Image projection device, method for controlling image projection device, and program for controlling image projection device
CN112584116A (en) * 2021-02-24 2021-03-30 深圳市火乐科技发展有限公司 Projection correction method, projection correction device, storage medium and electronic equipment
CN113489961A (en) * 2021-09-08 2021-10-08 深圳市火乐科技发展有限公司 Projection correction method, projection correction device, storage medium and projection equipment
CN215067708U (en) * 2021-04-30 2021-12-07 深圳市火乐科技发展有限公司 Projection screen and projection device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015206950A (en) * 2014-04-22 2015-11-19 ソニー株式会社 Information processing device, information processing method, program, adjustment device and image display system
CN111935465B (en) * 2019-05-13 2022-06-17 中强光电股份有限公司 Projection system, projection device and correction method of display image thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321303A (en) * 2008-07-17 2008-12-10 上海交通大学 Geometric and optical correction method for non-plane multi-projection display
CN103313009A (en) * 2012-03-08 2013-09-18 精工爱普生株式会社 Image processing apparatus, image processing method, and projector
JP2015225101A (en) * 2014-05-26 2015-12-14 株式会社リコー Image projection device, method for controlling image projection device, and program for controlling image projection device
CN112584116A (en) * 2021-02-24 2021-03-30 深圳市火乐科技发展有限公司 Projection correction method, projection correction device, storage medium and electronic equipment
CN215067708U (en) * 2021-04-30 2021-12-07 深圳市火乐科技发展有限公司 Projection screen and projection device
CN113489961A (en) * 2021-09-08 2021-10-08 深圳市火乐科技发展有限公司 Projection correction method, projection correction device, storage medium and projection equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Fully automatic multi-projector calibration with an uncalibrated camera;Ignacio Garcia-Dorado;Jeremy R. Cooperstock;《CVPR 2011 WORKSHOPS》;29-36 *
智能投影系统几何校正与交互技术的研究;蓝建梁;《中国优秀博士学位论文全文数据库 信息科技辑》;全文 *
自动多投影仪非线性几何校正与图像边缘融合方法;王胜正 ;杨杰;《上海交通大学学报》;第42卷(第4期);574-578, 583 *

Also Published As

Publication number Publication date
CN114422763A (en) 2022-04-29

Similar Documents

Publication Publication Date Title
CN110769246B (en) Method and device for detecting faults of monitoring equipment
US11933604B2 (en) Detection method and apparatus for automatic driving sensor, and electronic device
US8428313B2 (en) Object image correction apparatus and method for object identification
CN112272292B (en) Projection correction method, apparatus and storage medium
WO2006100991A1 (en) Method of and apparatus for automatically adjusting alignement of a projector with respect to a projection screen
CN110087049A (en) Automatic focusing system, method and projector
US11928805B2 (en) Information processing apparatus, information processing method, and storage medium for defect inspection and detection
CN112634173B (en) Curved screen image correction method and system
KR20110068375A (en) Method for adjusting parameters in distortion calibration of image acquired by camera having fish eye lens
CN111627073B (en) Calibration method, calibration device and storage medium based on man-machine interaction
CN114302121A (en) Image correction inspection method, device, electronic equipment and storage medium
CN116337412A (en) Screen detection method, device and storage medium
CN110769225B (en) Projection area obtaining method based on curtain and projection device
CN108965525B (en) Detection method and device, terminal, computer equipment and readable storage medium
US20190347822A1 (en) Automatic determination and calibration for spatial relationship between multiple cameras
CN114422763B (en) Screen function verification method and device, computer equipment and storage medium
CN113077506B (en) Object safety monitoring method based on image processing and control terminal
CN113840137B (en) Verification method and system for mobile detection sensitivity of network camera
US11166005B2 (en) Three-dimensional information acquisition system using pitching practice, and method for calculating camera parameters
WO2018087424A1 (en) Determining an intersection location of an optical axis of a lens with a camera sensor
CN110363818A (en) The method for detecting abnormality and device of binocular vision system
JP2805897B2 (en) Image quality inspection equipment
JP2011061651A (en) Suspicious object detection system
CN112907540A (en) Splicing abnormity detection method, device, equipment and medium
KR101974111B1 (en) Method and System for Testing Display Panel

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