|
|
@@ -1,5 +1,5 @@
|
|
|
-from ast import arg, main
|
|
|
-import BasePhotoAnalyzer
|
|
|
+
|
|
|
+from service.photo import BasePhotoAnalyzer
|
|
|
|
|
|
import cv2
|
|
|
import matplotlib.pyplot as plt
|
|
|
@@ -11,10 +11,10 @@ import os
|
|
|
|
|
|
CACHE_DIR = "/tmp/"
|
|
|
|
|
|
-import src1.util2 as util
|
|
|
-from src1.body import Body
|
|
|
-from src1.torch_openpose import torch_openpose
|
|
|
-import src1
|
|
|
+import service.photo.src1.util2 as util
|
|
|
+from service.photo.src1.body import Body
|
|
|
+from service.photo.src1.torch_openpose import torch_openpose
|
|
|
+import service.photo.src1 as src1
|
|
|
# from src.infer_video_d2 import infer_image,load_predictor
|
|
|
# from video_pose.inference.infer_video_d2 import run_3d
|
|
|
# from video_pose.data.prepare_data_2d_custom import custom
|