@alextfernandes/checkvest
v0.0.19
Published
Validate if a person in an image is wearing a vest using TensorFlow Lite
Downloads
162
Maintainers
Readme
checkvest
Validate if a person in an image is wearing a vest using TensorFlow Lite
Install
npm install checkvest
npx cap syncAPI
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>Simple echo test.
| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
checkHasVest(...)
checkHasVest(options: { imageBase64: string; showLogs?: boolean; }) => Promise<{ hasVest: boolean; }>Runs vest detection on a Base64 image.
| Param | Type |
| ------------- | --------------------------------------------------------- |
| options | { imageBase64: string; showLogs?: boolean; } |
Returns: Promise<{ hasVest: boolean; }>
