Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails if videos are in the image folder #12

Open
uassafety opened this issue Jan 6, 2025 · 0 comments
Open

Fails if videos are in the image folder #12

uassafety opened this issue Jan 6, 2025 · 0 comments

Comments

@uassafety
Copy link

Got this error while testing the package for a project:

flts_info <- uas_info(img_dirs, cache = TRUE)
Error in if (!quiet && sum(exif_df$sensor_width) == 0) message(yellow(" - Sensor size not available for this camera")) :
missing value where TRUE/FALSE needed

After a bit of testing, it was due to a video file in the folder. Deleted the video file and it ran fine after that. Not a big issue, but if you have a chance, you could probably add a quick fix to prevent video files from being analyzed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant