A method for duplicating a key to open a computer from an image of that key.

A deep convolutional neural network algorithm enhances key duplication accuracy and speed by correcting key image orientation and blur, determining key type and blank, and calculating precise cutting dimensions, addressing reliability and time issues in existing methods.

FR3139287B1Active Publication Date: 2024-09-27MINIT OPERATIONAL BOARD LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
FR2022008938
Authority / Receiving Office
FR · FR
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-09-07
Publication Date
2024-09-27
Estimated Expiration
2042-09-07

AI Technical Summary

Technical Problem

Existing key duplication methods based on images are unreliable, imprecise, and time-consuming, particularly when using deep learning algorithms, leading to increased customer wait times and suboptimal results.

Method used

Utilizing a deep convolutional neural network algorithm to analyze key images, correct orientation and blur, determine key type and blank, and calculate precise cutting dimensions, including shadow correction and derivative analysis of key profiles, to automate and enhance reliability and speed.

Benefits of technology

The method achieves precise, reliable, and rapid key duplication by correcting errors in deep learning algorithms, reducing overall process duration, and improving automation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000009_0000
    Figure 00000009_0000
  • Figure 00000009_0001
    Figure 00000009_0001
  • Figure 00000010_0000
    Figure 00000010_0000
Patent Text Reader

Abstract

The invention relates to a method for duplicating a key for opening a door from an image of that key, comprising the steps of determining: a) the type of key, b) the key blank, c) the cutting of the key, wherein steps a) and b) are carried out by means of at least one deep learning algorithm. (Fig. 1)
Need to check novelty before this filing date? Find Prior Art

Description

Title of the invention: Method for duplicating a key for opening from an image of this key

[0001] The present invention relates to the field of duplication of keys for all types of openings.

[0002] In the context of the present invention, the openings may be, for example, doors or drawers.

[0003] For various reasons in everyday life, it is desirable to be able to reproduce a key: this allows, for example, to have a duplicate, in the event of loss of the original key.

[0004] Until recently, duplicating a key required going to a locksmith, who, using traditional mechanical tools, could make a faithful copy of the original key.

[0005] In order to simplify these steps, several offers have been proposed on the market to automate this classic key duplication process.

[0006] These offers have in common that they propose to start from an image of the key to be duplicated, this image being able to be taken for example with the camera of a mobile phone.

[0007] This image is then sent to a central office where it is analyzed to indicate to the customer whether the key falls into the category of keys that can be reproduced remotely.

[0008] If this is the case, after approval of a quote by the customer - this quote being established manually and not immediately - the key is reproduced remotely, then sent to the customer.

[0009] An example of such a process is illustrated by patent application EP3992821.

[0010] In this patent application, the determination of the blank of the key to be reproduced, that is to say of the key model before cutting, is carried out from singularities identified on the original key, then use of these singularities to select the appropriate blank from a database of blanks.

[0011] Although it has certain advantages, such as reduced calculation time, compared to other similar solutions, the process described in this patent application does not offer complete satisfaction in terms of reliability and accuracy of the duplication of the original keys. In addition, the customer must wait a certain amount of time before obtaining a quote, which increases the overall duration of the process.

[0012] The present patent application thus aims in particular to improve the methods of duplicating keys based on one or more images of the original key, so as to gain in reliability and precision, and to reduce the overall duration of the time separating the order by the customer from the delivery of his duplicated key.

[0013] This object of the invention is achieved, as well as other advantages which will appear in the light of the description which follows, with a method of duplicating a key for opening from at least one image of this key, comprising the steps of determining:

[0014] - a) the type of the key,

[0015] - b) the outline of the key,

[0016] - c) cutting the key,

[0017] in which steps a) and b) are carried out by means of at least one deep learning algorithm.

[0018] By using such an artificial intelligence algorithm, errors made by the algorithm can be corrected as and when required, allowing it to become more reliable and precise, and reducing the overall duration of the process.

[0019] According to other optional characteristics of the method according to the invention, taken alone or in combination:

[0020] - said algorithm is of the deep convolutional neural network type: such an al algorithm, known in itself, proves to be particularly suitable for the key duplication process;

[0021] - we determine the orientation of the key relative to the frame of the image: this step allows for increased reliability when analyzing the key profile;

[0022] - we reduce the blurred areas of the key image: this step also contributes to the increased reliability;

[0023] - the actual dimensions of the key are determined from the inter-piston distance of the associated lock: this step allows us to know the absolute distance between the pixels of the image of the analyzed key, and thus to generate the information necessary for cutting the key;

[0024] - we correct the shadow cast by the key: this correction step allows us to know the absolute width of the key blank, and thus generate the information necessary for cutting the key;

