Panoramic
This commit is contained in:
1 parent
a0818377bb
commit
897af7ce56
117 files changed
+79
-124
No files matched your search
Regular → Executable
+7
-4
@@ -57,10 +57,12 @@ class DetFineVid():
|
||||
if frame.shape[1] == 3840:
|
||||
gp.fontScale = 3
|
||||
elif frame.shape[1] == 2560:
|
||||
gp.fontScale = 2
|
||||
gp.fontScale = 1
|
||||
else:
|
||||
gp.fontScale = 1
|
||||
|
||||
for i in range(20):
|
||||
res, frame = cap.read()
|
||||
print("skip{}".format(i))
|
||||
|
||||
num_image = 0
|
||||
while True:
|
||||
@@ -129,6 +131,7 @@ class DetFineVid():
|
||||
|
||||
def commanddeal():
|
||||
SavePath = "/data1/Hatcher/model/project/data_MPKFNet/result/"
|
||||
print("starting ",gp.VideoPath)
|
||||
DFS = DetFineVid(gp.VideoPath,SavePath)
|
||||
DFS.StartRec()
|
||||
DFS.conVideo()
|
||||
@@ -261,8 +264,8 @@ def globalInit(): #deal all file in a folder
|
||||
if __name__ == '__main__':
|
||||
multiprocessing.set_start_method("spawn")
|
||||
rootPath = "/data/DataManagement/Project/005_kunmingdianchi/0002_20220412_800_200/研究院-鱼视频/"
|
||||
filedeal(rootPath)
|
||||
#commanddeal()
|
||||
#filedeal(rootPath)
|
||||
commanddeal()
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user