mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-03 12:07:40 +03:00
Remove debug
This commit is contained in:
parent
60212a9aa4
commit
0c05755743
@ -76,8 +76,6 @@ class TeachableMachineStateProcessor(RealTimeProcessorApi):
|
|||||||
if input.shape != (224, 224):
|
if input.shape != (224, 224):
|
||||||
input = cv2.resize(input, (224, 224))
|
input = cv2.resize(input, (224, 224))
|
||||||
|
|
||||||
cv2.imwrite("/media/frigate/frames/gate.jpg", input)
|
|
||||||
|
|
||||||
input = np.expand_dims(input, axis=0)
|
input = np.expand_dims(input, axis=0)
|
||||||
self.interpreter.set_tensor(self.tensor_input_details[0]["index"], input)
|
self.interpreter.set_tensor(self.tensor_input_details[0]["index"], input)
|
||||||
self.interpreter.invoke()
|
self.interpreter.invoke()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user