Community
cancel
Showing results for 
Search instead for 
Did you mean: 
wsla
Beginner
66 Views

InferRequest - create new object for every prediction or reuse?

Hello,

I am wondering if the object InferRequest should be created for every frame or I should be re-using it and just update the blob? Application will be mostly constantly processing the video frames, but in some cases it will pause for a few hours.

Thanks

0 Kudos
1 Reply
Severine_H_Intel
Employee
66 Views

Hi Wsla, 

the InferRequest can be created before you start looping on your frames, therefore you only update it while processing the frames.

Best, 

Severine

Reply