Revert "Call detect_with_input_tensor instead of DetectWithInputTensor"
4.14.98 now points to release-diploria which doesn't have
detect_with_input_tensor and DetectWithInputTensor isn't
yet deprecated.
This reverts commit a2d93726b68c843bcdaf24119830a23611752338.
Change-Id: I5965922435f6dd7478fab3c5adeedf899a92bf54
diff --git a/edgetpuvision/detect.py b/edgetpuvision/detect.py
index c02199a..7e38be7 100644
--- a/edgetpuvision/detect.py
+++ b/edgetpuvision/detect.py
@@ -161,7 +161,7 @@
inference_rate = next(fps_counter)
if draw_overlay:
start = time.monotonic()
- objs = engine .detect_with_input_tensor(tensor, threshold=args.threshold, top_k=args.top_k)
+ objs = engine .DetectWithInputTensor(tensor, threshold=args.threshold, top_k=args.top_k)
inference_time = time.monotonic() - start
objs = [convert(obj, labels) for obj in objs]