Streamlit WIP

This commit is contained in:
Andrzej Preibisz 2023-01-29 17:03:38 +01:00
parent b0056ee5cd
commit a670458f22
2 changed files with 8 additions and 3 deletions

View File

@ -8,4 +8,9 @@ if __name__ == "__main__":
) )
st.title("Projekt rozpoznawanie liter z alfabetu znaków migowych z wideo") st.title("Projekt rozpoznawanie liter z alfabetu znaków migowych z wideo")
st.write('Hello world') st.write('Załaduj film')
upload_movie = st.file_uploader("Wybierz film", type=["mp4"])
if upload_movie:
st.write("Film się ładuje.....")

View File

@ -9,10 +9,10 @@ import numpy as np
import tensorflow as tf import tensorflow as tf
model = tf.keras.models.load_model('model_pred/VGG16_sign_char_detection_model') model = tf.keras.models.load_model('VGG19_model.hdf5')
# Get the list of all files and directories # Get the list of all files and directories
path = "test_data_own" path = "test_data_own_cropped"
dir_list = os.listdir(path) dir_list = os.listdir(path)
print(dir_list) print(dir_list)