PICK-PROOF DOOR AND METHOD FOR PROTECTING DOOR SAFETY
In a method for protecting safety of a door. The method obtains a current image captured by an image capturing device installed in a key holder of a lock of the door, detects an object in the current image, and compares the current image with a preset key template when the object has been detected in the current image. The method further activates a safety guard unit of the door using a driving unit of the door when the current image does not match the key template, and locks a slip bolt of the safety guard unit.
1 . A method for protecting safety of a door, the method comprising:
obtaining a current image captured by an image capturing device installed in a key holder of a lock of the door;
detecting an object in the current image, the current image comprising distance information between a lens of the image capturing device and each point of the object in the current image;
comparing the current image with a preset key template when the object has been detected in the current image; and
activating a safety guard unit of the door using a driving unit of the door when the current image does not match the key template, and locking a slip bolt of the safety guard unit.
2 . The method according to claim 1 , further comprising: creating the preset key template according to a captured image of a matched key corresponding to a key of the door, and storing the key template in a storage device of the door.
3 . The method according to claim 1 , further comprising: determining that an object is detected in the current image upon a condition that a distance between the current image and the lens of the image capturing device is less than a distance between a previous image and the lens of the image capturing device.
4 . The method according to claim 3 , wherein the distance between the current image and the lens of the image capturing device is determined to be a distance between a feature point of the current image and the lens of the image capturing device, and the distance between the previous image and the lens of the image capturing device is determined to be a distance between a feature point of the previous image and the lens of the image capturing device.
5 . The method according to claim 1 , further comprising: unlocking the slip bolt of the safety guard unit by moving the slip bolt to an original position in an un-activated state when a matched key of the lock is inserted into the key holder of the lock.
6 . A door, comprising:
an image capturing device;
a driving unit;
a safety guard unit;
a processor;
a storage device storing a plurality of instructions, which when executed by the processor, causes the processor to:
obtain a current image captured by the image capturing device installed in a key holder of a lock of the door;
detect an object in the current image, the current image comprising distance information between a lens of the image capturing device and each point of the object in the current image;
compare the current image with a preset key template when the object has been detected in the current image; and
activate the safety guard unit using the driving unit when the current image does not match the key template, and lock a slip bolt of the safety guard unit.
7 . The door according to claim 6 , wherein the plurality of instructions further comprise: creating the preset key template according to a captured image of a matched key corresponding to a key of the door, and storing the key template in a storage device of the door.
8 . The door according to claim 6 , wherein the plurality of instructions further comprise: determining that an object is detected in the current image upon a condition that a distance between the current image and the lens of the image capturing device is less than a distance between a previous image and the lens of the image capturing device.
9 . The door according to claim 6 , wherein the distance between the current image and the lens of the image capturing device is determined to be a distance between a feature point of the current image and the lens of the image capturing device, and the distance between the previous image and the lens of the image capturing device is determined to be a distance between a feature point of the previous image and the lens of the image capturing device.
10 . The door according to claim 6 , wherein the plurality of instructions further comprise: unlocking the slip bolt of the safety guard unit by moving the slip bolt to an original position in an un-activated state when a matched key of the lock is inserted into the key holder of the lock.
11 . A non-transitory storage medium having stored thereon instructions that, when executed by a processor of a door, causes the door to perform a method for protecting safety of the door, the method comprising:
obtaining a current image captured by an image capturing device installed in a key holder of a lock of the door;
detecting an object in the current image, the current image comprising distance information between a lens of the image capturing device and each point of the object in the current image;
comparing the current image with a preset key template when the object has been detected in the current image; and
activating a safety guard unit of the door using a driving unit of the door when the current image does not match the key template, and locking a slip bolt of the safety guard unit.
12 . The non-transitory storage medium according to claim 11 , wherein the method further comprises: creating the preset key template according to a captured image of a matched key corresponding to a key of the door, and storing the key template in a storage device of the door.
13 . The non-transitory storage medium according to claim 11 , wherein the method further comprises: determining that an object is detected in the current image upon a condition that a distance between the current image and the lens of the image capturing device is less than a distance between a previous image and the lens of the image capturing device.
14 . The non-transitory storage medium according to claim 13 , wherein the distance between the current image and the lens of the image capturing device is determined to be a distance between a feature point of the current image and the lens of the image capturing device, and the distance between the previous image and the lens of the image capturing device is determined to be a distance between a feature point of the previous image and the lens of the image capturing device.
15 . The non-transitory storage medium according to claim 11 , wherein the method further comprises: unlocking the slip bolt of the safety guard unit by moving the slip bolt to an original position in an un-activated state when a matched key of the lock is inserted into the key holder of the lock.