CN105654586A - Method, device, and system for judging door opening - Google Patents

Method, device, and system for judging door opening Download PDF

Info

Publication number
CN105654586A
CN105654586A CN201511016140.9A CN201511016140A CN105654586A CN 105654586 A CN105654586 A CN 105654586A CN 201511016140 A CN201511016140 A CN 201511016140A CN 105654586 A CN105654586 A CN 105654586A
Authority
CN
China
Prior art keywords
background
door
angle point
scene photo
cloud server
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.)
Pending
Application number
CN201511016140.9A
Other languages
Chinese (zh)
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.)
Fujian Star Net Communication Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN201511016140.9A priority Critical patent/CN105654586A/en
Publication of CN105654586A publication Critical patent/CN105654586A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/30Individual registration on entry or exit not involving the use of a pass
    • G07C9/38Individual registration on entry or exit not involving the use of a pass with central registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/188Capturing isolated or intermittent images triggered by the occurrence of a predetermined event, e.g. an object reaching a predetermined position

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a method, device, and system for judging door opening. The method comprises steps: performing shooting when a door is closed by means of a camera in an electronic apparatus to obtain a background image, and sending the background image to a cloud server; when an object is sensed to be close to the door, performing regular shooting by means of the camera in the electronic apparatus to obtain on-site images and sending the on-site images to the cloud server; comparing the background image with the on-site images through the cloud server, and judging if there is any change in image background; and if there is a change, judging the door is open. The device can be extended on an existing entrance guard device at will without influence on original functions of the entrance guard device. Installation for a user is convenient, and hardware cost is reduced. Furthermore, the cloud server is corresponding to a plurality of electronic apparatuses, so that wireless electronic apparatuses are convenient to add. The device has good expansibility and can be flexibly applied.

Description

