TIEVisionFaceDetector.setMaxSize
Declaration
procedure setMaxSize(value: int32_t); safecall;
Description
Sets the longest side, in pixels, of the image passed to the network. Larger images are scaled down, which is much faster.
Faces smaller than about 10 pixels after scaling are not found, so increase this value to find very small faces in large photos.
When the image is scaled down, a second pass at 640 pixels also runs, so large faces are still found.
0 means the image is never scaled down. Otherwise the minimum is 320.
Default: 1280