From this video, i turned it into typescript (with some improvement to be made in the future...) https://www.youtube.com/watch?v=6YFbBcxWdKU This is the original repo, I changed it to Typescript https://github.com/piyush-eon/nextjs-ai-object-detection/blob/master/components/object-detection.js
Next step would be to connect this with my Minio instance and Mongodb via Prisma to make facial recognition with database connection. Still have to figure out how to route such important traffic to DB in realtime...
You must have ⭐Nodejs⭐ installed.
run npm install
to install the packages
then npm run dev
default connection is https://localhost:3000