Judge method, Apparatus and system that door opens
Technical field
The invention belongs to technical field of security and protection, be specifically related to a kind of method, Apparatus and system judging that door opens.
Background technology
Along with people's improving constantly gate control system security requirement, traditional mechanical door lock cannot meet the needs of people, and gate control system has surmounted simple gateway and key management already, is developing progressively as new-modernization intelligent access control system. Wherein, a basic application of intelligent access control system judges that door is opened exactly, when door has breakdown action time, and timely alert notification householder. Wireless doorbell can be used for judging the application that door opens or closes on the market at present, substantially principle is all that wireless doorbell carries out physical connection with specific lockset, and when lockset has action, wireless doorbell obtains physical feedback, thus knowing that door is opened or closed, reinform householder.
Application number is the Chinese patent of 201310713863.9, discloses a kind of entrance guard device and method. The method is provided with and the travel switch of entrance guard device physical connection, judges the opening of entrance guard device by travel switch and reports opening information by information gathering parts to remote management system. The program solves the problem that in prior art, remote management system cannot know the opening information of entrance guard device, having reached can the technique effect of open and-shut mode of monitor in real time entrance guard device, but, in actual applications, user must change a whole set of entrance guard device, not only increases extra charge, and installs enforcement complexity, once break down, later maintenance is inconvenient.
Summary of the invention
An object of the present invention is in that to overcome disadvantage mentioned above, it is provided that a kind of without with entrance guard device physical connection, install implement simple, judgement door open method easy to maintenance and device.
In order to solve above-mentioned technical problem, the invention provides a kind of method judging that door is opened, comprise the following steps:
Background when photographic head capture gate in electronic equipment is closed, and it is sent to Cloud Server;
When sense object near time, photographic head BR scene photo in electronic equipment is also sent to Cloud Server;
Cloud Server comparison Background and scene photo, it is judged that whether picture background changes, if changing, then decision gate is unlocked.
The beneficial effect of technique scheme has: is different from and traditional judges an opening by physical connection lockset, this programme is without setting up physical connection with lockset, also an opening is not judged by the state of lockset, can arbitrarily be extended on existing entrance guard device and not affect original function, easy for installation, and decrease hardware cost.
Further, described judges the method that door is opened, if it is determined that door is opened, Cloud Server PUSH message is to mobile terminal.
Further, described electronic equipment is provided with sensor, in real time detection door surrounding, and sense object near door time start photographic head timing and take pictures.
Further, described " Cloud Server comparison Background and scene photo, it is judged that the whether picture background changes " method that realizes is:
Extract the angle point of Background and scene photo;
Utilize whether corners Matching detection picture background changes.
Further, the method for the angle point of described extraction Background and scene photo has: the Corner Detection based on gray level image, the Corner Detection based on bianry image or the Corner Detection based on contour curve.
Further, described utilize corners Matching detection picture background whether change, comprise the following steps:
Angular coordinate (the X of scene photo is set1,Y1), the angle point number of scene photo is N1;
Angular coordinate (the X of Background is set2,Y2), the angle point number of Background is N2;
The angle point of traversal scene photo, if there is the angle point of any one Background and this scene photo angle point distance d less than tolerance d0, it is determined that stably, described distance d is defined as this scene photo angle point:
Travel through complete after, calculate stable scene photo angle point number N3;
If N3/N1 is more than threshold values p, it is judged that picture background does not change, otherwise judge to change.
In order to realize foregoing invention purpose, according to a further aspect in the invention, it is provided that a kind of electronic equipment: described electronic equipment includes photographic head and induction apparatus,
Background when described photographic head is closed for capture gate, and it is sent to Cloud Server; It is additionally operable to receive induction apparatus notice, BR scene photo;
Described induction apparatus in real time detection door surrounding, and sense object near door time start photographic head timing and take pictures.
The electronic equipment of technique scheme is except built-in camera, also add induction apparatus, what increase induction apparatus has the beneficial effect that only when induction apparatus detects object near door, just starts photographic head entrance duty, it is to avoid photographic head without object near time non-productive work.
In order to realize foregoing invention purpose, according to a further aspect in the invention, it is provided that a kind of device judging that door is opened, it is characterised in that include electronic equipment and Cloud Server, electronic equipment and Cloud Server and connected by network,
Described electronic equipment includes photographic head and induction apparatus, Background when described photographic head is closed for capture gate, and is sent to Cloud Server; It is additionally operable to receive induction apparatus notice, BR scene photo;
Described induction apparatus in real time detection door surrounding, and sense object near door time start photographic head timing and take pictures;
Described Cloud Server comparison Background and scene photo, it is judged that whether picture background changes, if changing, then decision gate is unlocked.
In the present invention, Cloud Server can a corresponding electronic equipment, the Background and the scene photos that shoot this electronic equipment are compared, and confirm whether door is opened.In other application scenarios, Cloud Server can corresponding multiple electronic equipments, each electronic equipment has unique mark in Cloud Server, thus realizing Cloud Server to set up communication respectively with each electronic equipment. Adopt such scheme, can conveniently increase radio-based electronic devices, favorable expandability, apply more flexible.
Further, described judges the device that door is opened, if it is determined that door is opened, Cloud Server PUSH message is to mobile terminal.
Further, described " Cloud Server comparison Background and scene photo, it is judged that the whether picture background changes " method that realizes is:
Extract the angle point of Background and scene photo;
Utilize whether corners Matching detection picture background changes.
Further, the method for the angle point of described extraction Background and scene photo has: the Corner Detection based on gray level image, the Corner Detection based on bianry image or the Corner Detection based on contour curve.
Further, described utilize corners Matching detection picture background whether change, comprise the following steps:
Angular coordinate (the X of scene photo is set1,Y1), the angle point number of scene photo is N1;
Angular coordinate (the X of Background is set2,Y2), the angle point number of Background is N2;
The angle point of traversal scene photo, if there is the angle point of any one Background and this scene photo angle point distance d less than tolerance d0, it is determined that stably, described distance d is defined as this scene photo angle point:
Travel through complete after, calculate stable scene photo angle point number N3;
If N3/N1 is more than threshold values p, it is judged that picture background does not change, otherwise judge to change.
In order to realize foregoing invention purpose, according to a further aspect in the invention, it is provided that a kind of system judging that door is opened, it is characterised in that include electronic equipment, Cloud Server and mobile terminal, wherein,
Electronic equipment, is connected with Cloud Server by the Internet, for Background and the scene photo of collection are uploaded to described Cloud Server;
Cloud Server, background picture and photo site for described electronic equipment is gathered compare, it is judged that whether picture background changes, if changing, then decision gate is unlocked, and sends messages to mobile terminal;
Mobile terminal; For receiving the message that Cloud Server sends.
By mobile terminal receive Cloud Server send message so that user can without restriction in the notified message in any position, more flexibly and easily.
Further, described " Cloud Server, background picture and photo site for described electronic equipment is gathered compare, it is judged that the whether picture background changes " method that realizes is:
Extract the angle point of Background and scene photo;
Utilize whether corners Matching detection picture background changes.
Further, the method for the angle point of described extraction Background and scene photo has: the Corner Detection based on gray level image, the Corner Detection based on bianry image or the Corner Detection based on contour curve;
Described utilize corners Matching detection picture background whether change, comprise the following steps:
Angular coordinate (the X of scene photo is set1,Y1), the angle point number of scene photo is N1;
Angular coordinate (the X of Background is set2,Y2), the angle point number of Background is N2;
The angle point of traversal scene photo, if there is the angle point of any one Background and this scene photo angle point distance d less than tolerance d0, it is determined that stably, described distance d is defined as this scene photo angle point:
Travel through complete after, calculate stable scene photo angle point number N3;
If N3/N1 is more than threshold values p, it is judged that picture background does not change, otherwise judge to change.
The present invention is different from and traditional judges an opening by physical connection lockset, without setting up physical connection with lockset, also an opening is not judged by the state of lockset, can arbitrarily be extended on existing entrance guard device and not affect original function, easy for installation, and decrease hardware cost; In realizing process, only when induction apparatus detects object near door, just start photographic head and enter duty, it is to avoid photographic head without object near time non-productive work; Meanwhile, Cloud Server can a corresponding electronic equipment, the Background and the scene photos that shoot this electronic equipment are compared, and confirm whether door is opened; Can also Cloud Server can corresponding multiple electronic equipments, each electronic equipment has unique mark in Cloud Server, thus realizing Cloud Server to set up communication respectively with each electronic equipment. Adopt such scheme, can conveniently increase radio-based electronic devices, favorable expandability, apply more flexible. It addition, by mobile terminal receive Cloud Server send message so that user can without restriction in the notified message in any position, more flexibly and easily.
The present invention utilizes Background and the scene photo of the camera collection in radio-based electronic devices, can determine whether whether door is opened, thus can be applicable to several scenes. Such as, old man in manager, child to family open the door time, this information being opened can be sent to mobile terminal by Cloud Server by radio-based electronic devices, and such user can be appreciated that whether old man in family, child get home; By this radio-based electronic devices, user also can remotely know in family whether be stolen. Other security alarm modes relatively, this radio-based electronic devices cost is low, easy for installation, it is simple to use.
Accompanying drawing explanation
Fig. 1 is a kind of method step flow chart judging that door is opened of the embodiment of the present invention.
Fig. 2 is embodiment of the present invention Cloud Server comparison Background and scene photo judges the block diagram whether picture background changes.
The one that Fig. 3 is the embodiment of the present invention utilizes corners Matching detection image step flow chart.
Fig. 4 is a kind of electronic devices structure figure of the embodiment of the present invention.
Fig. 5 is the structure chart that the embodiment of the present invention a kind of judges the device that door opens.
Fig. 6 is a kind of system framework figure judging that door is opened of the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments. Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
A kind of method judging that door is opened of disclosure, comprises the following steps:
Step 1: the Background when photographic head capture gate in electronic equipment is closed, and it is sent to Cloud Server;
Step 2: when sense object near time, photographic head BR scene photo in electronic equipment is also sent to Cloud Server;
Step 3: Cloud Server comparison Background and scene photo, it is judged that whether picture background changes, if changing, then decision gate is unlocked.
In the present invention, described electronic equipment is the electronic equipment on mounted on a door or doorframe, if in be provided with photographic head, and Background when closing can be photographed, and the scene photo of door open mode can reach the requirement of the present invention.Concrete, described electronic equipment can be the doorbell with photographic head, with the door lock of photographic head, intelligent camera apparatus etc.
In step 1, described electronic equipment can be radio-based electronic devices, sets up communication by network and Cloud Server. Can also be Wired electronic equipment, set up communication by netting twine etc. with Cloud Server. When electronic equipment is doorbell, it is possible to be have Line Doorbell, it is also possible to be wireless doorbell. After electronic equipment is installed, in front of the door nobody time, utilize photographic head in electronic equipment to shoot a Background when door is closed, and Background be sent in Cloud Server.
In described step 2, described electronic equipment is provided with sensor, in real time detection door surrounding, and sense object near door time start photographic head timing and take pictures. Sensor in electronic equipment can be infrared sensor, motion sensor etc. When sensor sensing to object is near door, sensor-triggered photographic head works, and timing is taken pictures. Such as, sensor sensing to people near door time, start photographic head work. Wherein it is possible to be set as 2 seconds, 4 seconds, 5 seconds or 6 seconds constant duration one photos of shooting, user can arrange this interval as the case may be.
In step 3, the method that realizes of described " Cloud Server comparison Background and scene photo, it is judged that whether picture background changes " is: extract the angle point of Background and scene photo; Utilize whether corners Matching detection picture background changes. Wherein, the method for the angle point of described extraction Background and scene photo has: the Corner Detection based on gray level image, the Corner Detection based on bianry image or the Corner Detection based on contour curve.
In a specific embodiment, utilize whether corners Matching detection picture background changes, comprise the following steps:
Angular coordinate (the X of scene photo is set1,Y1), the angle point number of scene photo is N1;
Angular coordinate (the X of Background is set2,Y2), the angle point number of Background is N2;
The angle point of traversal scene photo, if there is the angle point of any one Background and this scene photo angle point distance d less than tolerance d0, it is determined that stably, described distance d is defined as this scene photo angle point:
Travel through complete after, calculate stable scene photo angle point number N3;
If N3/N1 is more than threshold values p, it is judged that picture background does not change, otherwise judge to change.
In the above-mentioned process utilizing corners Matching detection picture background whether to change, the angle point being previously mentioned is exactly extreme point, the point that namely attribute is particularly pertinent in certain. Angle point can be the infall of two lines, it is also possible to be in the point in the things that adjacent two Main way is different. Briefly, angle point can be the marginal point of object, and the figure of the composition of all angle points is equivalent to the sketch map of object.
Calculate the angle point in scene photo and the distance value d of all angle points in Background, if distance d is less than tolerance d0, then judge that scene photo correspondence angle point is as stablizing angle point; Angle point in traversal scene photo, calculate scene photo to stablize the number of angle point (number stablizing angle point is very few, photographic head represents probably because there occurs movement, so corner location changes in the scene photo of shooting), if N3/N1 is more than threshold value p, it is judged that picture background does not change; Otherwise Background changes. In practical application, the value of tolerance d0 is generally 1-3.
If camera position does not become, simply many objects in background, such as many in front of the door people, but door is also not switched on, at this moment the position of photographic head does not change, then the angle of stability calculated in scene photo comparison of counting is many, and N3/N1 is more than threshold value p (based on experience value, this threshold value p value is generally 1-3), represent that Background does not change.
In some preferred embodiments, also including step 4: if it is determined that door is opened, Cloud Server PUSH message is to mobile terminal. This mobile terminal can be the Wearable such as mobile phone, flat board, intelligent watch. When mobile terminal is mobile phone, prestore in Cloud Server phone number, and when finding that door is unlocked, Cloud Server sends reminding short message to mobile phone, and user's door of prompting mobile terminal is opened. During such user stays out, when door is opened by undesirables such as thieves, user can receive alert notification.
Specific embodiment one
Such as Fig. 1, a kind of method step flow chart judging that door is opened of the present embodiment; In this embodiment, described electronic equipment is wireless doorbell, and wireless doorbell sets up communication by network and Cloud Server. Sensor in doorbell is motion sensor. The present embodiment judging, the method step that door is opened is as follows:
1. wireless doorbell equipment with 3M sticker on door after, if first time is mounted on a door, when door is closed, first captures Background when door is closed and be sent to Cloud Server, hereafter wireless doorbell enters park mode;
2. wireless doorbell equipment passes through the real-time surrounding being monitored situation of motion sensor, when motion sensor sensed object near time, wake on wireless doorbell enters mode of operation, and captures scene photo every 2s, and the scene photo captured is sent to Cloud Server by wireless network;
3. because wireless doorbell is attached on door, if door is opened, wireless doorbell also will move, the scene photo background captured also can change, and Cloud Server, according to this principle, compares Background and scene photo, extract the angle point of Background and scene photo, whether recycling corners Matching detection picture background changes, and then judges whether the scene photo background captured changes again, thus judging whether door is opened;
If it is determined that 4. door is opened, the reminder message that pushing door is opened by Cloud Server is to mobile terminal, according to the message received, the householder of hand-held mobile terminal knows that door is opened.
Said method can be applied in the scene of some reality. Such as, due to a variety of causes, kinsfolk cannot send old man or child to go home in person, and when old man in manager, child are to family, after enabling, wireless doorbell send enabling message can to other members of family. So, other members in family can confirm that after receiving message and are old man or child safety arrives in family, significantly facilitate user.
In other scene, determining unmanned in family in certain period of time enabling, if now receiving the reminder message that Cloud Server sends, in the family of announcement, door is opened, then largely can confirm that stolen in family or something unexpected happened, can notify that property personnel carry out checking or notify to report to the police.
Such as Fig. 2, it is embodiment of the present invention Cloud Server comparison Background and scene photo, it is judged that the block diagram whether picture background changes:
1. extract the angle point of Background and scene photo;
So-called angle point is the point of curvature maximum on the violent point of two dimensional image brightness flop or image border curve, these are while retaining image graphics key character, the data volume of information can be efficiently reduced, it is effectively improved the speed of calculating, be conducive to the reliable matching of image, making to be treated as in real time possibility, it is in 3 D scene rebuilding, estimation, target following, target recognition, image registration and the computer vision field such as mates and plays very important effect. Simple understanding, angle point can check the marginal point of object, and the figure of all angle points composition is equivalent to the sketch map of object.
Current adoptable extraction angle point method has: the Corner Detection based on gray level image, the Corner Detection based on bianry image, Corner Detection based on contour curve.
2. utilize whether corners Matching detection image is moved.
Assuming that the angle point number that scene photo extracts is N1, the angle point number that Background extracts is N2, and N3 enumerator is set to 0, and such as Fig. 3, the one being above-mentioned utilizes corners Matching detection image step flow chart, comprises the following steps:
Take the angular coordinate A (X of a scene photo1,Y1);
Take the angular coordinate B (X of a Background2,Y2);
Calculating the distance d of A, B 2, described distance d computing formula is:
If A, the distance d that B is 2 is less than the tolerance d0 set, then think that the angle point A of scene photo is stable, at this time N3 enumerator is added 1, no longer travel through follow-up Background angular coordinate, otherwise continue to take next Background angular coordinate and carry out same steps operation, until all of Background angular coordinate has traveled through.
Take next scene photo angular coordinate, repeat the above steps, it is judged that whether this angle point is stable, until all of scene photo angular coordinate has traveled through.
Calculate stable scene photo angle point number N3, if the number stablizing angle point is very few, represent probably because photographic head there occurs movement, so corner location changes in the scene photo that shooting is out.
If N3/N1 is more than threshold values p (based on experience value, this threshold value p value is generally 1-3), it is judged that picture background does not change, and namely Men Wei is moved, otherwise judges that Background changes, and namely door is moved.
If camera position does not become, simply many objects in background, for instance many in front of the door people, but door is also not switched on, at this moment the position of photographic head does not change, then the angle of stability calculated in scene photo comparison of counting is many, N3/N1, more than threshold value p, represents that Background does not change.
The invention also discloses a kind of electronic equipment, such as Fig. 4, it is a kind of electronic devices structure figure of the embodiment of the present invention, including: photographic head and induction apparatus, Background when wherein photographic head is closed for capture gate, and it is sent to Cloud Server, and it being additionally operable to receive induction apparatus notice simultaneously, BR scene photo is sent to Cloud Server; Induction apparatus in real time detection door surrounding, and sense object near door time start photographic head timing and take pictures. In the radio-based electronic devices of the present invention, only need to increase photographic head and induction apparatus, can realize judging the function whether door is opened. Wherein, photographic head is built in radio-based electronic devices. Induction apparatus can be infrared inductor, motion sensor etc., and when people is near door, electronic equipment can sense people, and start photographic head and start working.
In this embodiment, described electronic equipment can be the doorbell with photographic head and induction apparatus, it is also possible to be the door lock with photographic head and induction apparatus, it is also possible to be picture pick-up device with induction apparatus etc.
Invention additionally discloses a kind of device judging that door is opened, such as Fig. 5, including electronic equipment and Cloud Server, electronic equipment and Cloud Server are connected by network, described electronic equipment can be wireless doorbell, communication is set up, it is also possible to be have Line Doorbell, set up communication by netting twine etc. with Cloud Server by wireless network and Cloud Server.
Include photographic head and induction apparatus in described electronic equipment, after electronic equipment is installed, in front of the door nobody time, utilize photographic head in electronic equipment to shoot a Background when door is closed, and Background be sent in Cloud Server. When do not have in front of the door object near time, photographic head in a dormant state, now by the sensor in electronic equipment, in real time detection door surrounding, and sense object near door time start photographic head BR scene photo, and be sent to Cloud Server.Sensor in electronic equipment can be infrared sensor, motion sensor etc. Such as, sensor sensing to people near door time, start photographic head work. Wherein it is possible to be set as 2 seconds, 4 seconds, 5 seconds or 6 seconds constant duration one photos of shooting, user can arrange this interval as the case may be.
Described Cloud Server comparison Background and scene photo, it is judged that whether picture background changes, if changing, then decision gate is unlocked. Cloud service comparison Background and scene photo judge that the method whether picture background changes is: extract the angle point of Background and scene photo; Utilize whether corners Matching detection picture background changes. Wherein, the method for the angle point extracting Background and scene photo has: the Corner Detection based on gray level image, the Corner Detection based on bianry image or the Corner Detection based on contour curve.
In a specific embodiment, utilize whether corners Matching detection picture background changes, comprise the following steps:
Angular coordinate (the X of scene photo is set1,Y1), the angle point number of scene photo is N1;
Angular coordinate (the X of Background is set2,Y2), the angle point number of Background is N2;
The angle point of traversal scene photo, if there is the angle point of any one Background and this scene photo angle point distance d less than tolerance d0, it is determined that stably, described distance d is defined as this scene photo angle point:
Travel through complete after, calculate stable scene photo angle point number N3;
If N3/N1 is more than threshold values p, it is judged that picture background does not change, otherwise judge to change.
Calculate the angle point in scene photo and the distance value d of all angle points in Background, if distance d is less than tolerance d0, then judge that scene photo correspondence angle point is as stablizing angle point; Angle point in traversal scene photo, calculate scene photo to stablize the number of angle point (number stablizing angle point is very few, photographic head represents probably because there occurs movement, so corner location changes in the scene photo of shooting), if N3/N1 is more than threshold value p, it is judged that picture background does not change; Otherwise Background changes. In practical application, the value of tolerance d0 is generally 1-3.
If camera position does not become, simply many objects in background, such as many in front of the door people, but door is also not switched on, at this moment the position of photographic head does not change, then the angle of stability calculated in scene photo comparison of counting is many, and N3/N1 is more than threshold value p (based on experience value, this threshold value p value is generally 1-3), represent that Background does not change.
In some preferred embodiments, if it is determined that door is opened, Cloud Server PUSH message is to mobile terminal. This mobile terminal can be the Wearable such as mobile phone, flat board, intelligent watch. When mobile terminal is mobile phone, prestore in Cloud Server phone number, and when finding that door is unlocked, Cloud Server sends reminding short message to mobile phone, and user's door of prompting mobile terminal is opened. During such user stays out, when door is opened by undesirables such as thieves, user can receive alert notification.
Invention additionally discloses a kind of system judging that door is opened, such as Fig. 6, be a kind of system framework figure judging that door is opened of the embodiment of the present invention, including electronic equipment, Cloud Server and mobile terminal, wherein,
Electronic equipment, it is possible to be radio-based electronic devices, sets up communication by wireless network and Cloud Server, it is also possible to be Wired electronic equipment, set up communication by netting twine etc. with Cloud Server, for Background and the scene photo of collection are uploaded to described Cloud Server;
Cloud Server, builds PC on the internet, for background picture and the photo site of electronic equipment collection are compared, it is judged that whether picture background changes, if changing, then decision gate is unlocked, and sends messages to mobile terminal; Cloud service comparison Background and scene photo judge that the method whether picture background changes is: extract the angle point of Background and scene photo; Utilize whether corners Matching detection picture background changes. Wherein, the method for the angle point extracting Background and scene photo has: the Corner Detection based on gray level image, the Corner Detection based on bianry image or the Corner Detection based on contour curve.
In a specific embodiment, utilize whether corners Matching detection picture background changes, comprise the following steps:
Angular coordinate (the X of scene photo is set1,Y1), the angle point number of scene photo is N1;
Angular coordinate (the X of Background is set2,Y2), the angle point number of Background is N2;
The angle point of traversal scene photo, if there is the angle point of any one Background and this scene photo angle point distance d less than tolerance d0, it is determined that stably, described distance d is defined as this scene photo angle point:
Travel through complete after, calculate stable scene photo angle point number N3;
If N3/N1 is more than threshold values p, it is judged that picture background does not change, otherwise judge to change.
Calculate the angle point in scene photo and the distance value d of all angle points in Background, if distance d is less than tolerance d0, then judge that scene photo correspondence angle point is as stablizing angle point; Angle point in traversal scene photo, calculate scene photo to stablize the number of angle point (number stablizing angle point is very few, photographic head represents probably because there occurs movement, so corner location changes in the scene photo of shooting), if N3/N1 is more than threshold value p, it is judged that picture background does not change; Otherwise Background changes. In practical application, the value of tolerance d0 is generally 1-3.
If camera position does not become, simply many objects in background, such as many in front of the door people, but door is also not switched on, at this moment the position of photographic head does not change, then the angle of stability calculated in scene photo comparison of counting is many, and N3/N1 is more than threshold value p (based on experience value, this threshold value p value is generally 1-3), represent that Background does not change.
Mobile terminal, for receiving the message that Cloud Server sends, this mobile terminal can be the Wearable such as mobile phone, flat board, intelligent watch. When mobile terminal is mobile phone, prestore in Cloud Server phone number, and when finding that door is unlocked, Cloud Server sends reminding short message to mobile phone, and user's door of prompting mobile terminal is opened. During such user stays out, when door is opened by undesirables such as thieves, user can receive alert notification.
In a specific embodiment, one Cloud Server can a corresponding electronic equipment, the Background and the scene photos that shoot this electronic equipment are compared, confirm whether door is opened, multiple mobile terminals can be pushed reminder message simultaneously, be the relation (N is the integer more than 0) of 1:1:N between Cloud Server, electronic equipment, mobile terminal.
In an additional preferred embodiment, one Cloud Server can corresponding multiple electronic equipments, each electronic equipment has unique mark in Cloud Server, according to this, uniquely communication set up by mark and each electronic equipment to Cloud Server respectively, and the Background that each electronic equipment shot and scene photo compare, confirm whether door is opened, multiple mobile terminals can be pushed reminder message by Cloud Server simultaneously, adopt such scheme, Cloud Server, electronic equipment, it is relation (the N of 1:N:M between mobile terminal, M is the integer more than 0), radio-based electronic devices can be increased easily, set expandability is good, apply more flexible.Concrete, when electronic equipment is wireless doorbell, it is possible to be the corresponding Cloud Server of multiple wireless doorbell; When electronic equipment is intelligent door lock, it is possible to be the corresponding Cloud Server of multiple intelligent door lock.
Technical scheme is simply explained in detail by above-mentioned detailed description of the invention, and the present invention is not only limited only to above-described embodiment, every any improvement according to the principle of the invention or replacement, all should within protection scope of the present invention.

