File size: 311 Bytes
6456732
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# import streamlit as st
import cv2
import numpy as np
import time

# st.title("Super Resolution")


def load_image(image_path):
    image = cv2.imread(image_path)
    image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
    return image


# image_file = st.file_uploader("Upload Image", type=("jpg", "jpeg", "png"))