Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electron Image Classification Test

Install

conda env create -f environment.yml

Download 'yolo11n-cls.pt' in ultralytics model zoo and put it in the backend folder.

cd frontend
npm install

if not run npm, try

conda install nodejs

Run

First Terminal

Start in root directory

cd backend 
uvicorn server:app --host localhost --port 8000

Second Terminal

Start in root directory

cd frontend
npm start

Packaging

Start in root directory

cd frontend
npm install electron-packager --save-dev
npx electron-packager . MyApp --platform=win32 --arch=x64

Packaging option

# need check about --asar
npx electron-packager . MyApp --platform=win32 --arch=x64 --asar

Run exe File

Start in root directory

cd backend 
uvicorn server:app --host localhost --port 8000

Open & Use exe file while your server is running

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages