Skip to content

SreenikethanI/Font-Detection-Model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Machine Learning based Typeface Recognition Tool

A Deep Learning model to predict the font used in a given image.

Check out the repo for an interactive front-end demo:
https://github.com/joejo-joestar/Font-Detection-App

Check out the images in the Demo sample folder to test the model.

Team members:


Model architecture


Environment setup for Jupyter notebook

Firstly install Miniconda from here.

Then open a command prompt in this directory, and run the following. This will create and activate an environment called "FDS".

conda create -n fds python=3.12
conda activate fds

After running this, your CMD prompt should have a "(fds)" prefixed at the start.

Run the following command to install packages, such as PyTorch. This will take some time.

conda install -n fds ipykernel ipywidgets --update-deps --force-reinstall

pip install scikit-learn opencv-contrib-python-headless matplotlib numpy pandas pillow pyperclip

pip install torch torchvision --index-url https://download.pytorch.org/whl/cu124

You're ready! Now just open VS Code and open the Jupyter notebook, and remember to select the FDS environment at the bottom-right.

About

Font Detection Model for FDS Course (CS F320)

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •