Built with Vite, Vue3, and OpenCV.js.
npm install
npm run dev
1, There is a function in src/lib/detect.js which signature is processImages(imageDom, outputCanvas). 2, Update this function and push it to the branch master. 3, Vercel will pull the branch master and deploy automatically.
imageDom
is an reference of a dom , you can read any attrs from this variable.
outputCanvas
is an reference of a dom , you can ouput your image into this variable.