corvo7 commited on
Commit
0e59069
·
verified ·
1 Parent(s): d05366e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,6 +34,6 @@ canvas_result = st_canvas(
34
  # Do something interesting with the image data and paths
35
  if canvas_result.image_data is not None:
36
  st.image(canvas_result.image_data)
37
- img=cv2.cvtColor(canvas_result.image_data,cv2.COLOR_RGBA2BGR)
38
  st.write(type(img))
39
  st.write(img.shape)
 
34
  # Do something interesting with the image data and paths
35
  if canvas_result.image_data is not None:
36
  st.image(canvas_result.image_data)
37
+ img=cv2.cvtColor(canvas_result.image_data,cv2.COLOR_RGBA2GRAY)
38
  st.write(type(img))
39
  st.write(img.shape)