I have a Mathematica program that uses machine learning to attempt to identify what is in a photo.
It works fine with .jpg and .CR2 files. However I recently got a Canon camera that produces .CR3 files and Mathematica seems to have problems with them.
Now this could be my fault but in the Mathematica documentation I don't see .CR3 listed in the documentation for the import function. Here's the line I changed:
Select[filenames,
Or[StringContainsQ[#, ".CR3"], StringContainsQ[#, ".CR2"],
StringContainsQ[ToLowerCase[#], ".jpg"],
StringContainsQ[#, ".NRW"]] &];
All I did was add the
Or[StringContainsQ[#, ".CR3"],
The .CR3 files are processed but instead of getting outputs of possible objects and their probabilities I get a message that the ImageIdentify function failed.
If anyone knows that Mathematica does or doesn't process .CR3 files of if anyone knows how to import .CR3 files into Mathematica please share.
Thanks!