diff --git a/detect.py b/detect.py
index b010b7d6eaf35bf19a025d0f08aee16e97c726b7..dbb4775764cf0b9009e0f98e218df949c832f915 100644
--- a/detect.py
+++ b/detect.py
@@ -200,7 +200,7 @@ def main(_argv):
         if not FLAGS.dont_show:
             image.show()
         image = cv2.cvtColor(np.array(image), cv2.COLOR_BGR2RGB)
-        name_index = len("./data/test-data-frames/")
+        name_index = len("./data/our_dataset/")
 
         """
         if FLAGS.hit_and_miss: