Labelfun is a web tool for computer vision annotation. It supports creating datasets for image classification, image object detection and video object detection.
On Labelfun, you can:
- Upload image or videos and create annotation tasks
- Label images and videos right in your browser
- Review new annotations
- Download annotations
-
Create
server/.flaskenvwith the content below:FLASK_APP=labelfun FLASK_ENV=development -
Provide these environment variables in
server/.envin the format ofKEY=value:Key Usage QINIU_ACCESS_KEYThe access key of your Qiniu Cloud account QINIU_SECRET_KEYThe secret key of your Qiniu Cloud account QINIU_BUCKET_DOMAINThe domain name for you Qiniu Object Storage bucket QINIU_BUCKET_NAMEThe name of your Qiniu Object Storage bucket INVITATION_CODEThe invitation code for a new account INVITATION_CODE_ADMINThe invitation code for an admin account EXPORT_DIRECTORYWhere exported zip files are saved on the server LABELFUN_DATABASE_URLThe MySQL database URL (use mysqldb) -
Under
server/:$ python -m venv env > env\Scripts\activate # Windows $ . env/bin/activate # Linux / macOS (env) $ pip install -r requirements.txt (env) $ flask fakedb # Initializes database (env) $ flask run
-
Provide these environment variables in
client/.envorclient/.env.developmentorclient/.env.production:Key Usage VUE_APP_APIWhere API requests are sent VUE_APP_QINIU_BUCKET_DOMAINThe domain name for you Qiniu Object Storage bucket -
Under
client/:npm install npm run serve
