CN108286364B - Door lock installation assisting method and device - Google Patents

Door lock installation assisting method and device Download PDF

Info

Publication number
CN108286364B
CN108286364B CN201810044199.6A CN201810044199A CN108286364B CN 108286364 B CN108286364 B CN 108286364B CN 201810044199 A CN201810044199 A CN 201810044199A CN 108286364 B CN108286364 B CN 108286364B
Authority
CN
China
Prior art keywords
door lock
guide sheet
guide
image data
parameters
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
CN201810044199.6A
Other languages
Chinese (zh)
Other versions
CN108286364A (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 Lutuo Technology Co Ltd
Original Assignee
Shenzhen Lutuo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Lutuo Technology Co Ltd filed Critical Shenzhen Lutuo Technology Co Ltd
Priority to CN201810044199.6A priority Critical patent/CN108286364B/en
Publication of CN108286364A publication Critical patent/CN108286364A/en
Application granted granted Critical
Publication of CN108286364B publication Critical patent/CN108286364B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B17/00Accessories in connection with locks
    • E05B17/0004Lock assembling or manufacturing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/14Transformations for image registration, e.g. adjusting or mapping for alignment of images
    • G06T3/147Transformations for image registration, e.g. adjusting or mapping for alignment of images using affine transformations

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)

Abstract

The invention relates to a door lock installation assisting method and a door lock installation assisting device, wherein the door lock installation assisting method is applied to a client side and comprises the following steps: shooting a door lock guide sheet provided with a guide sheet calibration component to obtain guide sheet image data; uploading the guide sheet image data to a server side, so that the server side performs projection conversion on a guide sheet plane image represented by the guide sheet image data into a reference plane image according to an affine transformation matrix; and receiving the door lock guide sheet parameters calculated by the server side from the reference plane image, and assisting door lock installation through the door lock guide sheet parameters. The door lock installation auxiliary method and the door lock installation auxiliary device provided by the invention solve the problem of low door lock installation efficiency in the prior art.

Description

