Coder Social home page Coder Social logo

mask_checker's Introduction

Mask Checker 簡易臉部口罩檢測

image

最近武漢肺癌很嚴重,公司同事聊到說可不可能做一個口罩偵測的模型,就做了這個Side Project。

模型用 tf.keras 內建的預訓練模型 MobileNetV2 來訓練,資料集從網路上找有/無口罩各400張的臉而成。

模型下載

使用方法

準備好資料集後,執行 train.py 可進行訓練。 將預訓練模型放到 exported 底下,執行 webcam_demo.py 可開啟鏡頭測試。

備註

本專案仍非常簡陋,在遇到用手遮擋嘴巴的狀況下,人會辨識為有戴口罩,若要加強此部分,請在訓練資料集中多加入特殊樣本。

mask_checker's People

Contributors

dependabot[bot] avatar jason9075 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mask_checker's Issues

不好意**請問一個問題

我是初學者,我嘗試用你的模型去訓練資料 結果跑出以下錯誤tensorflow.python.framework.errors_impl.InvalidArgumentError: slice index -1 of dimension 0 out of bounds.請問是甚麼問題

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.