Optical flow + deep tracking on NPU

Hello there, can someone tell me please - Can I call my model via npu inside the c++ code? Or can this be monolithically packaged somehow?

The idea is that I need to use opencv optical flow and then track the objects by signatures.