Dear camtrapR users,
I am happy to announce the release of camtrapR 2.0.0 on CRAN, now featuring video support!
As usual, install it via:
install.packages("camtrapR")
In this version, recordTable() and recordTableIndividual() can process video files via a new argument "video". The workflow is identical to processing JPG images and supports identification via folder names and digiKam tags.
Due to video metadata being somewhat unreliable, there is no guarantee that it will work with any camera trap model. So first you need to confirm your cameras provide correct date and time in the video metadata.
You can use exifTagNames() to check if your video metadata contain a date/time tag (e.g. something like "QuickTime:CreateDate", not File Create / Access / Modify date). Make sure the value of the tag is identical to the time the video was taken. If a suitable date/time tag exists, Exiftool can extract it (analogous to extracting DateTimeOriginal from JPGs).
Furthermore, you can tag videos in digiKam, e.g. for species and individual identification or for assigning other information. camtrapR will then access the digiKam database to extract and tabulate those tags. But please be aware that (unlike JPGs) the video tags are not written into video metadata, so they are only present when the videos are in your digiKam database. They will be lost when videos are moved around or copied to other locations. Package "RSQLite" is required for this.
For more details on processing video files, please see the vignettes and function help files:
Note that currently video support is limited to two functions only. Moving forward, I am planning to enable video support in other functions of the workflow as well (imageRename, appendSpeciesNames, etc), but this will take some time to implement.
Besides video support, there is a number of other improvements in the new version, the most important ones being:
- reliable creation of zip files in surveyReport() via package "zip"
- improved output of exifTagNames() [which now seems to make problems on Linux, please bear with me]
- a set of sample images identified via metadata tags
- improved error messages in many functions
- prettier vignettes.
For a full list of changes and bugfixes, please see the package
NEWS section
Video support is still in its early stages and somewhat experimental, so please let me know what you think, how it works for you, and how I can improve it for you.
If you test the video feature, would you please let me know:
- what camera models did you use,
- did it work,
- what metadata tag did you use?
I can then provide information about what cameras are supported in the package documentation for future reference. Thank you very much!
One last thing, if you find camtrapR helpful and would like to support the development and support here in the Google Group, please consider making a donation to help me keep improving the package for you. See the
welcome message on the Google Group main page for details, under "Donations". Thank you very much for your consideration.
All the best to you. Stay safe everyone!
Jürgen