You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get into the root directory of the cloned repository, and then copy all the contents of word-model.zip into the /Our Code/model directory present in the root directory.
Get into the /Our Code/src directory from the root directory.
To run and check the output of Phase-1, get into the /Our Code/src and run the command: python3 SiLiHaSeR_phase1_image_preprocess.py test2.png . This command will run the Phase-1 code for test2.png, and produce the individual word images in the same directory.
To run and check the output of Phase-1 + Phase-2 combined, run the command in /Our Code/src directory: python3 SiLiHaSeR_phase2_sentence_recognizer test2.png . This will run the SiLiHaSeR model (Phase-1+Phase-2) and produce the desired machine-printed text as output in the terminal for test2.png.
To run the model on all 34 custom sentence images and calculate the accuracy, run the command in /Our Code/src directory: python3 SiLiHaSeR_accuracy_over_test_data.py. This should output the predicted sentence for all test images along with the accuracies as explained in the report.