Created
July 4, 2019 01:35
-
-
Save plateaukao/78d05393732c77b5960a05dca58ac1f4 to your computer and use it in GitHub Desktop.
calliplus image process flow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
alt case: no local cache | |
autonumber "<font color=red><b>[0]" | |
CalliImage -> http: get (image file) | |
http --> CalliImage: image file with white background | |
CalliImage -> ImageProcessing: compute(removeWhiteBackground, bytes) | |
ImageProcessing --> CalliImage: processed image | |
CalliImage -> CalliImage: save file to local storage | |
CalliImage -> CalliImage: in build(), Image.memory(processed image) | |
else case: local cache exists | |
CalliImage -> CalliImage: in build(), Image.File(file) | |
end | |
@enduml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment