From 16e5853d67d9fcd924256db207b716c29c286f82 Mon Sep 17 00:00:00 2001 From: Oleksandr Bezdieniezhnykh Date: Tue, 12 Aug 2025 14:58:21 +0300 Subject: [PATCH] put constant tile size temporarily --- Azaion.Inference/inference.pyx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Azaion.Inference/inference.pyx b/Azaion.Inference/inference.pyx index 083b86b..467227b 100644 --- a/Azaion.Inference/inference.pyx +++ b/Azaion.Inference/inference.pyx @@ -118,8 +118,9 @@ cdef class Inference: self.engine = OnnxEngine(res.data) self.model_height, self.model_width = self.engine.get_input_shape() - self.tile_width = self.model_width - self.tile_height = self.model_height + #todo: temporarily, send it from the client + self.tile_width = 550 + self.tile_height = 550 cdef preprocess(self, frames): blobs = [cv2.dnn.blobFromImage(frame,