Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -8,6 +8,8 @@ import numpy as np
|
|
| 8 |
|
| 9 |
# Analysis function adapted from your Tkinter app
|
| 10 |
def analyze_image(image, min_size, circularity):
|
|
|
|
|
|
|
| 11 |
# Assume your analyzer.main accepts [image, params] format, adjust as needed
|
| 12 |
processed_img,picname, excelname = analyzer.main([image, min_size, circularity])
|
| 13 |
#print(type(processed_img))
|
|
|
|
| 8 |
|
| 9 |
# Analysis function adapted from your Tkinter app
|
| 10 |
def analyze_image(image, min_size, circularity):
|
| 11 |
+
print(type(image))
|
| 12 |
+
print(len(image))
|
| 13 |
# Assume your analyzer.main accepts [image, params] format, adjust as needed
|
| 14 |
processed_img,picname, excelname = analyzer.main([image, min_size, circularity])
|
| 15 |
#print(type(processed_img))
|