mirror of
https://github.com/furrysalamander/rubedo.git
synced 2025-09-26 23:29:12 +08:00
removing unused code
This commit is contained in:
parent
ef8dc5128a
commit
07fb313c51
@ -1,5 +0,0 @@
|
||||
from glob import glob
|
||||
import os
|
||||
from pathlib import Path
|
||||
for file_name in glob("sample_data/*"):
|
||||
os.system(f"ffmpeg -i {file_name} gif/{Path(file_name).stem}.gif")
|
@ -1,7 +0,0 @@
|
||||
from pattern_info import PatternInfo
|
||||
|
||||
class PaScan:
|
||||
def __init__(self, pattern_info: PatternInfo, video_files) -> None:
|
||||
self.pattern_info = pattern_info
|
||||
self.video_files = video_files
|
||||
pass
|
@ -1,22 +0,0 @@
|
||||
from pa_result import PaResult
|
||||
import numpy as np
|
||||
|
||||
class PaStatistics:
|
||||
def __init__(self, lines: list[PaResult], output_directory):
|
||||
self.lines = lines
|
||||
self.output_directory = output_directory
|
||||
self.scores = list([x.score for x in lines])
|
||||
|
||||
def average_deviation(self):
|
||||
return np.average(self.scores)
|
||||
|
||||
def generate_graphs():
|
||||
pass
|
||||
|
||||
def generate_height_maps():
|
||||
pass
|
||||
|
||||
def __str__(self) -> str:
|
||||
return \
|
||||
f"""Average deviation: {self.average_deviation()}
|
||||
"""
|
Loading…
Reference in New Issue
Block a user