| 142 | } |
| 143 | |
| 144 | int 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 | |
| 156 | int stasm_search_auto_ext( // extended version of stasm_search_auto |
| 157 | int* foundface, // out: 0=no more faces, 1=found face |
no test coverage detected