match_cvision_fish2hab: Matches fish recorded in C-Vision to closest habitat frame

View source: R/match_cvision_fish2hab.R

match_cvision_fish2habR Documentation

Matches fish recorded in C-Vision to closest habitat frame

Description

Matches fish recorded in C-Vision to closest habitat frame. Returns a tibble of species by site counts.

Usage

match_cvision_fish2hab(
  hab_totalframe = NULL,
  merged_cvision_csv,
  include_framenum = FALSE,
  video_num,
  video_sec,
  fps,
  vid_length = 1,
  include_vid_sec = FALSE
)

Arguments

hab_totalframe

vector of total frame number of habitat observation (Alternatively could use video_num, video-sec, video_frame, fps, and vid_length)

merged_cvision_csv

output of merge_cvision_csv

include_framenum

Logical indicating whether or not to include frame number in output table

video_num

vector video_numbers from habitat dataframe (Not needed if hab_totalframe suppled)

video_sec

vector of seconds in video from habitat dataframe (Not needed if hab_totalframe suppled)

fps

frames per second (Not needed if hab_totalframe suppled)

vid_length

video length in minutes (Not needed if hab_totalframe suppled)

include_vid_sec

Logical indicating whether or not to include Video Number and Seconds of habitat frames in output table


ailich/mytools documentation built on Jan. 7, 2023, 11:16 a.m.