Minor config changes
This commit is contained in:
@@ -1,26 +1,12 @@
|
|||||||
filenames:
|
|
||||||
video_in_zip: left.mp4
|
|
||||||
video_tmp_suffix: .mp4
|
|
||||||
zip_extension: .zip
|
|
||||||
mask: mask.png
|
|
||||||
metadata: metadata.json
|
|
||||||
frame: frame.png
|
|
||||||
overlay: overlay.png
|
|
||||||
mask_vis: mask_vis.png
|
|
||||||
gif_original_hires: video_original_hires.gif
|
|
||||||
gif_original_lowres: video_original_lowres.gif
|
|
||||||
gif_overlay_hires: video_overlay_hires.gif
|
|
||||||
gif_overlay_lowres: video_overlay_lowres.gif
|
|
||||||
|
|
||||||
display_max: 720
|
|
||||||
fps_fallback: 25
|
|
||||||
max_frames: 100
|
|
||||||
|
|
||||||
data_dir: data/filtered_data
|
data_dir: data/filtered_data
|
||||||
out_dir: data/annotation_results
|
out_dir: data/annotation_results
|
||||||
clips_file: config/clips.txt
|
clips_file: config/clips.txt
|
||||||
optical_flow_config_file: config/optical_flow_config.yaml
|
optical_flow_config_file: config/optical_flow_config.yaml
|
||||||
|
|
||||||
|
display_max: 720
|
||||||
|
fps_fallback: 25
|
||||||
|
max_frames: 100
|
||||||
|
|
||||||
questions:
|
questions:
|
||||||
- section: River
|
- section: River
|
||||||
items:
|
items:
|
||||||
@@ -56,3 +42,17 @@ questions:
|
|||||||
label: Snow on Ground
|
label: Snow on Ground
|
||||||
options: [Yes, No, Uncertain]
|
options: [Yes, No, Uncertain]
|
||||||
default: No
|
default: No
|
||||||
|
|
||||||
|
filenames:
|
||||||
|
video_in_zip: left.mp4
|
||||||
|
video_tmp_suffix: .mp4
|
||||||
|
zip_extension: .zip
|
||||||
|
mask: mask.png
|
||||||
|
metadata: metadata.json
|
||||||
|
frame: frame.png
|
||||||
|
overlay: overlay.png
|
||||||
|
mask_vis: mask_vis.png
|
||||||
|
gif_original_hires: video_original_hires.gif
|
||||||
|
gif_original_lowres: video_original_lowres.gif
|
||||||
|
gif_overlay_hires: video_overlay_hires.gif
|
||||||
|
gif_overlay_lowres: video_overlay_lowres.gif
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ class MaskCanvas:
|
|||||||
self._connect_events()
|
self._connect_events()
|
||||||
|
|
||||||
def _build_figure(self, frames):
|
def _build_figure(self, frames):
|
||||||
self.fig = Figure()
|
self.fig = Figure(figsize=(self.dw / 80, self.dh / 80))
|
||||||
self.canvas = FigureCanvas(self.fig)
|
self.canvas = FigureCanvas(self.fig)
|
||||||
self.ax = self.fig.add_subplot(111)
|
self.ax = self.fig.add_subplot(111)
|
||||||
self.ax.axis("off")
|
self.ax.axis("off")
|
||||||
|
|||||||
Reference in New Issue
Block a user