- Add LaMaFP16_512.mlpackage (~90MB) for high-quality object removal - Add LaMaInpainter.swift wrapper with image preprocessing and merging - Modify InpaintEngine to use LaMa first, gradient fill as fallback - Fix brush mask size (use scale 1.0 instead of screen scale) - Fix LaMa output size (use scale 1.0 in merge function) - Add model loading wait with 5 second timeout The LaMa model provides significantly better inpainting quality compared to the gradient fill method, especially for complex backgrounds.
58 lines
654 B
Plaintext
58 lines
654 B
Plaintext
# Xcode
|
|
build/
|
|
DerivedData/
|
|
*.xcodeproj/project.xcworkspace/
|
|
*.xcodeproj/xcuserdata/
|
|
*.xcworkspace/xcuserdata/
|
|
*.pbxuser
|
|
*.mode1v3
|
|
*.mode2v3
|
|
*.perspectivev3
|
|
!default.pbxuser
|
|
!default.mode1v3
|
|
!default.mode2v3
|
|
!default.perspectivev3
|
|
xcuserdata/
|
|
|
|
# Swift Package Manager
|
|
.build/
|
|
.swiftpm/
|
|
Package.resolved
|
|
|
|
# CocoaPods (if ever used)
|
|
Pods/
|
|
|
|
# Fastlane
|
|
fastlane/report.xml
|
|
fastlane/Preview.html
|
|
fastlane/screenshots/**/*.png
|
|
fastlane/test_output
|
|
|
|
# macOS
|
|
.DS_Store
|
|
.AppleDouble
|
|
.LSOverride
|
|
._*
|
|
|
|
# Thumbnails
|
|
Thumbs.db
|
|
|
|
# IDE
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.idea/
|
|
*.iml
|
|
|
|
# Logs
|
|
logs/*.log
|
|
|
|
# Ralph Wiggum
|
|
history/
|
|
logs/
|
|
|
|
# Temporary files
|
|
*.tmp
|
|
*.temp
|
|
inpaint-ios-reference/
|