SkillAgentSearch skills...

CoronaFaceMaskDetectionTFJS

Corona Face Mask Detection with Custom Vision and Tensorflow.js

Install / Use

/learn @aribornstein/CoronaFaceMaskDetectionTFJS
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

TFJS Corona FaceMask Detector

Corona Face Mask Detection with Custom Vision and Tensorflow.js

Training

This model was trained using the Azure Custom Vision Service. For more details check out the associated blog post!

Usage

This Tensorflow.js model for Corona Face Mask Detection can be evaluated using the Custom Vision Tensorflow.js API

Object Detection

import * as cvstfjs from '@microsoft/customvision-tfjs';

let model = new cvstfjs.ObjectDetectionModel();
await model.loadModelAsync('model.json');
const image = document.getElementById('image');
const result = await model.executeAsync(image);

The result has 3 arrays.


[
	[[0.1, 0.3, 0.4, 0.3], [0.2, 0.4, 0.8, 0.9]], // bounding boxes (x1, y1, x2, y2)
	[0.2, 0.3], // probabilities
	[1, 4] // class ids
]

Related Skills

View on GitHub
GitHub Stars86
CategoryDevelopment
Updated3y ago
Forks27

Security Score

80/100

Audited on Nov 22, 2022

No findings