Complete_IM: ReVuePro: Complete_IM

Description Usage Arguments Details Examples

View source: R/Complete_IM_function.R

Description

A function that expands an output from Fill_IF to include all time captured by an input video. This function calls ffmpeg and is currently limited to Windows architecture.

Usage

1
Complete_IM(df, vid, ffmpeg_path = "DEFAULT", ips = 8)

Arguments

df

A path to a .csv file containing output from ImageJ macros.

vid

A path to the video file that images with motion were initially extracted from.

ffmpeg_path

A path to ffmpeg.exe. Default path is assigned by the ffmpeg_dir function.

ips

The frame-rate at which images were extracted from the input video, as applied in motion_sense. Default is 8.

Details

This function assumes that data were collected from a combination of the motion_sense function in the ReVuePro package, and custom ImageJ macros used to indicate individuals present at time of motion. Ffmpeg must be installed for this function to operate correctly. Furthermore, this function calls upon ffmpeg using Windows language, and is therefore currently limited to Windows users.

Examples

1
2
3
4
video = "C:/BirdsFeeding.mp4"
ffmpeg.locale = "C:/Users/Rudolf/ffmpeg.exe"
motion.data = "C:/BirdsFeeding_data.csv"
Complete_IM(df = motion.data, vid = video, ffmpeg_path = ffmpeg.locale, ips = 8)

joshuakrobertson/R-Package_ReVuePro documentation built on June 2, 2020, 8:23 p.m.