File size: 308 Bytes
523a361
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
import sys
import os

current_dir = os.path.dirname(os.path.realpath(__file__))
pardir = os.path.dirname(current_dir)
for d in [pardir, current_dir, os.path.join(pardir, "lib/fish_eye/"), os.path.join(pardir, "lib/"), os.path.join(pardir, "lib/yolov5/")]:
    if d not in sys.path:
        sys.path.append(d)