Skip to content

Support Thumbor smart cropping and available detectors #342

Closed
@Furytron

Description

@Furytron

Thumbor is supported as far as I know through your mapping code: https://github.com/aws-solutions/serverless-image-handler/blob/develop/source/image-handler/thumbor-mapper.ts, however there is no case for "smart".

So would it be possible to implement the Thumbor style smart cropping using the URL path /smart/ ?
Smart cropping documentation: https://thumbor.readthedocs.io/en/latest/usage.html#smart-cropping

It would also be great to allow the enabling of the smart cropping detectors through the URL as well.

Possibly using something like the below:

/smart(face_detector)/
/smart(glasses_detector)/

Thumbor detectors: https://thumbor.readthedocs.io/en/latest/detectors.html

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions