Search code examples
node.jsgoogle-vision

Google Vision OCR cannot detect text or images when using the .HEIC image type


I am having an issue uploading iPhone photos. The default iPhone image is a .HEIC file. Google vision seems to have a hard time reading these file types. It works fine when using .jpg files. Any suggestions?


Solution

  • If you are coding in nodejs maybe use this library to convert and upload: https://www.npmjs.com/package/heic-convert

    There are online tools as well on the web: https://heictojpg.com/