Skip to content

Latest commit

 

History

History

YOLOv8-TFJS-WebApp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  1. Export YOLOv8 Model to TFJS format. Read more on the official documentation

  2. Copy yolov8*_web_model to ./public

  3. Update modelName in App.jsx to new model name

    ...
    // model configs
    const modelName = "yolov8*"; // change to new model name
    ...
  4. Update src/utils/labels.json with the new class labels.

  5. Done!



To run the WebApp on localhost -

  1. Go to /src/App.jsx

  2. Run the command - npm start



For Deployment -

  1. Update the Homepage in package.json file.

     "homepage": "https://github.com/username/repository_name"
    
  2. Run npm run build to build the project and prepare for production.