File size: 341 Bytes
7a4b92f
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
"""
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)