This is quite a fun project to do with the OpenMV For this project I implemented OpenMV support for the Ada programming language, you can have a look at the sources here: GitHub - Fabien-Chouteau/un_pola: DIY instant camera with OpenMV and AdaFruit's thermal printer
More detail at Make with Ada: DIY instant camera | The AdaCore Blog
(How do I resize images?)