-
Beginner question: I've setup a pipeline that processes incoming images. Obviously, it is recompiled with every new frame. Is this necessary? How can I avoid this without moving to AOT? The pipeline should compile just once, and then process the incoming frames as fast as possible. I have worked through most of the tutorials, it seems most of them use a single input image only. Is there any simple example? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The code is likely redefining the realized |
Beta Was this translation helpful? Give feedback.
The code is likely redefining the realized
Func
orPipeline
for each frame. If theFunc
is defined, or built, once and reused, it will be compiled once the first time it is called viarealize
.