Add mask to camera

Viewed 2025

I am new on Flutter and trying to do an app that use camera. So, everything works fine and I am using image_picker lib. Now, I need to add a mask for my user to capture using this mask to position the document (like a overlay) but I can't find anywhere saying how to do that. Does anyone know if it's possible using this lib to do it?

Regards,

2 Answers

I don't think the image_picker can do what you want to do.

Instead of that, you could use the Camera package and put your overlay and the preview of camera in a Stack widget

Related