3v324v23 commited on
Commit
5b29af7
·
1 Parent(s): f37284b
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -15,8 +15,6 @@ if uploaded_file is not None:
15
  # Get actual image file
16
  bytes_data = get_image_path(uploaded_file)
17
  st.image(bytes_data)
18
- # ReSize
19
- item = cv2.resize(bytes_data,dsize=(224,224), interpolation=cv2.INTER_CUBIC)
20
- # ReScale Values
21
- item = item / 255
22
  st.image(item)
 
15
  # Get actual image file
16
  bytes_data = get_image_path(uploaded_file)
17
  st.image(bytes_data)
18
+ item = cv2.cvtColor(bytes_data, cv2.COLOR_BGR2GRAY)
19
+
 
 
20
  st.image(item)