MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / stasm_open_image

Function stasm_open_image

jni/stasm/stasm_lib.cpp:144–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144int stasm_open_image( // call once per image, detect faces
145 const char* image, // in: gray image data, top left corner at 0,0
146 int width, // in: image width
147 int height, // in: image height
148 const char* imgpath, // in: image path, used only for err msgs and debug
149 int multiface, // in: 0=return only one face, 1=allow multiple faces
150 int minwidth) // in: min face width as percentage of img width
151{
152 return stasm_open_image_ext(image, width, height, imgpath,
153 multiface, minwidth, NULL);
154}
155
156int stasm_search_auto_ext( // extended version of stasm_search_auto
157 int* foundface, // out: 0=no more faces, 1=found face

Callers 1

stasm_search_singleFunction · 0.85

Calls 1

stasm_open_image_extFunction · 0.85

Tested by

no test coverage detected