diff --git a/include/openpose/wrapper/wrapperAuxiliary.hpp b/include/openpose/wrapper/wrapperAuxiliary.hpp index 3ec50335dfdce2f5cfff741ef4f0223e67b59513..a1aa3e5f26bb70538753b65a45ceb9673dc15ee9 100644 --- a/include/openpose/wrapper/wrapperAuxiliary.hpp +++ b/include/openpose/wrapper/wrapperAuxiliary.hpp @@ -148,7 +148,7 @@ namespace op const auto renderHandGpu = wrapperStructHand.enable && renderModeHand == RenderMode::Gpu; // Check no wrong/contradictory flags enabled - const auto userInputAndPreprocessingWsEmpty = userInputWs.empty(); + const auto userInputAndPreprocessingWsEmpty = userInputWs.empty() && userPreProcessingWs.empty(); const auto userOutputWsEmpty = userOutputWs.empty(); wrapperConfigureSanityChecks( wrapperStructPose, wrapperStructFace, wrapperStructHand, wrapperStructExtra, wrapperStructInput,