Skip to content

Commit

Permalink
Update Tutorial_tools.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sronilsson authored Jan 11, 2024
1 parent d73e817 commit 30dbc1f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/Tutorial_tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,17 @@ Once complete, check the `SAVE DIRECTORY` for files with the names formatted as

For some examples of expected outputs, check [THIS](https://github.com/sgoldenlab/simba/blob/master/misc/polygons_20230809094913.csv) file for polygons, [THIS](https://github.com/sgoldenlab/simba/blob/master/misc/rectangles_20230809094913.csv) file for rectangles, and [THIS](https://github.com/sgoldenlab/simba/blob/master/misc/circles_20230809102338.csv) file for circles.

### Extract project annotation counts

If you have annotated (or appeneded annotations to) a bunch of videos in a SimBA project, you may want a count of how many frames, and how many seconds, you have annotated each behavior as present and absent in each video and the entire project. To get this,

1) Click the `Count labels in project` button in the tools menu.
2) Next, select the `project_config.ini` file belonging to the project in which you want to count the annotations within.
3) Click the RUN button.

You can follow the progress in the main SimBa window. Once completem, annotation counts are saved in a CSV within the `project_folder/logs` directory in with the annotation_counts_20240110185525.csv filename format. For an example of expected output, see [THIS](https://github.com/sgoldenlab/simba/blob/master/misc/print_project_annotation_counts_example.csv) file.

>Note: Each of the videos inside the `project_folder/csv/targets_inserted` directory also have to be represented in the `project_folder/logs/video_info.csv` for this to work. This is in order for SimBa to know the FPS of the videos and accurcatly calculate the number of seconds that each behavior has been annotated as present and absent in each of the videos.

##
Expand Down

0 comments on commit 30dbc1f

Please sign in to comment.