-
Notifications
You must be signed in to change notification settings - Fork 42
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
Error when loading FLIR jpg #13
Comments
these errors are sometimes pathing errors (ie. exiftool is not properly installed). I would first suggest you verify exiftool is installed first, and don't specify the location to see if it can pick it up in the normal location (C:/windows/System32). I only included the customised path example to allow users to attempt to troubleshoot, but I advise you install exiftool in an appropriate folder in windows that is in the PATH environment (c:/windows). Sometimes people suggest they are loading a flir jpg, but it is not a radiometric image, which might be the problem. Have you tried the example in the flirsettings function to verify this? Example using the flirsettings function:
If you have spaces in file or folder names, it might be a problem. I would also suggest looking at other closed issues for help, as similar issues have come up. The error message you are getting, assuming R can find the file and path, suggests that the jpg is not a radiometric jpg, but without a sample file I cannot be sure. |
Hi, Thanks for the answer and the guidlines provided. Indeed it was a combination of a pathing problem as well as a problem regarding the FLIR jpg. Thanks a lot. |
When importing an FLIR jpg according to the instructions from https://github.com/gtatters/Thermimage (OS: Win 10) using the following code the error message beyond is shown and import is stopped.
Code:
_install.packages("Thermimage")
library(Thermimage)
image <- paste0(system.file("..........thermo.jpg", package="Thermimage"))
cams<-flirsettings(".............thermo.jpg", "........./exiftool-12.03/", camvals="")
cams
img<-readflirJPG("............thermo.jpg", "........../exiftool-12.03/")
Error message in console:
So far I havent been able to determine where the problem is situated, therefore I am looking forward for answers or suggestions.
Thanks a lot in advance.
The text was updated successfully, but these errors were encountered: