overlays: Create overlays

View source: R/overlays.R

overlaysR Documentation

Create overlays

Description

Create overlays

Usage

overlays(
  timestamp = 20210920,
  magnification = 25,
  cropped = FALSE,
  label = "species",
  overlay.type = "both",
  crf = 17,
  gamma = 2,
  ffmpeg = "ffmpeg",
  from_current_to_archive_dir =
    "./../../../../../Duck/LEEFSwift3/LEEF.archived.data/LEEF/3.archived.data",
  mc.cores = 1
)

Arguments

timestamp

the timestamp of the sampling day

magnification

the magnification of the bemovi method

cropped

if TRUE, the cropped measurement should be used

label

column to be used to label the particle. Default "pecies".

overlay.type

Overlays can either be shown as "label", "circle" or "both". Default: "both"

crf

integer value between 1 to 51, where 1 means lossless, 17 is nearly visually lossless, 51 is worst quality. Default value is 23

gamma

increase video dynamic range. Value between 0.1 and 10. Default 2. see https://ffmpeg.org/ffmpeg-filters.html#eq for further info

ffmpeg

command to run ffmpeg. It can include a path. Default ffmpeg

from_current_to_archive_dir

path from the current directory to the archived data can be found and the folders extracted and pre-processed

mc.cores

number of cores to be used for parallel execution. Defaults to 1


LEEF-UZH/LEEF.analysis documentation built on Feb. 8, 2025, 11:18 a.m.