Update FFC files
This commit is contained in:
+9
-2
@@ -1,12 +1,19 @@
|
||||
from __future__ import annotations
|
||||
from orisys import FFCFrameProcessor
|
||||
|
||||
import argparse
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
import cv2
|
||||
|
||||
from roi_polygon_tool import load_roi_mask, select_polygon_roi
|
||||
REPO_ROOT = Path(__file__).resolve().parents[1]
|
||||
SRC_ROOT = REPO_ROOT / "src"
|
||||
for path in (REPO_ROOT, SRC_ROOT):
|
||||
if str(path) not in sys.path:
|
||||
sys.path.insert(0, str(path))
|
||||
|
||||
from orisys import FFCFrameProcessor
|
||||
from tools.ffc.roi_polygon_tool import load_roi_mask, select_polygon_roi
|
||||
|
||||
|
||||
def parse_source(value):
|
||||
|
||||
Reference in New Issue
Block a user