Message Boards Message Boards

0
|
2187 Views
|
0 Replies
|
0 Total Likes
View groups...
Share
Share this post:

How can I process Canon .CR3 image files in Mathematica?

Posted 2 years ago

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!

POSTED BY: trinko
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract