Extract AOI-related Columns from Webcam Files and Calculate Locations
Description
This function reads in multiple Gorilla webcam files, extracts the ‘loc’, ‘x_normalised’, ‘y_normalised’, ‘width_normalised’, and ‘height_normalised’ columns, and calculates the bounding box coordinates for the AOIs. It also rounds all numeric columns to 3 decimal places.
Usage
extract_aois(file_paths, zone_names = NULL)
Arguments
file_paths
|
A list of file paths to webcam files (in .xlsx format). |
Value
A dataframe containing distinct rows with AOI-related columns and calculated coordinates.