Created
February 6, 2024 00:57
-
-
Save 0x61nas/9e2f661b5d65d44d136943b2b0681677 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
!theme sketchy-outline | |
skinparam participantFontSize 19 | |
skinparam componentFontSize 19 | |
skinparam activityArrowFontSize 19 | |
skinparam actorFontSize 19 | |
skinparam databaseFontSize 19 | |
skinparam queueFontSize 19 | |
title Sequence digram | |
actor User | |
participant Backend | |
database Users | |
database Reports | |
queue "Images queue" as iqueue | |
participant Model | |
== Regester == | |
' Regester | |
User -> Backend : Regester | |
Backend -> Users : Check that theres no account | |
Users --> Users : Run the query | |
Users -> Backend : Return the reslut | |
Backend --> Backend : Genrate password for the User | |
Backend -> Users : Insert user | |
Users --> Users : Run the query | |
Backend -> User : The generated password | |
== Login == | |
' Login | |
User -> Backend : Login | |
Backend --> Backend : Check internal conditions | |
Backend -> Users : Query the user credentials | |
Users --> Users : Run the query | |
Users -> Backend : Return the result | |
Backend -> User : Return the responce | |
== Usage == | |
User -> Backend : Upload image | |
Backend --> Backend : Preprocessing | |
Backend -> iqueue : Send the prepered image to the queue | |
iqueue -> Model : Ping: check that theres an avilable spot | |
Model -> iqueue : responce | |
iqueue -> Model : The image | |
Model --> Model : Feature selection | |
Model --> Model : Optimizer (AdamaW) | |
Model --> Model : CNN | |
Model --> Model : Tumor detection | |
Model -> Backend : The reslut (pos/nig) | |
Model -> iqueue : Notify the queue | |
Backend --> Backend : Format the information and creat the report | |
Backend -> Reports : Save the report | |
Reports --> Reports : Run the queryy | |
Backend -> User : The report | |
@enduml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment