CN117807581B - Authorized use method, system and storage medium of projector - Google Patents
Authorized use method, system and storage medium of projector Download PDFInfo
- Publication number
- CN117807581B CN117807581B CN202410228604.5A CN202410228604A CN117807581B CN 117807581 B CN117807581 B CN 117807581B CN 202410228604 A CN202410228604 A CN 202410228604A CN 117807581 B CN117807581 B CN 117807581B
- Authority
- CN
- China
- Prior art keywords
- image
- projector
- correction
- detected
- user
- 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
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000012937 correction Methods 0.000 claims abstract description 120
- 238000013475 authorization Methods 0.000 claims abstract description 52
- 238000012795 verification Methods 0.000 claims abstract description 43
- 238000001514 detection method Methods 0.000 claims abstract description 38
- 230000001960 triggered effect Effects 0.000 claims abstract description 9
- 238000004590 computer program Methods 0.000 claims description 19
- 238000012545 processing Methods 0.000 claims description 5
- 230000001747 exhibiting effect Effects 0.000 claims description 3
- 230000006870 function Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 6
- 230000013011 mating Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 241000826860 Trapezium Species 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/36—User authentication by graphic or iconic representation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/33—User authentication using certificates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/44—Program or device authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image combination
- G06T2207/20221—Image fusion; Image merging
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention discloses a projector authorization using method, a projector authorization using system and a storage medium, wherein the projector authorization using method comprises the following steps: the projector acquires a projection image comprising the verification image and displays the projection image; shooting by the user side equipment to obtain a projection image, and receiving a pairing image and a correction image; responding to image moving operation triggered by a user, and adding the paired image and the correction image to the projection image to obtain an image to be detected; the method comprises the steps that identity information and an image to be detected are sent to a server side, so that the server side performs matching detection on the image to be detected, after detection is passed, the server side sends authorization certificate information to a projector, and the server side generates correction parameters according to a matched image, a correction image and the image to be detected; the projector receives the authorization certificate information and the correction parameters, is connected with the user equipment according to the authorization certificate information, and corrects the projection area according to the correction parameters. The method can realize the completion of the correction of the projector image while the authorized user uses the projector.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, a system, and a storage medium for authorized use of a projector.
Background
Currently, as the demands of offices and businesses develop, projectors are increasingly used, including commercial rental modes of projectors. In this mode, it is necessary to manage the lease grant of the projector, that is, the use of the projector is possible after the grant is authorized.
In the prior art, the projector is authorized to be used by manual authorization or in the form of a license issued by a server. After being licensed with authorization, the user may connect his own device to the projector. However, since the resolution of the content projected by the user has various forms, the desired display effect is different, and the projection area or the projection image is usually required to be corrected after the connection with the projector, so as to achieve the display effect required by the user.
In summary, the above-mentioned authorization process and correction process need to be performed separately, which brings inconvenience to the user's operation.
Disclosure of Invention
The invention provides an authorized use method, an authorized use system and a storage medium of a projector, so as to realize that a user is authorized to use the projector and simultaneously complete correction of an image of the projector.
In order to solve the above technical problems, the present invention provides a method for authorized use of a projector, including:
the projector acquires a projection image comprising a verification image and displays the projection image;
the user terminal equipment shoots and obtains the projection image and receives the pairing image and the correction image sent by the server terminal;
The user side device responds to image moving operation triggered by a user, and adds the paired image and the correction image to the projection image to obtain an image to be detected;
The user terminal equipment sends the identity information and the image to be detected to a server terminal so that the server terminal carries out matching detection on the image to be detected, when detection passes, the server terminal sends authorization certificate information to the projector, and the server terminal generates correction parameters according to the paired image, the correction image and the image to be detected and sends the correction parameters to the projector;
And the projector receives the authorization certificate information and the correction parameters, is connected with the user equipment according to the authorization certificate information, and corrects the initial projection area according to the correction parameters.
As an optional implementation manner, the performing matching detection on the image to be detected includes:
comparing the image to be detected with a standard image, and judging that the matching detection is passed if the comparison is consistent; if the comparison is inconsistent, judging that the matching detection is not passed;
wherein the verification image and the pairing image form at least one part of the standard picture after being combined.
As an alternative embodiment, the generating correction parameters according to the paired image, the correction image, and the image to be detected includes:
acquiring first characteristic point coordinates in the corrected image and second characteristic point coordinates in the paired image;
Calculating a deviation coefficient of an initial projection area according to the first characteristic point coordinates and the second characteristic point coordinates;
And generating a correction parameter corresponding to the initial projection area according to the deviation coefficient.
As an optional implementation manner, the calculating the deviation coefficient of the initial projection area according to the first feature point coordinate and the second feature point coordinate includes:
calculating four angular coordinates of the initial projection area based on the second characteristic point coordinates;
Matching the four angular coordinates with the first characteristic point coordinates, and obtaining at least four coordinate deviation values according to the matched angular coordinates and the first characteristic point coordinates; the correction image comprises at least four first characteristic points, wherein the first characteristic points are used for limiting the boundary of a required projection area;
And obtaining a deviation coefficient according to the at least four coordinate deviation values.
As an optional implementation manner, the calculating the deviation coefficient of the initial projection area according to the first feature point coordinate and the second feature point coordinate includes:
calculating four angular coordinates of the initial projection area based on the second characteristic point coordinates;
Matching the four angular coordinates with the first characteristic point coordinates, and obtaining coordinate deviation values according to the matched angular coordinates and the first characteristic point coordinates; wherein the corrected image comprises at least one first feature point, the first feature point and the second feature point being used to define the boundary of the desired projection area;
and obtaining a deviation coefficient according to the coordinate deviation value.
As an alternative embodiment, the correction image is added by one or more image shifting operations.
As an alternative embodiment, further comprising:
carrying out gray grid processing on the image to be detected, and obtaining pixel characteristic points in the image to be detected according to a preset gray threshold;
And establishing a coordinate system by taking the second characteristic point in the paired images as an origin, and calculating four angular coordinates and the first characteristic point coordinate in the coordinate system.
As an alternative embodiment, the method further comprises:
The method comprises the steps that user side equipment sends authorization request information to a server side, the server side selects a standard picture from a pre-configured image database, and a verification image and a pairing image are generated according to the standard picture;
the projector receives the verification image and displays the verification image.
In a second aspect, the present invention provides an authorized use system for a projector, comprising:
A projector for acquiring a projection image including a verification image and exhibiting the projection image;
The user terminal equipment is used for shooting and obtaining the projection image and receiving the pairing image and the correction image sent by the server terminal; the user side device responds to image moving operation triggered by a user, and adds the paired image and the correction image to the projection image to obtain an image to be detected; the user terminal equipment sends the identity information and the image to be detected to a server;
And the server is used for carrying out matching detection on the image to be detected, sending authorization certificate information to the projector by the server after the detection is passed, generating correction parameters according to the paired image, the correction image and the image to be detected and sending the correction parameters to the projector so that the projector receives the authorization certificate information and the correction parameters, is connected with the user equipment according to the authorization certificate information, and corrects an initial projection area according to the correction parameters.
In a third aspect, the present invention further provides a computer readable storage medium, where the computer readable storage medium includes a stored computer program, where the computer program when executed controls a device in which the computer readable storage medium is located to execute the method for authorized use of the projector according to any one of the above.
Compared with the prior art, the invention has the following beneficial effects:
The invention provides an authorized use method of a projector, which comprises the following steps: the projector acquires a projection image comprising a verification image and displays the projection image; the user terminal equipment shoots and obtains the projection image and receives the pairing image and the correction image sent by the server terminal; the user side device responds to image moving operation triggered by a user, and adds the paired image and the correction image to the projection image to obtain an image to be detected; the user terminal equipment sends the identity information and the image to be detected to a server terminal so that the server terminal carries out matching detection on the image to be detected, when detection passes, the server terminal sends authorization certificate information to the projector, and the server terminal generates correction parameters according to the paired image, the correction image and the image to be detected and sends the correction parameters to the projector; and the projector receives the authorization certificate information and the correction parameters, is connected with the user equipment according to the authorization certificate information, and corrects the initial projection area according to the correction parameters.
According to the invention, the verification image is displayed through the projector, then a user uses user equipment (namely equipment to be connected with the projector) to photograph the verification image, a pairing image and a correction image are added to the projection image on an operation interface, and then the added image to be detected is sent to a server for matching detection. And after the detection is successful, authorizing the user side equipment to use the projector, and correcting the projection area according to the corrected image. The correction image is added by a user according to the initial projection image of the projector, so that the user needs to be met, and the correction parameters are obtained by using the paired image and the correction image at the same time during correction, so that the correction of the projector image can be completed while the user is authorized to use the projector. After the authorization is finished, the user does not need to carry out extra correction operation steps, so that the operation of the user is greatly saved, and convenience is brought to the use of the user.
Drawings
Fig. 1 is a flowchart of a method for authorizing a projector to use according to an embodiment of the present invention;
FIG. 2 is a schematic illustration of a projected image provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of an image movement operation interface according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an image to be detected according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another image to be detected according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a paired image and a corrected image provided by an embodiment of the present invention;
FIG. 7 is a schematic diagram of projection area correction according to an embodiment of the present invention;
fig. 8 is a schematic diagram of an authorized use system of a projector according to an embodiment of the present invention.
Wherein, the reference numerals are as follows: 1. projecting an image; 11. verifying the image; 12. pairing images; 13. correcting the image; 2. the image is to be detected.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. 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.
Referring to fig. 1, a first embodiment of the present invention provides a method for authorized use of a projector, including the steps of:
s11, a projector acquires a projection image 1 comprising a verification image 11 and displays the projection image 1;
S12, the user terminal equipment shoots to obtain the projection image 1 and receives the paired image 12 and the correction image 13 sent by the server terminal;
S13, the user side equipment responds to image movement operation triggered by a user, and the paired image 12 and the corrected image 13 are added to the projection image 1 to obtain an image 2 to be detected;
S14, the user terminal equipment sends the identity information and the image 2 to be detected to a server terminal, so that the server terminal carries out matching detection on the image 2 to be detected, when the detection passes, the server terminal sends authorization certificate information to the projector, and the server terminal generates correction parameters according to the paired image 12, the correction image 13 and the image 2 to be detected and sends the correction parameters to the projector;
And S15, the projector receives the authorization certificate information and the correction parameters, is connected with the user side equipment according to the authorization certificate information, and corrects the initial projection area according to the correction parameters.
It should be noted that, in daily use, the projector should be positioned at right angles to the projection screen as much as possible to ensure the projection effect. If the perpendicularity of the two is not ensured, the screen generates trapezium. That is, the projected picture is no longer square and rectangular. In this case, the user needs to adjust the projection screen to a standard rectangle using "trapezoidal correction" to secure the viewing effect. Trapezoidal correction is a remedy provided to users with an undesirable projection environment. In the rental mode, most users do not necessarily have a standard projection environment, and thus, when the projector is used after the authorized license of the projector is obtained, an additional trapezoid correction operation is required.
In the invention, after the matching detection of the server side is successful, the user side device is authorized to use the projector, and the projection area is corrected according to the correction image 13. Wherein, the correction image 13 is added by the user according to the initial projection image of the projector, which better meets the needs of the user, and the correction parameters are obtained by using the paired image 12 and the correction image 13 at the same time during correction, thereby realizing that the correction of the projector image can be completed while the user is authorized to use the projector. After the authorization is finished, the user does not need to carry out extra correction operation steps, so that the operation of the user is greatly saved, and convenience is brought to the use of the user.
In step S11, the projector acquires a projection image 1 including a verification image 11 and displays the projection image 1.
As shown in fig. 2, the verification image 11 is an image in which a part of the fragment is missing in the middle, by way of example. In a specific application, the verification image 11 may be pre-stored in the projector, or may be issued by the server, and the picture is called when the presentation is required. Wherein, the server stores the complete image corresponding to the verification image 11 for matching detection. Illustratively, the verification image 11 is in the middle or in a corner or any position of the projection image 1, which is not limited by the present invention.
In one embodiment, the method further comprises:
The user terminal equipment sends authorization request information to a server terminal, the server terminal selects a standard picture from a pre-configured image database, and a verification image 11 and a pairing image 12 are generated according to the standard picture;
The projector receives the verification image 11 and presents the verification image 11.
The verification image 11 may be issued to the projector by the server, so that real-time update of the verification image 11 can be realized. The server side segments the standard picture to obtain a verification image 11 and a pairing image 12, and the verification image 11 and the pairing image 12 are respectively sent to a projector and user side equipment, and the verification image 11 and the pairing image 12 are shown in fig. 3.
In step S12, the user terminal device photographs the projection image 1, and receives the paired image 12 and the corrected image 13 sent by the server terminal.
The user equipment is equipment which is used by a user and needs to be connected with the projector, such as a mobile phone, a computer and the like, so long as the equipment has a photographing function. When a user sends an authorization request, the projector equipment needs to be opened, so that the projector equipment displays the projection image 1, and then the user performs shooting operation on the projection image 1 through the user side equipment to obtain the projection image 1. It should be noted that, in a specific application, the user may be reminded to shoot the full-range of the projection image 1 when shooting by displaying a reminder through the user side device or the projector, so as to complete the correction of the projector subsequently.
In step S13, the ue adds the paired image 12 and the corrected image 13 to the projection image 1 in response to the image movement operation triggered by the user, so as to obtain an image 2 to be detected.
The image moving operation includes one or more of clicking, dragging and sliding. Illustratively, referring to fig. 3, the user holds the mating image 12 by a finger and drags the mating image 12 to the missing area on the verification image 11, and then drags the correction image 13 to one of the corner positions of the projection area.
Wherein the correction image 13 is added by one or more image shifting operations. For example, referring to fig. 4, the verification image 11 is located in the middle area of the projection image 1, the deformation of the projection area is serious, and at this time, the user can set four correction images 13, which are respectively added to the 4 corners of the projection area; referring to fig. 5, the verification image 11 is located in the middle region of the projection image 1, and the projection region is less distorted, and the user can set a correction image 13 to be added to the corner of the projection region where the distortion exists.
In a specific application, the ue sends authorization request information to the server through an authorization request interface provided by the server, for example, an operation interface of the projector app, and opens the projector, so that the projector displays the verification image 11. Then, the user uploads the photographed projection image 1 on an operation interface, and adds the paired image 12 and the corrected image 13 to the projection image 1 in an adding interface to obtain an image 2 to be detected. By synchronously adding the paired image 12 and the corrected image 13 in the adding interface, the operation program of the user is further saved, and convenience is brought to the user. The device use operation instruction can be sent to the user terminal device through the service terminal, and operation reminding can be carried out on the user in the operation process.
In step S14, the ue sends the identity information and the image to be detected 2 to a server, so that the server performs matching detection on the image to be detected 2, and when the detection passes, the server sends authorization certificate information to the projector, and the server generates correction parameters according to the paired image 12, the correction image 13 and the image to be detected 2 and sends the correction parameters to the projector.
It should be noted that, the server is configured to perform matching detection on the image 2 to be detected. The server side is in data communication with the user side equipment and the projector, and specifically, any communication protocol such as Bluetooth, wireless network, zigbee and the like is adopted between the user side equipment and the projector authorization server side.
In the rental mode, the authorization credential information is generated by a server, which may be configured to manage multiple projectors. The authorization certificate information is a certificate file provided by the leasing party to the leasing user, and the use duration is authorized in the use authority set by the projector. The authorization credential information includes one or more of projector self information, authorized use device information, authorized use duration, rental use period, and geographic location information. The projector information and the authorized device information may be SN codes, device numbers, ID information, etc. of the device.
Specifically, the performing the matching detection on the image to be detected 2 includes:
Comparing the image 2 to be detected with a standard image, and judging that the matching detection is passed if the comparison is consistent; if the comparison is inconsistent, judging that the matching detection is not passed;
wherein the verification image 11 and the pairing image 12 form at least a part of the standard picture after being combined.
It should be noted that, the paired image 12 is a missing portion in the verification image 11, and the image 2 to be detected is formed after stitching. For example, the standard picture is segmented to obtain a verification image 11 and a pairing image 12, similarity comparison is carried out on the image 2 to be detected and the standard picture, if the similarity is greater than a similarity threshold (such as 95%), matching detection is passed, and an authorization certificate can be issued; if the similarity is less than 95%, the matching detection is not passed, and at this time, authorization failure information can be sent to the user equipment through the server, so that the user equipment can carry out authorization request operation again. Of course, the similarity threshold may also be set to 98%, 99%, etc., which is not limited by the present invention.
In this embodiment, the generating correction parameters according to the paired image 12, the correction image 13, and the image to be detected 2 includes:
acquiring first feature point coordinates in the corrected image 13 and second feature point coordinates in the paired image 12;
Calculating a deviation coefficient of an initial projection area according to the first characteristic point coordinates and the second characteristic point coordinates;
And generating a correction parameter corresponding to the initial projection area according to the deviation coefficient.
Wherein, when calculating the above-mentioned coordinates, still include:
carrying out gray gridding treatment on the image 2 to be detected, and obtaining pixel characteristic points in the image 2 to be detected according to a preset gray threshold;
a coordinate system is established with the second feature point in the mating image 12 as an origin, and four angular coordinates in the coordinate system and the first feature point coordinates are calculated.
Referring to fig. 6, illustratively, calibration points of different colors are set in the paired image 12 and the corrected image 13 at the positions of the four corners of the initial projection area, and pixel characteristic points corresponding to the calibration points in the paired image 12 and the corrected image 13 are obtained according to a preset gray threshold value through gray rasterization processing. For example, if the background is bright, the gray value is greater than the gray threshold value to be a pixel characteristic point; and if the background is dark, the gray value is smaller than the gray threshold value to be a pixel characteristic point. After identifying the pixel feature points, marking the pixel feature points in the corrected image 13 as first feature points, for example, corner points of the corrected image 13 in (b) of fig. 6; the pixel feature points in the mating image 12 are noted as second feature points, such as corner points, center points, etc. of the mating image 12 in fig. 6 (a). Then, a coordinate system is established with the second feature point in the mating image 12 as an origin, and four angular coordinates in the coordinate system and the first feature point coordinates are calculated.
Specifically, in one embodiment, the calculating the deviation coefficient of the initial projection area according to the first feature point coordinate and the second feature point coordinate includes:
calculating four angular coordinates of the initial projection area based on the second characteristic point coordinates;
Matching the four angular coordinates with the first characteristic point coordinates, and obtaining at least four coordinate deviation values according to the matched angular coordinates and the first characteristic point coordinates; wherein the corrected image 13 comprises at least four first feature points for defining the boundaries of the desired projection area;
And obtaining a deviation coefficient according to the at least four coordinate deviation values.
Referring to fig. 4, in the present embodiment, the user may set four corrected images 13, which are respectively added to the 4 corners of the projection area, to achieve a better viewing display effect. The four angular coordinates may be preconfigured or calculated by the coordinate system. Further, when the four angular coordinates are matched with the first feature point coordinates, the matching may be performed according to the direction away from the origin of coordinates, that is, the angular coordinates at the point D of the first quadrant are matched with the first feature point, the difference between the two X coordinates and the Y coordinates is performed to obtain a coordinate offset value, and the other positions are not described in detail. Finally, a deviation coefficient is obtained according to the at least four coordinate deviation values, wherein the deviation coefficient represents the amount of compensation required by each pixel point, such as the displacement and path required by the movement of the point A1 to the point A2 in FIG. 7. In the invention, the second characteristic point in the paired image 12 is used as a reference point, the second characteristic point is positioned in the middle of the image, and the matching of the angular coordinates and the first characteristic point can be quickly realized in a quadrant dividing mode.
Specifically, in another embodiment, the calculating the deviation coefficient of the initial projection area according to the first feature point coordinate and the second feature point coordinate includes:
calculating four angular coordinates of the initial projection area based on the second characteristic point coordinates;
matching the four angular coordinates with the first characteristic point coordinates, and obtaining coordinate deviation values according to the matched angular coordinates and the first characteristic point coordinates; wherein the corrected image 13 comprises at least one first feature point, the first feature point and the second feature point being used to define the boundaries of the desired projection area;
and obtaining a deviation coefficient according to the coordinate deviation value.
Referring to fig. 5, in the present embodiment, the verification image 11 is located in the middle area of the projection image 1, and the projection area is less distorted, and at this time, the user may set a correction image 13 to be added to the corner of the projection area where the distortion exists. For example, when the angular coordinates are matched with the first feature point coordinates, the matching may be performed according to the direction from the origin of coordinates, that is, the angular coordinates at the point D in the first quadrant are matched with the first feature point, and the difference is made between the X coordinates and the Y coordinates of the two to obtain the coordinate deviation value. And finally, obtaining a deviation coefficient according to the coordinate deviation value, wherein the deviation coefficient represents the amount of each pixel point to be compensated.
In step S15, the projector receives the authorization credential information and the correction parameter, connects to the client device according to the authorization credential information, and corrects the initial projection area according to the correction parameter.
Referring to fig. 7, the projector and the user side device realize communication connection with each other according to information in the authorization certificate, and the projector corrects the projection area to an effect required by the user according to the correction parameters. The horizontal trapezoid correction solves the problem that the projector cannot be perpendicular to the screen to generate image trapezoid distortion in the horizontal direction, so that the projector can also realize a standard rectangular projection image 1 on the side surface of the screen, the corrected projection area is shown in fig. 7, the point A1 moves to the point A2, the point B1 moves to the point B2, the point C1 moves to the point C2, and the point D1 moves to the point D2, wherein all of the points A2, B2, C2 and D2 are in the maximum breadth range of the projector. Compared with the prior art, the invention realizes the function of automatic trapezoid correction according to the position of the correction image 13 by setting the position of the correction image 13 by the user, can realize correction while completing authorization, and saves user operation.
In the invention, the verification image 11 is displayed through the projector, then the user uses the user terminal equipment, namely the equipment to be connected with the projector, to photograph the verification image 11, adds the pairing image 12 and the correction image 13 on the operation interface to the projection image 1, and then sends the added image 2 to be detected to the server terminal for matching detection. After the detection is successful, the user side equipment is authorized to use the projector, and the projection area is corrected according to the correction image 13. Wherein, the correction image 13 is added by the user according to the initial projection image of the projector, which better meets the needs of the user, and the correction parameters are obtained by using the paired image 12 and the correction image 13 at the same time during correction, thereby realizing that the correction of the projector image can be completed while the user is authorized to use the projector. After the authorization is finished, the user does not need to carry out extra correction operation steps, so that the operation of the user is greatly saved, and convenience is brought to the use of the user.
Referring to fig. 8, a second embodiment of the present invention provides an authorized use system of a projector, including:
A projector for acquiring a projection image including a verification image and exhibiting the projection image;
The user terminal equipment is used for shooting and obtaining the projection image and receiving the pairing image and the correction image sent by the server terminal; the user side device responds to image moving operation triggered by a user, and adds the paired image and the correction image to the projection image to obtain an image to be detected; the user terminal equipment sends the identity information and the image to be detected to a server;
And the server is used for carrying out matching detection on the image to be detected, sending authorization certificate information to the projector by the server after the detection is passed, generating correction parameters according to the paired image, the correction image and the image to be detected and sending the correction parameters to the projector so that the projector receives the authorization certificate information and the correction parameters, is connected with the user equipment according to the authorization certificate information, and corrects an initial projection area according to the correction parameters.
It should be noted that, the authorized use system of a projector provided in the embodiment of the present invention is used for executing all the flow steps of the authorized use method of a projector in the above embodiment, and the working principles and beneficial effects of the two correspond to each other one by one, so that the description is omitted.
In summary, in the invention, the verification image is displayed through the projector, then the user uses the user terminal equipment, namely the equipment to be connected with the projector, photographs the verification image, adds the pairing image and the correction image to the projection image on the operation interface, and then sends the added image to be detected to the server terminal for matching detection. And after the detection is successful, authorizing the user side equipment to use the projector, and correcting the projection area according to the corrected image. The correction image is added by a user according to the initial projection image of the projector, so that the user needs to be met, and the correction parameters are obtained by using the paired image and the correction image at the same time during correction, so that the correction of the projector image can be completed while the user is authorized to use the projector. After the authorization is finished, the user does not need to carry out extra correction operation steps, so that the operation of the user is greatly saved, and convenience is brought to the use of the user.
The embodiment of the invention also provides terminal equipment. The terminal device includes: a processor, a memory, and a computer program stored in the memory and executable on the processor, such as an authorized use program for a projector. The processor, when executing the computer program, implements the steps in the above-described embodiments of the authorized use method for each projector, for example, step S11 shown in fig. 1. Or the processor, when executing the computer program, performs the functions of the modules/units in the system embodiments described above.
The computer program may be divided into one or more modules/units, which are stored in the memory and executed by the processor to accomplish the present invention, for example. The one or more modules/units may be a series of computer program instruction segments capable of performing the specified functions, which instruction segments are used for describing the execution of the computer program in the terminal device.
The terminal equipment can be a desktop computer, a notebook computer, a palm computer, an intelligent tablet and other computing equipment. The terminal device may include, but is not limited to, a processor, a memory. It will be appreciated by those skilled in the art that the above components are merely examples of terminal devices and do not constitute a limitation of terminal devices, and may include more or fewer components than described above, or may combine certain components, or different components, e.g., the terminal devices may also include input and output devices, network access devices, buses, etc.
The Processor may be a central processing unit (Central Processing Unit, CPU), other general purpose Processor, digital signal Processor (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which is a control center of the terminal device, and which connects various parts of the entire terminal device using various interfaces and lines.
The memory may be used to store the computer program and/or module, and the processor may implement various functions of the terminal device by running or executing the computer program and/or module stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart memory card (SMART MEDIA CARD, SMC), secure Digital (SD) card, flash memory card (FLASH CARD), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
Wherein the terminal device integrated modules/units may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as stand alone products. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or system capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
It should be noted that the system embodiments described above are merely illustrative, and that the units described as separate units may or may not be physically separate, and that units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the system embodiment of the present invention, the connection relationship between the modules represents that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The foregoing embodiments have been provided for the purpose of illustrating the general principles of the present invention, and are not to be construed as limiting the scope of the invention. It should be noted that any modifications, equivalent substitutions, improvements, etc. made by those skilled in the art without departing from the spirit and principles of the present invention are intended to be included in the scope of the present invention.
Claims (10)
1. A method for authorized use of a projector, comprising:
the projector acquires a projection image comprising a verification image and displays the projection image;
the user terminal equipment shoots and obtains the projection image and receives the pairing image and the correction image sent by the server terminal;
The user side device responds to image moving operation triggered by a user, and adds the paired image and the correction image to the projection image to obtain an image to be detected;
The user terminal equipment sends the identity information and the image to be detected to a server terminal so that the server terminal carries out matching detection on the image to be detected, when detection passes, the server terminal sends authorization certificate information to the projector, and the server terminal generates correction parameters according to the paired image, the correction image and the image to be detected and sends the correction parameters to the projector;
And the projector receives the authorization certificate information and the correction parameters, is connected with the user equipment according to the authorization certificate information, and corrects the initial projection area according to the correction parameters.
2. The method for authorized use of a projector according to claim 1, wherein said performing a match detection on said image to be detected comprises:
comparing the image to be detected with a standard image, and judging that the matching detection is passed if the comparison is consistent; if the comparison is inconsistent, judging that the matching detection is not passed;
wherein the verification image and the pairing image form at least one part of the standard picture after being combined.
3. The authorized use method of the projector according to claim 1, wherein the generating correction parameters from the paired image, the correction image, and the image to be detected includes:
acquiring first characteristic point coordinates in the corrected image and second characteristic point coordinates in the paired image;
Calculating a deviation coefficient of an initial projection area according to the first characteristic point coordinates and the second characteristic point coordinates;
And generating a correction parameter corresponding to the initial projection area according to the deviation coefficient.
4. A method of authorized use of a projector according to claim 3, wherein said calculating a deviation factor of an initial projected area from the first feature point coordinates and the second feature point coordinates comprises:
calculating four angular coordinates of the initial projection area based on the second characteristic point coordinates;
Matching the four angular coordinates with the first characteristic point coordinates, and obtaining at least four coordinate deviation values according to the matched angular coordinates and the first characteristic point coordinates; the correction image comprises at least four first characteristic points, wherein the first characteristic points are used for limiting the boundary of a required projection area;
And obtaining a deviation coefficient according to the at least four coordinate deviation values.
5. A method of authorized use of a projector according to claim 3, wherein said calculating a deviation factor of an initial projected area from the first feature point coordinates and the second feature point coordinates comprises:
calculating four angular coordinates of the initial projection area based on the second characteristic point coordinates;
Matching the four angular coordinates with the first characteristic point coordinates, and obtaining coordinate deviation values according to the matched angular coordinates and the first characteristic point coordinates; wherein the corrected image comprises at least one first feature point, the first feature point and the second feature point being used to define the boundary of the desired projection area;
and obtaining a deviation coefficient according to the coordinate deviation value.
6. The authorized use method of a projector according to claim 4 or 5, wherein the correction image is added by one or more image shifting operations.
7. The authorized use method of a projector according to claim 4 or 5, further comprising:
carrying out gray grid processing on the image to be detected, and obtaining pixel characteristic points in the image to be detected according to a preset gray threshold;
And establishing a coordinate system by taking the second characteristic point in the paired images as an origin, and calculating four angular coordinates and the first characteristic point coordinate in the coordinate system.
8. The method of authorized use of a projector of claim 2, further comprising:
The method comprises the steps that user side equipment sends authorization request information to a server side, the server side selects a standard picture from a pre-configured image database, and a verification image and a pairing image are generated according to the standard picture;
the projector receives the verification image and displays the verification image.
9. An authorized use system for a projector, comprising:
A projector for acquiring a projection image including a verification image and exhibiting the projection image;
The user terminal equipment is used for shooting and obtaining the projection image and receiving the pairing image and the correction image sent by the server terminal; the user side device responds to image moving operation triggered by a user, and adds the paired image and the correction image to the projection image to obtain an image to be detected; the user terminal equipment sends the identity information and the image to be detected to a server;
And the server is used for carrying out matching detection on the image to be detected, sending authorization certificate information to the projector by the server after the detection is passed, generating correction parameters according to the paired image, the correction image and the image to be detected and sending the correction parameters to the projector so that the projector receives the authorization certificate information and the correction parameters, is connected with the user equipment according to the authorization certificate information, and corrects an initial projection area according to the correction parameters.
10. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored computer program, wherein the computer program, when run, controls a device in which the computer readable storage medium is located to perform the authorized use method of the projector according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410228604.5A CN117807581B (en) | 2024-02-29 | 2024-02-29 | Authorized use method, system and storage medium of projector |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410228604.5A CN117807581B (en) | 2024-02-29 | 2024-02-29 | Authorized use method, system and storage medium of projector |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117807581A CN117807581A (en) | 2024-04-02 |
CN117807581B true CN117807581B (en) | 2024-06-04 |
Family
ID=90432029
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410228604.5A Active CN117807581B (en) | 2024-02-29 | 2024-02-29 | Authorized use method, system and storage medium of projector |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117807581B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113365040A (en) * | 2021-02-24 | 2021-09-07 | 深圳市火乐科技发展有限公司 | Projection correction method, projection correction device, storage medium and electronic equipment |
CN116645275A (en) * | 2022-02-15 | 2023-08-25 | 深圳光峰科技股份有限公司 | Method, device, projector and storage medium for correcting projection image |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016224172A (en) * | 2015-05-28 | 2016-12-28 | 株式会社リコー | Projection system, image processing device, calibration method and program |
-
2024
- 2024-02-29 CN CN202410228604.5A patent/CN117807581B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113365040A (en) * | 2021-02-24 | 2021-09-07 | 深圳市火乐科技发展有限公司 | Projection correction method, projection correction device, storage medium and electronic equipment |
CN116645275A (en) * | 2022-02-15 | 2023-08-25 | 深圳光峰科技股份有限公司 | Method, device, projector and storage medium for correcting projection image |
Also Published As
Publication number | Publication date |
---|---|
CN117807581A (en) | 2024-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10657600B2 (en) | Systems and methods for mobile image capture and processing | |
WO2022179108A1 (en) | Projection correction method and apparatus, storage medium, and electronic device | |
US9654750B2 (en) | Image processing system, image processing apparatus, and image processing method to respectively display images obtained by dividing one image on first and the second display media | |
US20090190046A1 (en) | Output correction for visual projection devices | |
CN110400266B (en) | Image correction method and device and storage medium | |
CN110958401A (en) | Super night scene image color correction method and device and electronic equipment | |
CN109785390B (en) | Method and device for image correction | |
CN108124102A (en) | Image processing method, device and computer readable storage medium | |
CN110930336A (en) | Image processing method and device, electronic equipment and storage medium | |
CN110874809A (en) | Image processing method and device, electronic equipment and storage medium | |
CN109167921B (en) | Shooting method, shooting device, shooting terminal and storage medium | |
CN117807581B (en) | Authorized use method, system and storage medium of projector | |
CN111567034A (en) | Exposure compensation method, device and computer readable storage medium | |
CN114339179B (en) | Projection correction method, apparatus, storage medium and projection device | |
CN111428707B (en) | Method and device for identifying pattern identification code, storage medium and electronic equipment | |
US20190007666A1 (en) | Image details processing method, apparatus, terminal, and storage medium | |
CN114549658A (en) | Camera calibration method and device and electronic equipment | |
WO2019034556A1 (en) | Method and device for displaying visual content and for processing an image | |
CN115278184B (en) | Projection picture correction method and device | |
CN109257192B (en) | Group information sharing method and device | |
CN109949212B (en) | Image mapping method, device, electronic equipment and storage medium | |
CN118248055A (en) | Screen control method, device and storage medium | |
CN118118794A (en) | Image brightness correction method, device and storage medium | |
CN116934607A (en) | Image white balance processing method and device, electronic equipment and storage medium | |
CN117764895A (en) | Image processing method, device and storage medium |
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 |