2020-09-22 18:25:06 +00:00
|
|
|
import os
|
|
|
|
|
import time
|
|
|
|
|
from ContourExctractor import ContourExtractor
|
|
|
|
|
|
|
|
|
|
#TODO
|
|
|
|
|
# finden von relevanten Stellen anhand von zu findenen metriken
|
2020-09-20 20:01:54 +00:00
|
|
|
|
|
|
|
|
def init():
|
|
|
|
|
print("startup")
|
2020-09-22 18:25:06 +00:00
|
|
|
footagePath = os.path.join(os.path.dirname(__file__), "./generate test footage/out.mp4")
|
|
|
|
|
|
|
|
|
|
start = time.time()
|
|
|
|
|
contourExtractor = ContourExtractor(footagePath)
|
|
|
|
|
print("Time consumed in working: ",time.time() - start)
|
|
|
|
|
|
|
|
|
|
contourExtractor.displayContours()
|
|
|
|
|
|
2020-09-20 20:01:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
2020-09-22 18:25:06 +00:00
|
|
|
init()
|
|
|
|
|
|
|
|
|
|
|