fisheye-experimental / project_path.py
oskarastrom's picture
First Commit
7a4b92f
raw
history blame
No virus
341 Bytes
"""
A kind of hacky way to get all the lib paths in order.
"""
import sys
import os
current_dir = os.path.dirname(os.path.realpath(__file__))
for d in [current_dir, os.path.join(current_dir, "lib/fish_eye/"), os.path.join(current_dir, "lib/"), os.path.join(current_dir, "lib/yolov5/")]:
if d not in sys.path:
sys.path.append(d)