View source: R/ct_camtrap_animal_distance.R
| ct_camtrap_animal_distance | R Documentation |
Calculates the radial distance between a camera trap and an animal detected in an image using geometric principles and reference markers.
ct_camtrap_animal_distance(fov, forward_distance, ref_halfwidth, animal_offset)
fov |
Numeric. The camera's horizontal field of view in degrees.
Common values range from |
forward_distance |
Numeric. The forward distance (in meters) from the camera to the animal along the central axis, estimated using reference markers visible in the image. |
ref_halfwidth |
Numeric. The measured half-width of the camera's field of view
in the image at distance |
animal_offset |
Numeric. The measured horizontal offset of the animal from the
central vertical line in the image, in the same units as |
Numeric. The estimated radial distance (in meters) from the camera to the animal.
distance <- ct_camtrap_animal_distance(
fov = 35,
forward_distance = 7.5,
ref_halfwidth = 12,
animal_offset = 3
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.