Fix the issue of rga image processing for face detection

This commit is contained in:
Jingyu
2025-06-15 13:34:42 +08:00
parent 8f94f04eb6
commit df32ba94c9
2 changed files with 7 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ int main(int argc, char* argv[]) {
/* Maximum number of faces detected */
maxDetectNum = 20;
/* Face detection image input level */
detectPixelLevel = 160;
detectPixelLevel = 320;
/* Handle of the current face SDK algorithm context */
session = NULL;
ret = HFCreateInspireFaceSessionOptional(option, detMode, maxDetectNum, detectPixelLevel, -1, &session);