Claims (15)

1. the method judging that door is opened, it is characterised in that comprise the following steps:
Background when photographic head capture gate in electronic equipment is closed, and it is sent to Cloud Server;
When sense object near time, photographic head BR scene photo in electronic equipment is also sent to Cloud Server;
Cloud Server comparison Background and scene photo, it is judged that whether picture background changes, if changing, then decision gate is unlocked.
2. judge the method that door is opened as claimed in claim 1, it is characterised in that if it is determined that door is opened, Cloud Server PUSH message is to mobile terminal.
3. judge the method that door is opened as claimed in claim 1, it is characterised in that described electronic equipment is provided with sensor, in real time detection door surrounding, and sense object near door time start photographic head timing and take pictures.
4. judge the method that door is opened as claimed in claim 1, it is characterised in that the method that realizes of described " Cloud Server comparison Background and scene photo, it is judged that whether picture background changes " is:
Extract the angle point of Background and scene photo;
Utilize whether corners Matching detection picture background changes.
5. judge the method that door is opened as claimed in claim 4, it is characterised in that the method for the angle point of described extraction Background and scene photo has: the Corner Detection based on gray level image, the Corner Detection based on bianry image or the Corner Detection based on contour curve.
6. judge the method that door is opened as claimed in claim 4, it is characterised in that described utilize corners Matching detection picture background whether change, comprise the following steps:
Angular coordinate (the X of scene photo is set1,Y1), the angle point number of scene photo is N1;
Angular coordinate (the X of Background is set2,Y2), the angle point number of Background is N2;
The angle point of traversal scene photo, if there is the angle point of any one Background and this scene photo angle point distance d less than tolerance d0, it is determined that stably, described distance d is defined as this scene photo angle point:
Travel through complete after, calculate stable scene photo angle point number N3;
If N3/N1 is more than threshold values p, it is judged that picture background does not change, otherwise judge to change.
7. an electronic equipment, it is characterised in that: described electronic equipment includes photographic head and induction apparatus,
Background when described photographic head is closed for capture gate, and it is sent to Cloud Server; It is additionally operable to receive induction apparatus notice, BR scene photo;
Described induction apparatus in real time detection door surrounding, and sense object near door time start photographic head timing and take pictures.
8. the device judging that door is opened, it is characterised in that include electronic equipment and Cloud Server, electronic equipment and Cloud Server and connected by network,
Described electronic equipment includes photographic head and induction apparatus, Background when described photographic head is closed for capture gate, and is sent to Cloud Server; It is additionally operable to receive induction apparatus notice, BR scene photo;
Described induction apparatus in real time detection door surrounding, and sense object near door time start photographic head timing and take pictures;
Described Cloud Server comparison Background and scene photo, it is judged that whether picture background changes, if changing, then decision gate is unlocked.
9. judge the device that door is opened as claimed in claim 8, it is characterised in that if it is determined that door is opened, Cloud Server PUSH message is to mobile terminal.
10. judge the device that door is opened as claimed in claim 8, it is characterised in that the method that realizes of described " Cloud Server comparison Background and scene photo, it is judged that whether picture background changes " is:
Extract the angle point of Background and scene photo;
Utilize whether corners Matching detection picture background changes.
11. judge the device that door is opened as claimed in claim 10, it is characterised in that the method for the angle point of described extraction Background and scene photo has: the Corner Detection based on gray level image, the Corner Detection based on bianry image or the Corner Detection based on contour curve.
12. judge the device that door is opened as claimed in claim 10, it is characterised in that described utilize corners Matching detection picture background whether change, comprise the following steps:
Angular coordinate (the X of scene photo is set1,Y1), the angle point number of scene photo is N1;
Angular coordinate (the X of Background is set2,Y2), the angle point number of Background is N2;
The angle point of traversal scene photo, if there is the angle point of any one Background and this scene photo angle point distance d less than tolerance d0, it is determined that stably, described distance d is defined as this scene photo angle point:
Travel through complete after, calculate stable scene photo angle point number N3;
If N3/N1 is more than threshold values p, it is judged that picture background does not change, otherwise judge to change.
13. the system judging that door is opened, it is characterised in that include electronic equipment, Cloud Server and mobile terminal, wherein,
Electronic equipment, is connected with Cloud Server by the Internet, for Background and the scene photo of collection are uploaded to described Cloud Server;
Cloud Server, background picture and photo site for described electronic equipment is gathered compare, it is judged that whether picture background changes, if changing, then decision gate is unlocked, and sends messages to mobile terminal;
Mobile terminal; For receiving the message that Cloud Server sends.
14. judge the system that door is opened as claimed in claim 13, it is characterised in that the method that realizes of described " Cloud Server, background picture and photo site for described electronic equipment is gathered compare, it is judged that whether picture background changes " is:
Extract the angle point of Background and scene photo;
Utilize whether corners Matching detection picture background changes.
15. judge the system that door is opened as claimed in claim 14, it is characterised in that the method for the angle point of described extraction Background and scene photo has: the Corner Detection based on gray level image, the Corner Detection based on bianry image or the Corner Detection based on contour curve;
Described utilize corners Matching detection picture background whether change, comprise the following steps:
Angular coordinate (the X of scene photo is set1,Y1), the angle point number of scene photo is N1;
Angular coordinate (the X of Background is set2,Y2), the angle point number of Background is N2;
The angle point of traversal scene photo, if there is the angle point of any one Background and this scene photo angle point distance d less than tolerance d0, it is determined that stably, described distance d is defined as this scene photo angle point:
Travel through complete after, calculate stable scene photo angle point number N3;
If N3/N1 is more than threshold values p, it is judged that picture background does not change, otherwise judge to change.
CN201511016140.9A 2015-12-29 2015-12-29 Method, device, and system for judging door opening Pending CN105654586A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511016140.9A CN105654586A (en) 2015-12-29 2015-12-29 Method, device, and system for judging door opening

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511016140.9A CN105654586A (en) 2015-12-29 2015-12-29 Method, device, and system for judging door opening

