Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -198,7 +198,6 @@ if st.session_state.screen == 2:
|
|
| 198 |
|
| 199 |
with row5_col2:
|
| 200 |
st.session_state.boxed_image = np.array(st.session_state.image)
|
| 201 |
-
# st.session_state.boxed_image = cv2.cvtColor(st.session_state.boxed_image, cv2.COLOR_RGB2BGR)
|
| 202 |
height, width, channels = st.session_state.boxed_image.shape
|
| 203 |
st.session_state.blank_img = np.zeros((height + 640, width + 640, 3), np.uint8)
|
| 204 |
st.session_state.blank_img[0:height, 0:width] = st.session_state.boxed_image
|
|
|
|
| 198 |
|
| 199 |
with row5_col2:
|
| 200 |
st.session_state.boxed_image = np.array(st.session_state.image)
|
|
|
|
| 201 |
height, width, channels = st.session_state.boxed_image.shape
|
| 202 |
st.session_state.blank_img = np.zeros((height + 640, width + 640, 3), np.uint8)
|
| 203 |
st.session_state.blank_img[0:height, 0:width] = st.session_state.boxed_image
|