TensorFlow Lite is a streamlined version of TensorFlow, designed for mobile and embedded devices.
This tutorial shows how to create a React/Next.js app that can interact with a TensorFlow Lite model to auto-capture passport images directly in the browser.
The setup involves creating custom hooks to load the TFLite model and handle the video feed from the user's device.
Helper methods are provided to process frames from the video feed, draw bounding boxes, capture and crop the passport images.