最近武漢肺癌很嚴重,公司同事聊到說可不可能做一個口罩偵測的模型,就做了這個Side Project。
模型用 tf.keras 內建的預訓練模型 MobileNetV2 來訓練,資料集從網路上找有/無口罩各400張的臉而成。
準備好資料集後,執行 train.py 可進行訓練。 將預訓練模型放到 exported 底下,執行 webcam_demo.py 可開啟鏡頭測試。
本專案仍非常簡陋,在遇到用手遮擋嘴巴的狀況下,人會辨識為有戴口罩,若要加強此部分,請在訓練資料集中多加入特殊樣本。
This project forked from jason9075/mask_checker
臉部口罩檢測
最近武漢肺癌很嚴重,公司同事聊到說可不可能做一個口罩偵測的模型,就做了這個Side Project。
模型用 tf.keras 內建的預訓練模型 MobileNetV2 來訓練,資料集從網路上找有/無口罩各400張的臉而成。
準備好資料集後,執行 train.py 可進行訓練。 將預訓練模型放到 exported 底下,執行 webcam_demo.py 可開啟鏡頭測試。
本專案仍非常簡陋,在遇到用手遮擋嘴巴的狀況下,人會辨識為有戴口罩,若要加強此部分,請在訓練資料集中多加入特殊樣本。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.