Update app.py
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ if uploaded_image:
|
|
93 |
st.image(blended_img, caption='Blended Image with Labels', use_column_width=True)
|
94 |
|
95 |
# Save the final result
|
96 |
-
cv2.imwrite('example/result15.png', blended_img, [int(cv2.IMWRITE_JPEG_QUALITY),
|
97 |
st.success('Saliency detection complete. Result saved as "example/result15.png".')
|
98 |
|
99 |
st.write('Finished, check the result at: example/result15.png')
|
|
|
93 |
st.image(blended_img, caption='Blended Image with Labels', use_column_width=True)
|
94 |
|
95 |
# Save the final result
|
96 |
+
cv2.imwrite('example/result15.png', blended_img, [int(cv2.IMWRITE_JPEG_QUALITY), 200])
|
97 |
st.success('Saliency detection complete. Result saved as "example/result15.png".')
|
98 |
|
99 |
st.write('Finished, check the result at: example/result15.png')
|