Publications (1)

Publication Number Publication Date
CN105654586A true CN105654586A (en) 2016-06-08

Family

ID=56478493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511016140.9A Pending CN105654586A (en) 2015-12-29 2015-12-29 Method, device, and system for judging door opening

Country Status (1)

Country Link
CN (1) CN105654586A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106803944A (en) * 2017-03-17 2017-06-06 上海艾策通讯科技股份有限公司 A kind of intelligent peephole of automatic switchover work camera
CN107610106A (en) * 2017-08-31 2018-01-19 移康智能科技(上海)股份有限公司 A kind of detection method, device, electronic equipment and computer-readable recording medium
CN107742339A (en) * 2017-09-30 2018-02-27 泉州国光软件开发有限责任公司 A kind of management method of the passive electronic lockset based on platform
CN108647630A (en) * 2018-05-08 2018-10-12 北京优创新港科技股份有限公司 A kind of dangerous driving behavior measure of supervision and device based on video identification
CN108983620A (en) * 2018-06-22 2018-12-11 联想(北京)有限公司 A kind of control method, device and electronic equipment
CN109559406A (en) * 2017-09-26 2019-04-02 宇星海泰克株式会社 Intelligent digital door lock and its control method
CN111127846A (en) * 2019-11-18 2020-05-08 北京小米移动软件有限公司 Door-knocking reminding method, door-knocking reminding device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060025311A (en) * 2004-09-16 2006-03-21 주식회사 캡스 Apparatus for controlling door using server pc and camera and interphone and method thereof
CN103049737A (en) * 2012-12-04 2013-04-17 中国核电工程有限公司 Visual identifying control method and system for personnel gate on basis of FPGA (Field Programmable Gate Array)
CN103310453A (en) * 2013-06-17 2013-09-18 北京理工大学 Rapid image registration method based on sub-image corner features
CN104732620A (en) * 2013-12-20 2015-06-24 国家电网公司 Access control apparatus and method thereof
CN104899880A (en) * 2015-05-25 2015-09-09 长安大学 Method for automatically detecting open and closed states of vehicle door of public traffic vehicle
CN104992697A (en) * 2015-07-15 2015-10-21 张阳 Energy-saving method and system for KTV song-on-demand system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060025311A (en) * 2004-09-16 2006-03-21 주식회사 캡스 Apparatus for controlling door using server pc and camera and interphone and method thereof
CN103049737A (en) * 2012-12-04 2013-04-17 中国核电工程有限公司 Visual identifying control method and system for personnel gate on basis of FPGA (Field Programmable Gate Array)
CN103310453A (en) * 2013-06-17 2013-09-18 北京理工大学 Rapid image registration method based on sub-image corner features
CN104732620A (en) * 2013-12-20 2015-06-24 国家电网公司 Access control apparatus and method thereof
CN104899880A (en) * 2015-05-25 2015-09-09 长安大学 Method for automatically detecting open and closed states of vehicle door of public traffic vehicle
CN104992697A (en) * 2015-07-15 2015-10-21 张阳 Energy-saving method and system for KTV song-on-demand system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106803944A (en) * 2017-03-17 2017-06-06 上海艾策通讯科技股份有限公司 A kind of intelligent peephole of automatic switchover work camera
CN106803944B (en) * 2017-03-17 2019-07-26 上海艾策通讯科技股份有限公司 A kind of intelligent peephole automatically switching work camera
CN107610106A (en) * 2017-08-31 2018-01-19 移康智能科技(上海)股份有限公司 A kind of detection method, device, electronic equipment and computer-readable recording medium
CN107610106B (en) * 2017-08-31 2020-09-15 移康智能科技(上海)股份有限公司 Detection method, detection device, electronic equipment and computer-readable storage medium
CN109559406A (en) * 2017-09-26 2019-04-02 宇星海泰克株式会社 Intelligent digital door lock and its control method
CN107742339A (en) * 2017-09-30 2018-02-27 泉州国光软件开发有限责任公司 A kind of management method of the passive electronic lockset based on platform
CN108647630A (en) * 2018-05-08 2018-10-12 北京优创新港科技股份有限公司 A kind of dangerous driving behavior measure of supervision and device based on video identification
CN108983620A (en) * 2018-06-22 2018-12-11 联想(北京)有限公司 A kind of control method, device and electronic equipment
CN111127846A (en) * 2019-11-18 2020-05-08 北京小米移动软件有限公司 Door-knocking reminding method, door-knocking reminding device and electronic equipment

