IliaLarchenko
commited on
Commit
•
93c9480
1
Parent(s):
98dff60
Edited Readme
Browse files- README.md +9 -1
- src/app.py +1 -0
README.md
CHANGED
@@ -39,7 +39,7 @@ Just follow the local link to use the service.
|
|
39 |
## How to use
|
40 |
|
41 |
The interface is very simple and intuitive:
|
42 |
-
1. On the left you have a control sidebar. You can choose the image and the transformation.
|
43 |
2. After that you will see the control elements for the every parameter this transformation has.
|
44 |
3. Every time you change any parameter you will see the augmented version of the image on the right side of your screen.
|
45 |
4. Below the images you can find a code for calling of the augmentation with selected parameters.
|
@@ -47,6 +47,14 @@ The interface is very simple and intuitive:
|
|
47 |
![screenshot](docs/screenshot.jpg?raw=true)
|
48 |
|
49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
## Links
|
51 |
* Albumentations library: [github.com/albumentations-team/albumentations](https://github.com/albumentations-team/albumentations)
|
52 |
* Image Source: [pexels.com/royalty-free-images](https://pexels.com/royalty-free-images/)
|
|
|
39 |
## How to use
|
40 |
|
41 |
The interface is very simple and intuitive:
|
42 |
+
1. On the left you have a control sidebar. Select the "Simple" mode. You can choose the image and the transformation.
|
43 |
2. After that you will see the control elements for the every parameter this transformation has.
|
44 |
3. Every time you change any parameter you will see the augmented version of the image on the right side of your screen.
|
45 |
4. Below the images you can find a code for calling of the augmentation with selected parameters.
|
|
|
47 |
![screenshot](docs/screenshot.jpg?raw=true)
|
48 |
|
49 |
|
50 |
+
## Professional mode
|
51 |
+
In the professional mode you can:
|
52 |
+
1. Upload your own image
|
53 |
+
2. Combine multiple transformations
|
54 |
+
3. See the random parameters used to get the result
|
55 |
+
|
56 |
+
Be aware that in Professional mode some combination of parameters of different transformations can be invalid. You should control it.
|
57 |
+
|
58 |
## Links
|
59 |
* Albumentations library: [github.com/albumentations-team/albumentations](https://github.com/albumentations-team/albumentations)
|
60 |
* Image Source: [pexels.com/royalty-free-images](https://pexels.com/royalty-free-images/)
|
src/app.py
CHANGED
@@ -2,6 +2,7 @@ import os
|
|
2 |
import streamlit as st
|
3 |
import albumentations as A
|
4 |
|
|
|
5 |
|
6 |
from utils import load_augmentations_config, get_arguments
|
7 |
from visuals import (
|
|
|
2 |
import streamlit as st
|
3 |
import albumentations as A
|
4 |
|
5 |
+
# TODO: refactor all the new code of professional mode
|
6 |
|
7 |
from utils import load_augmentations_config, get_arguments
|
8 |
from visuals import (
|