Skip to content

Commit

Permalink
organise directories in bboxes_labelling (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfmig authored Oct 30, 2023
1 parent 539ae9b commit f7fe954
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#!/bin/bash

CRABS_REPO_DIR=/Users/sofia/Documents_local/project_Zoo_crabs/crabs-exploration
OUTPUT_DIR=$CRABS_REPO_DIR/data/crab_sample_data/sample_frames

DATA_DIR=/Volumes/zoo/raw/CrabField/ramalhete_2021

# -------------------
# Run python script
# -------------------
python $CRABS_REPO_DIR"/bboxes labelling/extract_frames_to_label_w_sleap.py" \
$DATA_DIR/camera2/NINJAV_S001_S001_T001.MOV \
--output_path $OUTPUT_DIR \
--video_extensions MOV \
--initial_samples 10 \
--scale 0.75 \
--n_components 5 \
--n_clusters 5 \
--per_cluster 8 \

# # create first output dir
# # python $CRABS_REPO_DIR"/bboxes labelling/extract_frames_to_label_w_sleap.py" \
# # $CRABS_REPO_DIR/data/crab_sample_data/sample_clips \
# # --output_path $OUTPUT_DIR \
# # --video_extensions avi mp4 \
# # --initial_samples 300 \
# # --scale 0.75 \
# # --n_components 5 \
# # --n_clusters 5 \
# # --per_cluster 8 \
# # --compute_features_per_video


# # extend previous one with this video
# python $CRABS_REPO_DIR"/bboxes labelling/extract_frames_to_label_w_sleap.py" \
# $CRABS_REPO_DIR/data/cam2_NINJAV_S001_S001_T004_out_domain_sample.mp4 \
# --output_path $OUTPUT_DIR \
# --output_subdir "20230807_124723" \
# --video_extensions avi mp4 \
# --initial_samples 300 \
# --scale 0.75 \
# --n_components 5 \
# --n_clusters 5 \
# --per_cluster 8 \
# --compute_features_per_video
File renamed without changes.

0 comments on commit f7fe954

Please sign in to comment.