mirror of
https://github.com/azaion/detections.git
synced 2026-04-23 10:06:32 +00:00
fix some cython code
This commit is contained in:
+1
-1
@@ -75,7 +75,7 @@ cdef class AIRecognitionConfig:
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
def from_dict(dict data):
|
||||
cdef AIRecognitionConfig from_dict(dict data):
|
||||
return AIRecognitionConfig(
|
||||
data.get("frame_period_recognition", 4),
|
||||
data.get("frame_recognition_seconds", 2),
|
||||
|
||||
Reference in New Issue
Block a user