[0025] - we juxtapose on the same image front and back shots of at least one part of the key: this juxtaposition makes it possible to obtain a maximum of information on the key to be duplicated, from the analysis of a single image;

[0026] - step b) is carried out by analyzing at least one particular zone of the key: the analysis of this particular area allows on the one hand to reduce the size of the image to be processed, and on the other hand to avoid polluting the artificial intelligence algorithm with information which risks misleading it;

[0027] - said analysis is carried out from the first derivative of the profile curve of the key: this first derivative has proven to be a simple way to identify characteristic points of the key profile;

[0028] - said particular zone comprises the junction zone of the rod with the head of the key: this junction area has proven to be characteristic of the different key blanks available on the market.

[0029] The present invention also relates to a computer program product, adapted to implement the method in accordance with the above.

[0030] The present invention also relates to a key duplication system, comprising means for taking pictures of the key, means for analyzing the images thus obtained, means for determining the type of key and the blank, and means for cutting this blank, this system being controlled by a computer program in accordance with the above.

[0031] Other characteristics and advantages of the invention will emerge on reading the description which follows, with reference to the appended figures, which illustrate:

[0032] [Fig-1]: a view of a flat key to be duplicated,

[0033] [Fig.2]: juxtaposed front and back views of the junction area of ​​the rod with the head of a flat wrench,

[0034] [Fig.3]: the curve of the profile of a flat key to be duplicated, and the first derivative of this curve,

[0035] [Fig.4]: the stem of a flat wrench on which the different pro cutting founders corresponding to each of the pistons of an associated lock.

[0036] For clarity, identical or similar elements are identified by identical or similar reference signs throughout the figures.

[0037] In the following, the invention will be described in the context of the duplication of a flat key, but it should be understood that the principles of the invention are applicable to the duplication of any other type of key.

[0038] We now refer to [Fig.l], on which a flat key to be duplicated has been shown.

[0039] Such a flat key comprises a head 1, a rod 3 on which a cutting profile 5 is made, and a stop 7, arranged in the connection zone of the rod with the head.

[0040] The head 1 of the key allows it to be grasped, the rod 3 of the key provided with its cutting profile 5 allows cooperation with the pistons of a lock, and the stop 7 of the key allows the correct longitudinal positioning of the key, when it is inserted into the lock.

[0041] Such a key is said to be flat, in that the head 1, the rod 3, the cutting profile and the stop 7 are practically contained in a plane, as opposed to other keys on the market such as pump keys or groove keys or wave keys (the latter being often used to open motor vehicle door locks).

[0042] The question that arises in the context of the present invention is therefore to be able to duplicate such a flat key in a simple, automated, precise, reliable and rapid manner.

[0043] To do this, we start by obtaining front and back images of the key to be duplicated: these images can be provided by the camera of a user's mobile phone, or by a camera device installed in a fixed terminal, located for example near a supermarket.

[0044] Algorithms known per se are used to correct the orientation of the key relative to the edge of the image framing, as well as to resolve blurred areas.

[0045] From the images thus obtained, we begin by determining the type of key in question: for example, in Europe there are around 16 types of keys (flat, pump, grooved, wave, etc.).

[0046] This determination step is carried out by means of an artificial intelligence algorithm, more particularly a deep convolutional neural network algorithm.

[0047] Such an algorithm, using a large number of images that have previously been validated, provides accurate and reliable results regarding the type of key.

[0048] Once the type of key has been determined (flat, pump, grooved, wave, etc.), we move on to the next step of determining the key model, i.e. the blank that should be chosen in order to cut the appropriate profile.

[0049] The blank of the key to be duplicated is in fact a key without a cutting profile, capable of being inserted into the same lock as the key to be duplicated, that is to say in particular provided with a rod whose dimensions (length, width) and shape (section) allow the insertion of this blank inside the associated lock.

[0050] In Europe, for example, there are more than 2,000 different blanks of flat keys.

[0051] In the method according to the present invention, an algorithm is again used deep learning, preferably of the deep convolutional neural network type, to determine the appropriate key outline: unlike the state of the art, we therefore do not use a database of outlines which we query using a descriptor characteristic of the key to be duplicated.

[0052] This deep learning algorithm can be corrected over time by an operator, with a view to improving its precision and reliability.

[0053] According to an option which proves to be particularly effective, the size of the analyzed image can be reduced to a particular area of ​​the key.

[0054] More precisely, as can be seen in [Fig.2], the analyzed image may concern the front faces R and back faces V of the junction zone of the rod 3 with the head 1 of the key, where the stop 7 of this key is located.

[0055] It has in fact appeared that this junction zone is entirely characteristic of the key to be duplicated.

[0056] [Fig.3] shows the curve Cl of the profile of the key to be duplicated, as well as the curve of the first derivative C2 of this profile curve.

