put constant tile size temporarily

This commit is contained in:
Oleksandr Bezdieniezhnykh
2025-08-12 14:58:21 +03:00
parent 9e4dc5404c
commit 16e5853d67
+3 -2
View File
@@ -118,8 +118,9 @@ cdef class Inference:
self.engine = OnnxEngine(res.data) self.engine = OnnxEngine(res.data)
self.model_height, self.model_width = self.engine.get_input_shape() self.model_height, self.model_width = self.engine.get_input_shape()
self.tile_width = self.model_width #todo: temporarily, send it from the client
self.tile_height = self.model_height self.tile_width = 550
self.tile_height = 550
cdef preprocess(self, frames): cdef preprocess(self, frames):
blobs = [cv2.dnn.blobFromImage(frame, blobs = [cv2.dnn.blobFromImage(frame,