Skier8402 commited on
Commit
29415d5
·
verified ·
1 Parent(s): 01beaea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -31
app.py CHANGED
@@ -27,37 +27,6 @@ streamlit run cell_exp_past.py
27
  7. Save the processed image locally or rename the processed image and
28
  associated files.
29
  '''
30
-
31
- '''
32
- an image processing tool that allows users to upload microscope images,
33
- adjust the view with zoom and enhancement controls, and save the processed
34
- image along with annotations. The tool uses OpenCV for image processing and
35
- PIL for image enhancements. The processed image can be saved locally or
36
- exported as a zip file containing the processed image, description, and
37
- parameters. The tool also provides options to rename the processed image and
38
- associated files.
39
-
40
- The tool consists of the following components:
41
- 1. File Uploader: Allows users to upload microscope images in JPG or PNG format.
42
- 2. Image Controls: Provides sliders to adjust the zoom, contrast, brightness, and sharpness of the image.
43
- 3. Processed Image Display: Displays the processed image after applying the adjustments.
44
- 4. Original Image Display: Displays the original image uploaded by the user.
45
- 5. Save and Export Options: Allows users to add annotations, prepare a zip file for download, save the processed image locally, and rename the processed image and associated files.
46
-
47
- To run the tool:
48
- 1. Save the script as `cell_exp_past.py`.
49
- 2. Run the script in a Python environment.
50
- ```python
51
- streamlit run cell_exp_past.py
52
- ```
53
- 3. Open the provided local URL in a web browser.
54
- 4. Upload microscope images and adjust the image view.
55
- 5. Apply adjustments and save the processed image with annotations.
56
- 6. Download the processed image and annotations as a zip file.
57
- 7. Save the processed image locally or rename the processed image and
58
- associated files.
59
- '''
60
-
61
  import streamlit as st
62
  from PIL import Image, ImageEnhance
63
  import pandas as pd
 
27
  7. Save the processed image locally or rename the processed image and
28
  associated files.
29
  '''
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  import streamlit as st
31
  from PIL import Image, ImageEnhance
32
  import pandas as pd