Usage Guide
This guide explains how to use the AIC-HCMUS Fragment Segmentation application, from setup to making predictions.
1. Prerequisites
- Docker and Docker Compose installed
- Modern web browser (for frontend)
- (Optional) Python 3.10+ and Node.js
2. Running the Application
Using Docker Compose
- Clone the repository:
-
Generate a self-signed SSL certificate (openssl is required):
-
Update the GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET in
docker-compose.yml
if you want to use your credential. -
Start all services:
-
Access the frontend at http://localhost:443
3. App Features
Register
- Open the web app.
- Press the register button to navigate to the register page.
- Enter your username and password.
- The page will automatically redirect to the default page.
2. Login
2.1. Manual login
2.2. Google Login
3. Upload and Predict on an Image
- After logging into the app, navigate to the predict tab.
- Upload an image file (e.g., a fragment image).
- Adjust the values for real radius, unit, confidence (conf), or Intersection over Union (iou) if needed.
- Submit to receive segmentation results.
4. View Uploaded Images
- The images tab contains all user-uploaded images.
- Click on each image to see its details.
- Use the view button to see prediction details and the download button to download artifacts.
For further help, see the About page or open an issue on GitHub.