Differences

This shows you the differences between two versions of the page.

Link to this comparison view

iothings:proiecte:2021:doorsmartlock [2022/01/24 20:24]
mihai_florin.neacsu [Opening/Closing the lock]
iothings:proiecte:2021:doorsmartlock [2022/01/27 20:06] (current)
mihai_florin.neacsu [ANEX]
Line 85: Line 85:
  
 ===== Android ===== ===== Android =====
 +
 +{{:​iothings:​proiecte:​2021:​smartlock_android_app.png?​200 |}}
 +
 +
  
 The android application must be able to open/close the electromagnetic lock using two buttons. As a security measure, the lock can be opened only by the owner'​s face.  The android application must be able to open/close the electromagnetic lock using two buttons. As a security measure, the lock can be opened only by the owner'​s face. 
Line 92: Line 96:
 The distance chosen is the Euclidean distance. Formula for Euclidean distance is as follows: {{:​iothings:​proiecte:​2021:​smartlock_euclidean_distance.png?​100|}} , where **p**, **q** = two points in Euclidean n-space, **pi**, **qi** = Euclidean vectors, starting from the origin of the space (initial point) and **n** = n-space. The distance chosen is the Euclidean distance. Formula for Euclidean distance is as follows: {{:​iothings:​proiecte:​2021:​smartlock_euclidean_distance.png?​100|}} , where **p**, **q** = two points in Euclidean n-space, **pi**, **qi** = Euclidean vectors, starting from the origin of the space (initial point) and **n** = n-space.
  
 +The application has 3 buttons:
 +
 +
 +  * One button for setting up the face of the '​Owner'​
 +
 +
 +  * One button for opening the lock by the '​User'​ (comparing the face of the user with the face of the owner)
 +
 +
 +  * One button for closing the lock
  
 ==== Sending HTTP requests ==== ==== Sending HTTP requests ====
Line 224: Line 238:
 ====== Conclusions ====== ====== Conclusions ======
  
 +In conclusion the ESP32 board it is a very good development board for IOT projects, having Bluetooth and Wi-Fi support it can be easily connected to an Webpage or an android application.
 +
 +Using a face recognition method for securing the lock raises some issues: ​
 +
 +  * Because the embedded device is not as powerful as a personal computer, the convolutional neural network that is going to be used must be pre-trained (otherwise the training will take a lot of time).
 +
 +  * Finding the face in the image, because even on a portrait image, there is still the background/​clothes which do not give any relevant characteristic of the face.
 ====== Bibliography ====== ====== Bibliography ======
  
Line 235: Line 256:
 [4] https://​developers.google.com/​machine-learning/​crash-course/​embeddings/​video-lecture,​ //​Embeddings//,​ 24.01.22 [4] https://​developers.google.com/​machine-learning/​crash-course/​embeddings/​video-lecture,​ //​Embeddings//,​ 24.01.22
  
 +====== ANEX ======
 +
 +
 +Code: https://​gitlab.com/​neacsumihaiflorin/​smart-lock-using-esp32
 +
 +Demo: https://​www.youtube.com/​watch?​v=qgijS8pG4ec
  
iothings/proiecte/2021/doorsmartlock.1643048644.txt.gz · Last modified: 2022/01/24 20:24 by mihai_florin.neacsu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0