Spaces:
Sleeping
Sleeping
ddovidovich
commited on
Commit
·
882d2a6
1
Parent(s):
1b0b1dd
Update app.py
Browse files
app.py
CHANGED
@@ -181,7 +181,8 @@ if image_file is not None:
|
|
181 |
st.subheader("Predicted teeth shape + caries zones")
|
182 |
st.write(img.shape)
|
183 |
st.image(img,width=1100)
|
184 |
-
|
|
|
185 |
if image.shape[1] < 3000:
|
186 |
image = cv2.resize(image,(3100,1150),interpolation=cv2.INTER_LANCZOS4)
|
187 |
predicted=cv2.imread("predict.png")
|
|
|
181 |
st.subheader("Predicted teeth shape + caries zones")
|
182 |
st.write(img.shape)
|
183 |
st.image(img,width=1100)
|
184 |
+
|
185 |
+
image=np.asarray(image)
|
186 |
if image.shape[1] < 3000:
|
187 |
image = cv2.resize(image,(3100,1150),interpolation=cv2.INTER_LANCZOS4)
|
188 |
predicted=cv2.imread("predict.png")
|