Skip to content

아두이노 esp32 cam module, tensorflow를 이용한 마스크 인식 시스템

Notifications You must be signed in to change notification settings

ghchoi0427/FacemaskDetection

Repository files navigation

FacemaskDetection

Face mask detection system(2020.08.02 - 2020.08.22) link

Architecture

  • ESP32 and PC are connected as server-client.
  • based on ESP32 camera web server example.
  • starts server and manipulated on PC by http request
  • ESP32 communicates with Arduino by pin output.
  • Added arduino nano due to lack of GPIO from ESP32.

File description

  • camServer_MaskDetection0819_light
    • app_httpd.cpp : esp32 server UI
    • camServer_MaskDetection0819_light.ino : WIFI connection settings
    • camera_index.h
    • camera_pins.h
  • mask_Detection_alarm
    • mask_Detection_alarm.ino : alarm upon detection result
  • createModel.py : create model based on learn data.
  • detect0811.py : detects mask
  • saved_model.h5 : created model file

Tech stack

tensorflow, arduino

FacemaskDetection

마스크 착용 인식 시스템(2020.08.02 - 2020.08.22) 관련링크

Architecture

  • ESP32와 PC는 서버와 클라이언트의 관계로 연결된다.
  • ESP32 카메라 웹서버 예제를 베이스로 만들었다.
  • 서버를 열고 PC에서 http 리퀘스트를 보내어 조작하도록 한다.
  • ESP32와 아두이노는 Pin출력으로 소통한다.
  • ESP32 자체의 핀 만으로 알람 시스템을 구현하기에는 부족해서 아두이노 나노를 추가했다.

File description

  • camServer_MaskDetection0819_light
    • app_httpd.cpp : esp32 서버 UI
    • camServer_MaskDetection0819_light.ino : 와이파이 연결 설정
    • camera_index.h
    • camera_pins.h
  • mask_Detection_alarm
    • mask_Detection_alarm.ino : 인식 결과에 따른 알람 구현
  • createModel.py : 학습 데이터를 바탕으로 모델을 생성
  • detect0811.py : 마스크 착용인식
  • saved_model.h5 : 생성된 학습모델

Tech stack

tensorflow, arduino

About

아두이노 esp32 cam module, tensorflow를 이용한 마스크 인식 시스템

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published