Similar Documents

Publication Publication Date Title
CN105654586A (en) Method, device, and system for judging door opening
CN202795514U (en) Video door bell based on remote control
US20230169837A1 (en) Object tracking using disparate monitoring systems
CN206515931U (en) A kind of face identification system
CN205230159U (en) Entrance guard's device based on zigBee technique
CN203346814U (en) Dual-lane integrated community intelligent lane barrier management system based on vehicle license plate recognition technology
CN108492425A (en) A kind of automatic track human faces door opening method and system based on face lock
CN203260195U (en) Traffic violation public-supervision system based on intelligent terminal
CN103646550A (en) Intelligent vehicle license plate recognition system
CN110246241A (en) A kind of gate control method and device
CN204833558U (en) Monitoring alarm system
KR20120119144A (en) Apparatus and method of camera-based intelligent management
CN205080681U (en) Register one's residence door electronic monitoring device
JP2009015412A (en) Entrance monitoring system
CN113611032A (en) Access control management method and system based on face recognition
CN110378276A (en) Vehicle-state acquisition methods, device, equipment and storage medium
CN101826226A (en) Intelligent entrance guard control method and device
CN109740577A (en) A kind of real-time face based on raspberry pie identifies camera system and its adjustment method again
CN102420976A (en) Building visual intercom host with face identification
CN108550209A (en) A kind of automatic door opening method and system based on infrared inductor and face lock
CN110956768A (en) Automatic anti-theft device of intelligence house
CN111917967A (en) Door monitoring system and control method thereof
CN105450992A (en) Smart home monitoring method and system based on motion detection
CN102801964A (en) Intelligent home monitoring method based on motion detection and system thereof
CN207458266U (en) A kind of door sensor detection system based on ZigBee gateways

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160608