Correct logic in RTMPOSE when using generic model to detect person

This commit is contained in:
2026-05-14 19:33:31 +10:00
parent 52ec13a8e3
commit 71404affb7
3 changed files with 43 additions and 13 deletions
@@ -1999,7 +1999,7 @@ int FallDetectorTest() {
int RTMPOSETest() {
int modelType = 32; // ONNX YOLO (30) RT YOLO (31)
std::string onnxclmodelFilePath = "E:\\Programs\\DemoAssets\\ANSAIModels\\PoseEstimationModels\\ANSRTMPOSE.zip";
std::string videoFile = "E:\\Programs\\DemoAssets\\Videos\\rtmpose.mp4";//"E:\\Programs\\DemoAssets\\Videos\\train.mp4";
std::string videoFile = "E:\\Programs\\DemoAssets\\Videos\\ANSOffice.mp4";//"E:\\Programs\\DemoAssets\\Videos\\rtmpose.mp4";//
VideoDetectorEngine(onnxclmodelFilePath, videoFile, modelType);// 22 is RT, 21 is onnx
return 0;
}