-
Export YOLOv8 Model to TFJS format. Read more on the official documentation
-
Copy
yolov8*_web_model
to./public
-
Update
modelName
inApp.jsx
to new model name... // model configs const modelName = "yolov8*"; // change to new model name ...
-
Update
src/utils/labels.json
with the new class labels. -
Done!
To run the WebApp on localhost -
-
Go to
/src/App.jsx
-
Run the command -
npm start
For Deployment -
-
Update the Homepage in
package.json
file."homepage": "https://github.com/username/repository_name"
-
Run
npm run build
to build the project and prepare for production.