remove cpdef, add constants h

This commit is contained in:
Oleksandr Bezdieniezhnykh
2025-08-12 14:53:14 +03:00
parent ad782bcbaa
commit 9e4dc5404c
6 changed files with 68 additions and 13 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ cdef class Inference:
cdef int tile_height
cdef build_tensor_engine(self, object updater_callback)
cpdef init_ai(self)
cdef init_ai(self)
cdef bint is_building_engine
cdef bint is_video(self, str filepath)
@@ -28,7 +28,7 @@ cdef class Inference:
cdef _process_video(self, RemoteCommand cmd, AIRecognitionConfig ai_config, str video_name)
cdef _process_images(self, RemoteCommand cmd, AIRecognitionConfig ai_config, list[str] image_paths)
cdef _process_images_inner(self, RemoteCommand cmd, AIRecognitionConfig ai_config, list frame_data)
cpdef split_to_tiles(self, frame, path, overlap_percent)
cdef split_to_tiles(self, frame, path, overlap_percent)
cdef stop(self)
cdef preprocess(self, frames)