[0057] Band B represents the particular area of ​​the key, the image of which is analyzed: the curve of the first derivative C2 includes two characteristic peaks PI, P2, making it possible to achieve reliable segregation between the different profiles of the junction areas of the flat key blanks.

[0058] Once the blank of the key to be duplicated has been determined, the parameters necessary for the physical cutting of the rod 5 of the key are determined.

[0059] For this, it is essential to know the effective dimensions of the key to be duplicated, that is to say the absolute distance between the pixels of the image of the key to be duplicated.

[0060] To do this, we calibrate this image from the distance d separating two successive grooves Gl, G2, as shown in [Fig.4]: this distance d, which corresponds to the distance separating two pistons of the associated lock, is in fact known for a given key blank.

[0061] To gain precision, we can also average all the inter-groove distances to be duplicated from the key.

[0062] Another important parameter is the width of the shank 5 of the key to be duplicated, i.e. the width of the blank.

[0063] The determination of this width may be subject to errors, due to the shadows cast when taking the picture of the key to be duplicated.

[0064] To do this, once the appropriate rough cut has been determined according to the preceding principles, the width of the shadow cast is deduced by difference: this makes it possible to determine precisely the depth of each groove to be cut on the rough cut, this depth being able to be expressed by a coding ranging for example from 1 to 10, as illustrated in [Fig.4].

[0065] Once the type of key, the model and the cut to be made on the blank have been determined, a quote for duplicating the key can be sent immediately to the customer, for example to their email address, and automatically.

[0066] Upon receipt of the customer's agreement on the quote, from the key coding determined as indicated above, an automated machine supervised by an operator can cut the key profile into the shank of the blank.

[0067] Finishing (polishing) and testing operations can then complete this cutting.

[0068] As will be understood in light of the above, the method according to the invention allows precise, reliable and rapid automation of the process of reproducing a key, such as a flat key.

[0069] This method according to the invention can be implemented by an integrated machine comprising means for taking pictures of the key, software means for implementing the steps described above, and means for cutting the profile of the key: in this case, the user places the key to be duplicated in the machine, and receives his duplicated key a few moments later.

[0070] Of course, a human / machine interface, such as a smartphone application, is provided, allowing questions to be asked to the user (for example, number of copies to be produced of the duplicate key), to submit a quote to him, and to invoice the service.

[0071] Alternatively, the shots of the key to be duplicated can be taken by the user himself, for example using the camera of a mobile phone.

[0072] An application downloaded onto this telephone can then allow these shots to be sent to a remote server, on which the analysis and processing means described above are implemented.

[0073] On the same site as this remote server, or on another site, an automated machine supervised by an operator can cut the profile on the appropriate key blank, then send the duplicated key to the user by post.

[0074] The questions asked to the user on the machine and / or the intervention of an operator in the process of determining the type of key and the appropriate blank, make it possible to correct errors made by the deep learning algorithm as they occur, and thus to improve the precision and reliability of the process over time.

[0075] Naturally, the invention is described in the above by way of example. It is understood that those skilled in the art are able to carry out different variant embodiments of the invention without departing from the scope of the invention.

Claims

Claims

1. Method for duplicating a key for opening from at least one image of this key, comprising the steps of determining: a) the type of the key, b) the blank of the key, c) the cutting of the key, in which steps a) and b) are carried out by means of at least one deep learning algorithm.

2. The method of claim 1, wherein said algorithm is of the deep convolutional neural network type.

3. Method according to one of claims 1 or 2, in which the orientation of the key relative to the frame of the image is determined.

4. A method according to any preceding claim, wherein the blurred areas of the key image are reduced.

5. Method according to any one of the preceding claims, in which the actual dimensions of the key are determined from the inter-piston distance (d) of the associated lock.

6. A method according to any preceding claim, wherein the cast shadow of the key is corrected.

7. Method according to any one of the preceding claims, in which front and back shots of at least part of the key are juxtaposed on the same image.

8. Method according to any one of the preceding claims, in which step b) is carried out by analyzing at least one particular zone of the key.

9. Method according to claim 8, in which said analysis is carried out from the first derivative (C2) of the curve (Cl) of the profile (5) of the key.

10. Method according to one of claims 8 or 9, in which said particular zone comprises the junction zone of the rod (5) with the head (1) of the key.

11. A computer program product comprising program code portions / means / instructions recorded on a computer-readable medium, for implementing steps of the method according to claims 1 to 10 when said program is executed on a computer.

12. Key duplication system, comprising means for taking pictures of the key, means for analyzing the images thus obtained, means for determining the type of key and the blank, and means cutting this blank, this system being controlled by a product conforming to claim 11.