BrainAI-1 commited on
Commit
3bcb96b
·
verified ·
1 Parent(s): ae169a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,7 +14,7 @@ if image_file:
14
  # Convert image to OpenCV format
15
  img = Image.open(image_file)
16
  img = np.array(img) # Convert to NumPy array
17
- img = cv2.cvtColor(img, cv2.COLOR_RGB2BGR) # Convert to OpenCV BGR format
18
 
19
  # Show the captured image
20
- st.image(img, caption="Captured Image", use_column_width=True)
 
14
  # Convert image to OpenCV format
15
  img = Image.open(image_file)
16
  img = np.array(img) # Convert to NumPy array
17
+
18
 
19
  # Show the captured image
20
+ st.image(img, caption="Captured Image")