A modern labeling tool built with CustomTkinter, providing an intuitive GUI interface for easy image segmentation and analysis.
- Intuitive GUI Interface
- Image Upload and Management
- Click-based Object Segmentation
- Segmentation Result Management
- Google Drive Integration
- Create and Activate Virtual Environment
python -m venv .venv
# Windows
source .venv/Scripts/activate
# Linux/Mac
source .venv/bin/activate
- Install Required Packages
pip install .
-
Set up Google Cloud Service Account
- Go to Google Cloud Console
- Create a new project or select an existing one
- Navigate to 'IAM & Admin' > 'Service Accounts' in the left menu
- Click 'Create Service Account'
- Enter service account name (e.g., lab-it-service)
- Click 'Create and Continue'
- Select role: Grant 'Editor' permission
- Click 'Done'
- Click on the created service account
- Select 'Keys' tab > 'Add Key' > 'Create New Key' > Select JSON
- Save the downloaded JSON file as
service_account.json
in the project root folder
-
Run the Application
python -m LaB_it
LaB_it/
├── LaB_it/
│ ├── annotations/ # Segmentation results
│ ├── assets/ # Images and resources
│ ├── dialog/ # UI modules
│ ├── tasks/ # Task-related modules
│ ├── __init__.py
│ ├── __main__.py # Main entry point
│ ├── setting.py # Icons, paths, colors configuration
│ └── app.py # Main logic
├── .gitignore
├── README.md
├── requirements.txt # Required packages
└── setup.py # Installation configuration
- torch & torchvision: Deep learning framework
- customtkinter: Modern GUI interface
- opencv-python: Image processing
- google-api-python-client: Google Drive integration
This project is licensed under the MIT License with Commons Clause - see the LICENSE file for details.
- Use the software for personal purposes
- Modify and distribute the code
- Use for educational and research purposes
- Integrate into non-commercial projects
- Sell the software
- Provide paid services based on the software
- Commercial hosting of the software
- Paid consulting/support services related to the software
All modifications and distributions must include the original copyright and license notices.