remove impoting pyplot
@@ -38,8 +38,6 @@ from lmnet.utils.demo import (
add_fps,
)
-import matplotlib.pyplot as plt
-
nn = None
pre_process = None
post_process = None
@@ -65,7 +63,7 @@ def add_class_label(canvas,
def run_inference(img):
- img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
+# img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
global nn, pre_process, post_process
start = time.time()
