Skip to content

Add support for HEIC images #1551

Description

@rustyscottweber

Describe the feature you'd like to request

It would appear that HEIC images are not supported. This is a big deal for people who do lots of high resolution camera photos (Cannon, Nikon, Sony, Etc..)

Face results for 5386572 are in
preparing face detection for user User.Name
scheduling ClusterFacesJob for user User.Name
preparing face detection for user User.Name
scheduling ClusterFacesJob for user User.Name
Face score too low. continuing with next face.
Result for /User.Name/files/Takeout/Google Photos/Photos from 2021/IMG_5477.HEIC(IMG_5477.HEIC) = []
Face results for 5386573 are in
Classifier process output: Error: Expected image (BMP, JPEG, PNG, or GIF), but got unsupported image type
    at getImageType (/var/www/html/custom_apps/recognize/node_modules/@tensorflow/tfjs-node-gpu/dist/image.js:353:15)
    at Object.decodeImage (/var/www/html/custom_apps/recognize/node_modules/@tensorflow/tfjs-node-gpu/dist/image.js:198:21)
    at main (/var/www/html/custom_apps/recognize/src/classifier_faces.js:56:28)

HEIC format isn't difficult. Not sure what we would need to support this though.

Describe the solution you'd like

HEIC format should be processed just like a .jpeg

Describe alternatives you've considered

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions