2020-09-22 18:01:48 +03:00
|
|
|
#include <inference_engine.hpp>
|
|
|
|
|
#include "ie_plugin_config.hpp"
|
|
|
|
|
#include "hetero/hetero_plugin_config.hpp"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
using namespace InferenceEngine;
|
|
|
|
|
//! [part9]
|
2020-10-10 11:19:16 +03:00
|
|
|
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
|
2020-09-22 18:01:48 +03:00
|
|
|
}
|
|
|
|
|
//! [part9]
|
|
|
|
|
return 0;
|
|
|
|
|
}
|