Skip to content
Snippets Groups Projects
Commit 88ff0720 authored by Cribellier, Antoine's avatar Cribellier, Antoine
Browse files

Added dynamic crop parameter in yaml file

parent 7e314398
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,7 @@ protocol:
4:
fn: crop
kwargs:
dynamic_crop: true
delete_previous: true
from_fn_name: sample
from_tracks: true
......
......@@ -36,7 +36,8 @@ protocol:
3:
fn: crop
kwargs:
from_tracks: True
dynamic_crop: true
from_tracks: true
delete_previous: true
from_fn_name: sample
height_crop: 200
......
......@@ -16,6 +16,7 @@
4:
fn: crop
kwargs:
dynamic_crop: true
delete_previous: true
from_fn_name: sample
height_crop: 200
......
......@@ -196,6 +196,8 @@ def test_batch_processing_dlc_analysis() -> None:
img_process.analyse_dlc(dlc_cfg_path, shuffle, 0, 5, model_name, save_avi=True,
rec_names_to_process=rec_names_to_process, from_fn_name='save_avi', delete_previous=True)
# TODO! Make a simple example that doesn't need a Deeplabcut network
# ------------------------------------------------------------------------------------------------------------------
# Load (+ filtering and unscrambling) 2d coords from DLC
# + Reverse processes (un-stitch, rotate back, un-crop)
......@@ -203,7 +205,6 @@ def test_batch_processing_dlc_analysis() -> None:
img_process.load_dlc(model_name, 'skeleton', dlt_path,
rec_names_to_process=rec_names_to_process, from_fn_name='analyse_dlc', show_plot=show_plot)
# TODO i,g process:recon"ddldc
def test_batch_processing_fit_skeleton() -> None:
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment