Files
openvino/docs/snippets/dldt_optimization_guide9.cpp
2021-06-01 16:31:29 +03:00

17 lines
401 B
C++

#include <ie_core.hpp>
int main() {
using namespace InferenceEngine;
//! [part9]
while(true) {
// capture frame
// populate NEXT InferRequest
// start NEXT InferRequest //this call is async and returns immediately
// wait for the CURRENT InferRequest //processed in a dedicated thread
// display CURRENT result
// swap CURRENT and NEXT InferRequests
}
//! [part9]
return 0;
}