A Flutter application for detecting and cropping logos from images.
- Automatic Logo Detection: Uses AI to detect logos in images
- Manual Logo Selection: Allows manual selection when automatic detection fails
- Logo Cropping: Crops selected logos with precise bounding box control
- Preview & Edit: View and edit the cropped result before saving
- Launch the app
- Select an image from gallery or take a photo with camera
- The app will automatically detect logos in the image
- Adjust the bounding box if needed
- Tap "Crop" to crop the logo
- Save the cropped logo
If no logo is detected automatically, you can manually select a logo area:
- When prompted that no logo was detected, tap "Select Manually"
- A default selection box will appear centered on the image
- Adjust the red box to select your logo:
- Drag the corners to resize
- Drag inside the box to move it
- Tap "Crop" in the top bar to crop the selected area
- Preview the result and save
- Coordinates are normalized in 0-1000 range for API compatibility
- The app properly converts between screen coordinates and API coordinates
- Both automatic and manual selection use the same cropping pipeline