Door lock installation assisting method and device
Technical Field
The invention relates to the technical field of computers, in particular to a door lock installation assisting method and device.
Background
In the existing door lock installation, key parameters required during door lock installation need to be measured firstly, and then door lock production and door installation are arranged according to the key parameters.
If the door lock installer goes to the door to assist the user in measuring the key parameters, the door lock installer needs to go to the door for multiple times, so that not only is the time of the user occupied, but also the labor cost is high; if the user measures and provides key parameter by oneself, in case there is the deviation in key parameter, will lead to the door lock installation failure, must need rework once more, and the material is wasted time and the process is loaded down with trivial details.
From the above, the existing door lock installation still has the defect of low efficiency.
Disclosure of Invention
In order to solve the above technical problems, an object of the present invention is to provide a door lock installation assisting method and apparatus.
The technical scheme adopted by the invention is as follows:
a door lock installation assisting method is applied to a client side and comprises the following steps: shooting a door lock guide sheet provided with a guide sheet calibration component to obtain guide sheet image data; uploading the guide sheet image data to a server side, so that the server side performs projection conversion on a guide sheet plane image represented by the guide sheet image data into a reference plane image according to an affine transformation matrix; and receiving the door lock guide sheet parameters calculated by the server side from the reference plane image, and assisting door lock installation through the door lock guide sheet parameters.
A door lock installation assisting method is applied to a server and comprises the following steps: receiving guide vane image data, wherein the guide vane image data is obtained by shooting a door lock guide vane provided with a guide vane calibration component by a client; projecting and converting a guide sheet plane image represented by the guide sheet image data into a reference plane image according to an affine transformation matrix; calculating to obtain the parameters of the door lock guide sheet according to the reference plane image; and returning the door lock guide sheet parameters to the client side so that the client side can assist in door lock installation through the door lock guide sheet parameters.
A door lock installation auxiliary device is applied to the customer end, includes: the data acquisition module is used for shooting the door lock guide plate provided with the guide plate calibration component to obtain guide plate image data; the data uploading module is used for uploading the guide sheet image data to a server side so that the server side can project and convert a guide sheet plane image represented by the guide sheet image data into a reference plane image according to an affine transformation matrix; and the parameter receiving module is used for receiving the door lock guide sheet parameters calculated by the server side according to the reference plane image and assisting in door lock installation through the door lock guide sheet parameters.
A door lock installation auxiliary device is applied to the server side, includes: the data receiving module is used for receiving guide vane image data, and the guide vane image data is obtained by shooting a door lock guide vane provided with a guide vane calibration component by a client; an image projection module for projectively converting a guide sheet plane image represented by the guide sheet image data into a reference plane image according to an affine transformation matrix; the parameter calculation module is used for calculating the parameters of the door lock guide sheet from the reference plane image; and the parameter returning module is used for returning the door lock guide sheet parameters to the client so that the client assists in door lock installation through the door lock guide sheet parameters.
A door lock installation assistance device comprising a processor and a memory, the memory having stored thereon computer readable instructions which, when executed by the processor, implement a door lock installation assistance method as described above.
A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the door lock installation assistance method as described above.
In the technical scheme, based on the interaction between the client and the server, the client uploads the guide sheet image data to the server, and the server returns the door lock guide sheet parameters according to the guide sheet image data, so as to assist in door lock installation.
Specifically, the customer end shoots the lock guide vane of placing the guide vane calibration part, obtain guide vane image data and upload to the server, make the server convert the guide vane plane image projection that guide vane image data represents into the reference plane image according to the affine transformation matrix, and calculate by this reference plane image and obtain lock guide vane parameter, return to the customer end with this, from this, before the lock installation, just can prepare the required various lock accessories of lock installation in advance according to lock guide vane parameter, it is simple accurate, not only be favorable to improving the success rate of lock installation, be favorable to improving the efficiency of lock installation, and then improve user's installation experience, and be favorable to reducing lock manufacturing cost, reduce the human cost.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a schematic illustration of an implementation environment in accordance with the present invention.
Fig. 2 is a block diagram illustrating a hardware configuration of a terminal according to an exemplary embodiment.
Fig. 3 is a block diagram illustrating a hardware architecture of a server according to an example embodiment.
FIG. 4 is a flow chart illustrating a door lock installation assistance method in accordance with an exemplary embodiment.
Fig. 5 is a schematic illustration of a calibration background plate according to the corresponding embodiment of fig. 4.
Fig. 6 is a first schematic diagram of the standard markers involved in the corresponding embodiment of fig. 5.
Fig. 7 is a second schematic representation of the standard markers involved in the corresponding example of fig. 5.
Fig. 8 is a flow chart of one embodiment of step 330 in the corresponding embodiment of fig. 4.
FIG. 9 is a flow chart of one embodiment of step 350 of the corresponding embodiment of FIG. 4.
FIG. 10 is a flow chart illustrating another door lock installation assistance method according to an exemplary embodiment.
FIG. 11 is a flow chart illustrating another door lock installation assistance method according to an exemplary embodiment.
Fig. 12 is a block diagram illustrating a door lock installation assistance device in accordance with an exemplary embodiment.
Fig. 13 is a block diagram illustrating another door lock installation aid according to an exemplary embodiment.
While specific embodiments of the invention have been shown by way of example in the drawings and will be described in detail hereinafter, such drawings and description are not intended to limit the scope of the inventive concepts in any way, but rather to explain the inventive concepts to those skilled in the art by reference to the particular embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a schematic diagram of an implementation environment involved in a door lock installation assistance method. The implementation environment includes a terminal 100 and a server 200.
The terminal 100 may be a desktop computer, a notebook computer, a tablet computer, a smart phone, or other electronic devices with a network connection function, which is not limited herein.
The server 200 establishes a communication connection, such as a wired network or a wireless network, with the terminal 100 in advance to enable the server 200 to interact with the terminal 100 through the communication connection. For the mass terminal 100, the server 200 may be a single server, a server cluster composed of a plurality of servers, or a cloud computing center, which is not limited herein.
Through the interaction between the terminal 100 and the server 200, the client running on the terminal 100 uploads the guide sheet image data to the server 200, so that the server 200 returns the door lock guide sheet parameters according to the guide sheet image data, thereby realizing the assistance of door lock installation.
Referring to fig. 2, fig. 2 is a block diagram illustrating a terminal according to an example embodiment.
It should be noted that the terminal 100 is only an example adapted to the present invention, and should not be considered as providing any limitation to the scope of the present invention. The terminal 100 is also not to be construed as necessarily dependent upon or having one or more components of the exemplary terminal 100 illustrated in fig. 2.
As shown in fig. 2, the terminal 100 includes a memory 101, a memory controller 103, one or more (only one shown in fig. 2) processors 105, a peripheral interface 107, a radio frequency module 109, a positioning module 111, a camera module 113, an audio module 115, a touch screen 117, and a key module 119. These components communicate with each other via one or more communication buses/signal lines 121.
The memory 101 may be used to store computer programs and modules, such as computer readable instructions and modules corresponding to the door lock installation assisting method and apparatus in the exemplary embodiment of the present invention, and the processor 105 executes various functions and data processing by executing the computer readable instructions stored in the memory 101, so as to complete the door lock installation assisting method.
The memory 101, as a carrier of resource storage, may be random access memory, e.g., high speed random access memory, non-volatile memory, such as one or more magnetic storage devices, flash memory, or other solid state memory. The storage means may be a transient storage or a permanent storage.
The peripheral interface 107 may include at least one wired or wireless network interface, at least one serial-to-parallel conversion interface, at least one input/output interface, at least one USB interface, and the like, for coupling various external input/output devices to the memory 101 and the processor 105, so as to realize communication with various external input/output devices.
The rf module 109 is configured to receive and transmit electromagnetic waves, and achieve interconversion between the electromagnetic waves and electrical signals, so as to communicate with other devices through a communication network. Communication networks include cellular telephone networks, wireless local area networks, or metropolitan area networks, which may use various communication standards, protocols, and technologies.
The positioning module 111 is used for acquiring the current geographic position of the terminal 100. Examples of the positioning module 111 include, but are not limited to, a global positioning satellite system (GPS), a wireless local area network-based positioning technology, or a mobile communication network-based positioning technology.
The camera module 113 is attached to a camera and is used for taking pictures or videos. The shot pictures or videos can be stored in the memory 101 and also can be sent to an upper computer through the radio frequency module 109.
Audio module 115 provides an audio interface to a user, which may include one or more microphone interfaces, one or more speaker interfaces, and one or more headphone interfaces. And performing audio data interaction with other equipment through the audio interface. The audio data may be stored in the memory 101 and may also be transmitted through the radio frequency module 109.
The touch screen 117 provides an input-output interface between the terminal 100 and a user. Specifically, the user may perform an input operation, such as a gesture operation of clicking, touching, sliding, and the like, through the touch screen 117, so that the terminal 100 responds to the input operation. The terminal 100 displays and outputs the output content formed by any one or combination of text, pictures or videos to the user through the touch screen 117.
The key module 119 includes at least one key for providing an interface for a user to input to the terminal 100, and the user can cause the terminal 100 to perform different functions by pressing different keys. For example, the sound adjustment key may allow the user to effect an adjustment of the volume of sound played by the terminal 100.
It is to be understood that the configuration shown in fig. 2 is merely exemplary, and terminal 100 may include more or fewer components than shown in fig. 2, or different components than shown in fig. 2. The components shown in fig. 2 may be implemented in hardware, software, or a combination thereof.
Fig. 3 is a block diagram illustrating a hardware architecture of a server 200 according to an example embodiment. It should be noted that the server 200 is only an example adapted to the present invention, and should not be considered as providing any limitation to the scope of the present invention. The server 200 is also not to be construed as necessarily dependent on or having to have one or more components of the exemplary server 200 shown in fig. 3.
The hardware structure of the server 200 may be greatly different due to different configurations or performances, as shown in fig. 3, the server 200 includes: a power supply 210, an interface 230, at least one memory 250, and at least one Central Processing Unit (CPU) 270.
The power supply 210 is used for providing an operating voltage for each hardware device on the server 200.
The interface 230 includes at least one wired or wireless network interface 231, at least one serial-to-parallel conversion interface 233, at least one input/output interface 235, and at least one USB interface 237, etc. for communicating with external devices.
The storage 250 is used as a carrier for resource storage, and may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., and the resources stored thereon include an operating system 251, an application 253, data 255, etc., and the storage manner may be a transient storage or a permanent storage. The operating system 251 is used for managing and controlling each hardware device and the application 253 on the server 200 to implement the computation and processing of the mass data 255 by the central processing unit 270, which may be windows server, Mac OS XTM, unix, linux, FreeBSDTM, or the like. The application 253 is a computer program that performs at least one specific task on the operating system 251, and may include at least one module (not shown in fig. 3), each of which may respectively include a series of computer-readable instructions for the server 200. The data 255 may be photographs, pictures, etc. stored in a disk.
The central processor 270 may include one or more processors and is arranged to communicate with the memory 250 via a bus for computing and processing the mass data 255 in the memory 250.
As described in detail above, the server 200 to which the present invention is applied will complete the door lock installation assisting method by the cpu 270 reading a series of computer readable instructions stored in the memory 250.
Furthermore, the present invention can be implemented by hardware circuits or by a combination of hardware circuits and software, and thus, the implementation of the present invention is not limited to any specific hardware circuits, software, or a combination of both.
Referring to fig. 4, in an exemplary embodiment, a door lock installation assisting method is applied to the terminal 100 in the implementation environment shown in fig. 1, and the structure of the terminal 100 may be as shown in fig. 2.
The door lock installation assisting method may be executed by a client running on the terminal 100, and may include the following steps:
and 310, shooting the door lock guide sheet with the guide sheet calibration component to obtain guide sheet image data.
First, it is explained that the guide vane calibration component is a standard component for calibrating the door lock guide vane, so that the conversion of the guide vane related image can be performed based on the standard component.
In one embodiment, the guide vane calibration component is a calibration background plate provided with standard markers, as shown in fig. 5. The middle of the calibration background plate is left empty (as shown by a white area) for filling the door lock guide sheet. The standard marker for the calibration background plate, which is used to fill the remaining non-empty part of the calibration background plate (as shown by the gray area), may be a standard checkerboard, as shown in fig. 6, or an array of dots, as shown in fig. 7.
Further, for the standard marker, when filling is carried out in the calibration background plate, the deviation of the distance and the distribution precision between the standard marker and the calibration background plate is not more than 0.01mm, so that the effectiveness of carrying out guide vane related image conversion is fully ensured.
Of course, in other embodiments, the guide plate calibration component may also be a standard marker that can be placed on the periphery of the door lock guide plate, for example, the standard marker is an item that is convenient for obtaining standard size in daily life, including but not limited to: card-type identification (e.g., identification card, driver's license), bank card, transportation card, bank note, coin, smart phone, beverage bottle cap, packaging box, etc.
Next, the guide patch image data includes moving image data and still image data. The moving image data refers to a moving image such as a video including a plurality of frames of images, and the still image data may be a still image such as a picture including one frame of image, as opposed to the moving image data. Therefore, the shooting of the door lock guide sheet can be performed for obtaining the video of a plurality of frames of images, and can also be performed for obtaining the picture of a single frame of image.
In this embodiment, the shooting is performed for a single frame image.
It can also be understood that the guidance piece image data uploaded to the server by the client is a picture including a single frame image, and thus, for the server, when the door lock guidance piece parameter calculation is performed, the picture is based on the single frame image.
It should be noted that, for the door lock guide piece on which the guide piece calibration member is placed, the guide piece image data represents not only the guide piece plane image but also the guide piece calibration member plane image. Taking the guide vane calibration component as an example of a calibration background plate provided with a standard marker, as shown in fig. 5, a plane image of the guide vane is shown as a white area, and a plane image of the calibration background plate is shown as a gray area.
And 330, uploading the guide sheet image data to the server, so that the server performs projection conversion on the guide sheet plane image represented by the guide sheet image data into a reference plane image according to the affine transformation matrix.
For the server, after receiving the image data of the guide sheet, the server can provide calculation services for key parameters required when the door lock is installed.
In a specific implementation of an embodiment, as shown in fig. 8, the guide vane calibration component is a calibration background plate provided with a standard marker. Accordingly, the projection conversion process of the guide vane plane image can comprise the following steps:
step 331, standard marker detection is performed on the guide sheet image data to obtain the position of the standard marker in the calibration background plate.
As mentioned above, the standard markers will fill the non-empty parts of the calibration background plate in the form of a standard checkerboard or an array of dots.
Therefore, the standard marker detection refers to detecting the corner points of the checkerboard filled in the calibration background plate, or detecting the lumps of the dots filled in the calibration background plate, so that the position of the standard marker in the calibration background plate can be obtained.
Step 333, an affine transformation matrix is calculated from the positions of the standard markers to correct the guide piece plane image represented by the guide piece image data to the reference plane image.
It should be appreciated that the user's shooting angle is ever changing, thereby causing various errors in the imaging process in the client. For the server, it is necessary to eliminate various errors in the imaging process, correct the planar images of the guide strip obtained from the various shooting angles into standard mode images, and calculate the parameters of the door lock guide strip according with the standard dimensions based on the standard mode images.
For this purpose, the server stores reference image data in advance, and corrects the guide piece plane image using the reference plane image indicated by the reference image data as a standard pattern image. The reference image data is obtained by shooting a calibration background plate by the service end. Accordingly, the position of the standard marker based on the reference image data in the calibration background plate will be obtained through standard marker detection performed on the reference image data.
Based on the above, the affine transformation matrix is generated by calculating the positions of the standard markers respectively corresponding to the reference image data and the guide piece image data. It can also be understood that a mapping relationship is established between the guide piece plane image and the reference plane image by the reflection transformation matrix, and the guide piece plane image can be converted into the reference plane image based on the mapping relationship.
And 350, receiving the door lock guide sheet parameters calculated by the server from the reference plane image, and assisting to install the door lock through the door lock guide sheet parameters.
Key parameters required for door lock installation include, but are not limited to: the position of the top and bottom hook, the thickness of the door, the width of the guide piece, the height of the guide piece, the position of the bolt opening relative to the guide piece, the opening position of the guide piece fixing screw, the number of the guide piece fixing screws, the outer edge shape of the guide piece, the type of the guide piece and the like.
In this embodiment, the door lock guide vane parameter is used to characterize key parameters related to the guide vane, such as door thickness, guide vane width, guide vane height, position of the bolt opening relative to the guide vane, opening position of the guide vane fixing screw, number of guide vane fixing screws, outer edge shape of the guide vane, type of the guide vane, and the like. The type of the guide piece refers to the type of the guide piece to which the door lock guide piece parameter belongs, and for example, the type may be a door side guide piece or a door frame side guide piece.
As shown in fig. 9, in a specific implementation of an embodiment, the door lock guiding sheet parameter calculating process may include the following steps:
in step 351, component feature extraction is performed on the reference plane image, and the relative component position is calculated from the extracted component features.
The reference plane image is a guide piece plane image after correction, based on which the part features include part edge features and part position features. Wherein, part edge characteristic further includes door frame edge, door plant edge, guide plate edge etc. and part position characteristic further includes spring bolt hole position, screw hole position etc..
Accordingly, the operators used for component feature extraction are different for different component features. Aiming at the edge characteristics of the component, adopting a line characteristic extraction operator; and aiming at the position characteristics of the part, adopting a lump characteristic extraction operator.
After the component features are extracted, the relative position of the components can be calculated from the extracted component features. Such as the spacing between the edge of the door frame and the edge of the guide strip, the spacing between the locations of the latch holes, and the spacing between the locations of the screw holes.
Further, the relative position of the components is represented by coordinate values.
Furthermore, during the extraction of the feature of the component, morphological image processing can be performed on the reference plane image, such as thinning, pixelation, edge extraction and the like, so as to eliminate noise in the reference plane image, and further, the accuracy of parameter calculation of the door lock guide sheet is improved, the success rate of door lock installation is fully guaranteed, and the efficiency of door lock installation is improved.
And step 353, converting the relative positions of the components into door lock guide sheet parameters according to a proportion.
Wherein the ratio is related to the guide vane indexing component. The guide vane calibration component is taken as a calibration background plate provided with standard markers for explanation, and the proportion is calculated by the distance between the positions of the standard markers in the calibration background plate and the design size of the calibration background plate.
Thus, after the proportion is obtained, the door lock guide piece parameter meeting the standard size can be calculated according to the relative position of the components based on the proportion.
Through the process, the auxiliary door lock installation process from the terminal to the server is realized, namely, the portability and the universality of the terminal are utilized, the user is guided to shoot the door lock guide sheet with the guide sheet calibration component placed, so as to obtain the image related to the guide sheet, the powerful computing capability and the data storage capability of the server are utilized, the high-efficiency and accurate image analysis and data verification are provided for the image related to the guide sheet, the accuracy of the required key parameter during door lock installation is fully ensured, the success rate of door lock installation is favorably improved, the efficiency of door lock installation is favorably improved, the installation experience of the user is further improved, the production cost of the door lock is favorably reduced, and the labor cost is reduced.
Referring to fig. 10, in an exemplary embodiment, before step 330, the method as described above may further include the following steps:
and step 410, carrying out validity check on the image data of the guide piece.
And the validity check refers to detecting the brightness and contrast of the image and/or detecting the integrity of the image, so that the accuracy of the parameter calculation of the subsequent door lock guide sheet is fully ensured.
Further, the detection of the image brightness and contrast is to determine whether the gray distribution in the graph gray histogram is uniform, for example, the concentrated range of the gray distribution is not less than 30% of the whole distribution area, so as to ensure that the image related to the guide vane is clear enough.
The detection of the image integrity is to ensure that the image including the frame of the guide plate calibration component occupies 60% or more of the whole image area, and/or whether the door lock guide plate is completely exposed out of the guide plate calibration component, and/or whether the door lock guide plate is blocked by foreign matters, etc.
Of course, the detection criteria may be flexibly adjusted according to the actual application scenario, and is not limited herein.
Therefore, when the image data of the guide piece passes the validity check, namely the image quality of the related image of the guide piece meets the established image quality standard, the door lock guide piece parameter can be calculated based on the image data of the guide piece.
Otherwise, when the image data of the guide slice does not pass the validity check, the step 430 is skipped to generate a quality-unqualified message, and the quality-unqualified message indicates that the image quality of the image related to the guide slice does not meet the image quality standard.
Further, the quality fail message includes a notice to guide the user to take a shot of the door lock guide sheet that meets the image quality standard. For example, the photographing light is enhanced, the center position of the door lock guide piece is focused when photographing, and the like.
And step 430, if the guide piece image data does not pass the validity check, generating a message with unqualified quality.
And step 450, guiding the user to shoot the door lock guide sheet which meets the image quality standard through the quality unqualified message.
Under the effect of the embodiment, the image quality of the guide sheet related image is fully ensured, a basis is provided for accurate calculation of the door lock guide sheet parameters, failure in door lock installation caused by inaccurate key parameters required by door lock installation is avoided, the success rate of door lock installation is favorably improved subsequently, and the efficiency of door lock installation is improved.
In an exemplary embodiment, after step 330, the method as described above may further include the steps of:
and receiving a parameter verification failure message issued by the server to prompt the user that the door lock guide sheet needs to be shot again when the parameters of the door lock guide sheet are unqualified.
Parameter checks include, but are not limited to: judging whether the parameters of the door lock guide sheet meet a set range or not; and/or judging whether the door lock guide sheet parameters are matched with the door lock guide sheet parameters stored in the database; and/or judging whether the door lock type to which the door lock guide sheet parameter belongs accords with regional distribution or not, and then eliminating abnormal data in the door lock guide sheet parameter, thereby being beneficial to ensuring the success rate of subsequent door lock installation.
For the server, if the parameter verification is successful, the door lock installation is assisted according to the door lock guide sheet parameters successfully verified by the parameter verification.
For example, according to the door lock type to which the door lock guide sheet parameter belongs, whether the stock of the door lock manufacturer is sufficient or not is checked, if the stock is insufficient, the door lock manufacturer is prompted to produce the door lock according to the door lock guide sheet parameter, and the door lock is provided for shipment, so that before the door lock is installed, various door lock accessories required during door lock installation can be prepared in advance for a user according to the door lock guide sheet parameter, and the door lock installer can be arranged to install the door lock on the door or the user can install the door lock by himself.
On the contrary, if the parameter verification fails, a parameter verification failure message is generated, so that the user can shoot the door lock guide sheet again according to the unqualified door lock guide sheet parameter indicated by the parameter verification failure message.
Further, for the door lock guide sheet parameter with failed parameter verification, the server further analyzes whether the door lock guide sheet parameter belongs to an unknown case, for example, the door lock guide sheet parameter conforms to a predetermined range but is not backed up in a database, and the like, and accordingly, the server notifies a background worker to perform manual processing, so that unnecessary shooting again by the user is avoided.
Under the cooperation of the embodiment, the accuracy of the parameters of the door lock guide sheet is fully ensured through validity check, so that the success rate of door lock installation is favorably improved, and the efficiency of door lock installation is improved.
In an exemplary embodiment, after step 350, the method as described above may further include the steps of:
and feeding back the door lock installation completion to the server, and requesting the server to update data according to the door lock guide sheet parameters.
Specifically, for the client, when the door lock installation is completed, an installation completion operation triggered by a user is detected, so that the completion of the door lock installation is fed back to the server according to the installation completion operation.
The client side provides a door lock installation completion entrance for a user, so that the user can trigger related operations at the door lock installation completion entrance when the door lock installation is completed. For example, the door lock installation completion entry is a clickable button displayed on the page of the client, and when the door lock installation is completed, the user clicks the button, and the clicking operation is regarded as an installation completion operation.
For the server, after knowing that the door lock is installed, the door lock guide sheet parameters required during the installation of the door lock are stored in the database, so that the parameter verification service can be provided subsequently by means of the door lock guide sheet parameters stored in the database.
Under the effect of above-mentioned embodiment, provide abundant data basis for the parameter check-up, and then guaranteed the accuracy of lock guide vane parameter effectively, and then be favorable to improving the success rate of lock installation, improve the efficiency of lock installation.
Referring to fig. 11, in an exemplary embodiment, a door lock installation assisting method is applied to a server 200 in the implementation environment shown in fig. 1, and the structure of the server 200 may be as shown in fig. 3.
The door lock installation assisting method may be executed by the server 200, and may include the following steps:
and step 510, receiving guide vane image data, wherein the guide vane image data is obtained by shooting a door lock guide vane with a guide vane calibration component arranged on a client.
Step 530, the guide sheet plane image represented by the guide sheet image data is projectively converted into a reference plane image according to the affine transformation matrix.
And step 550, calculating the parameters of the door lock guide sheet from the reference plane image.
And 570, returning the door lock guide sheet parameters to the client so that the client assists in door lock installation through the door lock guide sheet parameters.
In the embodiment of the invention, on the basis of combining machine vision and computer vision technologies, by utilizing the interaction of the terminal and the server, a user can automatically acquire images related to the guide sheet and provide a data base for key parameters required by door lock installation; the identification and measurement from the image to the key parameter are realized by utilizing the computing power of the server; the data storage capacity of the server is utilized, the implemented successful case of door lock installation is utilized to carry out parameter verification on the key parameters, so that the identification effect is further ensured, high-efficiency and quick assistance is provided for door lock installation, the door lock installation process is simple and convenient, and the installation experience of a user is effectively improved.
The following is an embodiment of the apparatus of the present invention, which can be used to perform the door lock installation assisting method of the present invention. For details which are not disclosed in the embodiments of the apparatus of the present invention, reference is made to method embodiments of the door lock installation assisting method according to the present invention.
Referring to FIG. 12, in an exemplary embodiment, a door lock installation aid 900 includes, but is not limited to: a data acquisition module 910, a data uploading module 930, and a parameter receiving module 950.
The data acquiring module 910 is configured to shoot a door lock guide plate with a guide plate calibration component placed therein, so as to obtain guide plate image data.
The data uploading module 930 is configured to upload the guide vane image data to the server, so that the server performs projection conversion on the guide vane plane image represented by the guide vane image data into a reference plane image according to the affine transformation matrix.
The parameter receiving module 950 is configured to receive the door lock guide vane parameter calculated by the server from the reference plane image, and assist in door lock installation through the door lock guide vane parameter.
Referring to FIG. 13, in an exemplary embodiment, a door lock installation aid 1300 includes, but is not limited to: a data receiving module 1310, an image projecting module 1330, a parameter calculating module 1350, and a parameter returning module 1370.
The data receiving module 1310 is configured to receive guide vane image data, where the guide vane image data is obtained by shooting a door lock guide vane on which a guide vane calibration component is placed by a client.
The image projection module 1330 is configured to projectively convert the guide sheet plane image represented by the guide sheet image data into a reference plane image according to the affine transformation matrix.
The parameter calculating module 1350 is used to calculate the parameters of the door lock guiding plate from the reference plane image.
The parameter returning module 1370 is used for returning the door lock guide sheet parameters to the client, so that the client assists in door lock installation through the door lock guide sheet parameters.
It should be noted that, when the door lock installation assisting device provided in the above embodiment performs the information recommendation processing, only the division of the above function modules is exemplified, and in practical applications, the functions may be distributed to different function modules according to needs, that is, the internal structure of the door lock installation assisting device is divided into different function modules to complete all or part of the functions described above.
In addition, the door lock installation auxiliary device provided by the above embodiment and the embodiment of the door lock installation auxiliary method belong to the same concept, wherein the specific manner of executing operations by each module has been described in detail in the method embodiment, and is not described again here.
In an exemplary embodiment, a door lock installation assistance device includes a processor and a memory.
The memory stores computer readable instructions, and the computer readable instructions, when executed by the processor, implement the door lock installation assisting method in the above embodiments.
In an exemplary embodiment, a computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements a door lock installation assistance method in the above-described embodiments.
The above-mentioned embodiments are merely preferred examples of the present invention, and are not intended to limit the embodiments of the present invention, and those skilled in the art can easily make various changes and modifications according to the main concept and spirit of the present invention, so that the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (11)

1. A door lock installation assisting method is applied to a client side and is characterized by comprising the following steps:
shooting a door lock guide sheet provided with a guide sheet calibration component to obtain guide sheet image data;
uploading the guide sheet image data to a server side, so that the server side performs projection conversion on a guide sheet plane image represented by the guide sheet image data into a reference plane image according to an affine transformation matrix;
and receiving the door lock guide sheet parameters calculated by the server side from the reference plane image, and assisting door lock installation through the door lock guide sheet parameters.
2. The method of claim 1, wherein prior to uploading the guide vane image data to a server, the method further comprises:
checking the validity of the image data of the guide piece;
if the guide piece image data does not pass validity check, generating a message with unqualified quality;
and guiding the user to shoot the door lock guide sheet which meets the image quality standard through the quality unqualified message.
3. The method of claim 1, wherein after uploading the guide vane image data to a server, the method further comprises:
and receiving a parameter verification failure message issued by the server to prompt a user that the door lock guide sheet needs to be shot again when the parameters of the door lock guide sheet are unqualified.
4. The method of claim 1, wherein after receiving the door lock guide sheet parameters calculated by the server from the reference plane image and assisting door lock installation through the door lock guide sheet parameters, the method further comprises:
and feeding back that the door lock is installed to the server, and requesting the server to update data according to the parameters of the door lock guide sheet.
5. A door lock installation auxiliary method is applied to a server side and is characterized by comprising the following steps:
receiving guide vane image data, wherein the guide vane image data is obtained by shooting a door lock guide vane provided with a guide vane calibration component by a client;
projecting and converting a guide sheet plane image represented by the guide sheet image data into a reference plane image according to an affine transformation matrix;
calculating to obtain the parameters of the door lock guide sheet according to the reference plane image;
and returning the door lock guide sheet parameters to the client side so that the client side can assist in door lock installation through the door lock guide sheet parameters.
6. The method according to claim 5, wherein the guide sheet calibration means is a calibration background board provided with a standard marker, and the projectively converting a guide sheet plane image represented by the guide sheet image data into a reference plane image according to an affine transformation matrix comprises:
detecting a standard marker for the image data of the guide sheet to obtain the position of the standard marker in the calibration background plate;
the affine transformation matrix is calculated from the positions of the standard markers to correct a guide piece plane image represented by the guide piece image data to the reference plane image.
7. The method of claim 5, wherein said calculating door lock guide parameters from said reference plane image comprises:
extracting the component features of the reference plane image, and calculating the relative position of the component according to the extracted component features;
and converting the relative position of the components into the parameters of the door lock guide sheet according to the proportion, wherein the proportion is related to the guide sheet calibration component.
8. The utility model provides a lock installation auxiliary device, is applied to the customer end, its characterized in that includes:
the data acquisition module is used for shooting the door lock guide plate provided with the guide plate calibration component to obtain guide plate image data;
the data uploading module is used for uploading the guide sheet image data to a server side so that the server side can project and convert a guide sheet plane image represented by the guide sheet image data into a reference plane image according to an affine transformation matrix;
and the parameter receiving module is used for receiving the door lock guide sheet parameters calculated by the server side according to the reference plane image and assisting in door lock installation through the door lock guide sheet parameters.
9. The utility model provides a lock installation auxiliary device, is applied to the server side, its characterized in that includes:
the data receiving module is used for receiving guide vane image data, and the guide vane image data is obtained by shooting a door lock guide vane provided with a guide vane calibration component by a client;
an image projection module for projectively converting a guide sheet plane image represented by the guide sheet image data into a reference plane image according to an affine transformation matrix;
the parameter calculation module is used for calculating the parameters of the door lock guide sheet from the reference plane image;
and the parameter returning module is used for returning the door lock guide sheet parameters to the client so that the client assists in door lock installation through the door lock guide sheet parameters.
10. A door lock installation assistance device, comprising:
a processor; and
a memory having computer readable instructions stored thereon which, when executed by the processor, implement the door lock installation assistance method of any one of claims 1 to 7.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements a door lock installation assisting method according to any one of claims 1 to 7.
CN201810044199.6A 2018-01-17 2018-01-17 Door lock installation assisting method and device Active CN108286364B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810044199.6A CN108286364B (en) 2018-01-17 2018-01-17 Door lock installation assisting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810044199.6A CN108286364B (en) 2018-01-17 2018-01-17 Door lock installation assisting method and device

Publications (2)

Publication Number Publication Date
CN108286364A CN108286364A (en) 2018-07-17
CN108286364B true CN108286364B (en) 2020-02-18

Family

ID=62835623

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810044199.6A Active CN108286364B (en) 2018-01-17 2018-01-17 Door lock installation assisting method and device

Country Status (1)

Country Link
CN (1) CN108286364B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110210291B (en) * 2019-04-22 2021-08-10 深圳绿米联创科技有限公司 Guide vane parameter acquisition method and device, electronic equipment and storage medium
CN114140511A (en) * 2021-11-29 2022-03-04 深圳市商汤科技有限公司 Method and device for estimating dimension specification of object, electronic device and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6398465B1 (en) * 2000-09-07 2002-06-04 Emhart Llc Installation jig for locksets
JP6328511B2 (en) * 2014-07-23 2018-05-23 Juki株式会社 Electronic component mounting system and electronic component mounting method
JP6446282B2 (en) * 2015-01-29 2018-12-26 Juki株式会社 Component mounting apparatus and component mounting method
KR101654783B1 (en) * 2016-06-15 2016-09-06 주식회사 태광칼륨 A locking bar fixture of door opening and shutting a handle bar equipment
CN106126278A (en) * 2016-06-16 2016-11-16 珠海市魅族科技有限公司 A kind of application program installation method and device

Also Published As

Publication number Publication date
CN108286364A (en) 2018-07-17

Similar Documents

Publication Publication Date Title
US10776609B2 (en) Method and system for facial recognition
CN108109167B (en) Door lock installation assisting method and device
CN109166156B (en) Camera calibration image generation method, mobile terminal and storage medium
CN104835209B (en) Mobile attendance checking method
CN110751149B (en) Target object labeling method, device, computer equipment and storage medium
CN110619807B (en) Method and device for generating global thermodynamic diagram
CN111179461A (en) BIM (building information modeling) -based routing inspection record generation method and equipment and storage medium
CN108286364B (en) Door lock installation assisting method and device
CN111323751A (en) Sound source positioning method, device and storage medium
US11238563B2 (en) Noise processing method and apparatus
US20140006472A1 (en) Locating a Device
TWI773898B (en) Management apparatus and management method thereof for electronic equipment
US10937180B2 (en) Method and apparatus for depth-map estimation
US7266233B2 (en) System and method for measuring an object
CN115482286A (en) Calibration verification method, device, equipment and medium for camera internal parameters
CN110210291B (en) Guide vane parameter acquisition method and device, electronic equipment and storage medium
CN111062374A (en) Identification method, device, system, equipment and readable medium of identity card information
CN111612947A (en) Method, equipment and storage medium for processing communication abnormity of intelligent lock
CN115457040A (en) Intelligent control method, device, equipment and medium for photovoltaic junction box production line
CN113223076B (en) Coordinate system calibration method, device and storage medium for vehicle and vehicle-mounted camera
CN110532186B (en) Method, device, electronic equipment and storage medium for testing by using verification code
CN115457202A (en) Method and device for updating three-dimensional model and storage medium
CN113468260B (en) Data analysis method and device, electronic equipment and storage medium
CN113188569A (en) Vehicle and laser radar coordinate system calibration method, device and storage medium
CN114140511A (en) Method and device for estimating dimension specification of object, electronic 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