Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg then click 'react to inputs'.
A face detector accessor. This accessor detects faces in an input stream.
The options parameter can include the following fields:
- value: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
type: If set to 'JSON'
The implementation for the Ptolemy II host uses https://opencv.org which is licensed under a BSD 3-clause license.
- Version:
- $$Id$$
- Source:
Inputs:
Name | Type | Description |
---|---|---|
input |
A stream of images. | |
options |
The value and type options. |
Outputs:
Name | Type | Description |
---|---|---|
output |
The results of filtering the image according to the options | |
faceCount |
int | The number of faces |