Spaces:
Build error
Build error
Commit
·
524c7bd
1
Parent(s):
eb9f687
updates
Browse files
app.py
CHANGED
|
@@ -141,6 +141,11 @@ def get_ellipse_coords(point):# tuple[int, int]) -> tuple[int, int, int, int]):
|
|
| 141 |
)
|
| 142 |
|
| 143 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 144 |
col1, col2 = st.columns([5,1])
|
| 145 |
|
| 146 |
with col1:
|
|
@@ -181,10 +186,14 @@ with col2:
|
|
| 181 |
for i in range(4):
|
| 182 |
st.image(st.session_state["sideimg"][i].resize((128,128)))
|
| 183 |
if i==0:
|
| 184 |
-
st.write("current selection
|
| 185 |
-
|
| 186 |
-
st.write("
|
| 187 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 188 |
|
| 189 |
#st.write(st.session_state["sideix"][i])
|
| 190 |
|
|
|
|
| 141 |
)
|
| 142 |
|
| 143 |
|
| 144 |
+
"This is a demo to showcase the capability of the Batch Indexing Machine. It's part of an open source project, currently in the pre-release phase."
|
| 145 |
+
|
| 146 |
+
"20 batches of random parts were run through the Batch Indexing Machine, a machine that shakes the parts while recording a video."
|
| 147 |
+
"30 seconds per batch @24 FPS = 20*30*24 = 14400 images. These images are then run through a deep learning algorithm that is trained without supervision, which means that this concept has a potential to be fully automated."
|
| 148 |
+
|
| 149 |
col1, col2 = st.columns([5,1])
|
| 150 |
|
| 151 |
with col1:
|
|
|
|
| 186 |
for i in range(4):
|
| 187 |
st.image(st.session_state["sideimg"][i].resize((128,128)))
|
| 188 |
if i==0:
|
| 189 |
+
st.write("current selection in batch "+str(st.session_state["sideix"][i]))#//(gridsize**2)//20))
|
| 190 |
+
if i==1:
|
| 191 |
+
st.write("Best match found in batch "+str(st.session_state["sideix"][i]))#//(gridsize**2)//20))
|
| 192 |
+
if i==2:
|
| 193 |
+
st.write("Second best match found in batch "+str(st.session_state["sideix"][i]))#//(gridsize**2)//20))
|
| 194 |
+
if i==3:
|
| 195 |
+
st.write("Third best match found in batch "+str(st.session_state["sideix"][i]))#//(gridsize**2)//20))
|
| 196 |
+
|
| 197 |
|
| 198 |
#st.write(st.session_state["sideix"][i])
|
| 199 |
|