Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Latest commit

 

History

History
52 lines (35 loc) · 1.62 KB

README.md

File metadata and controls

52 lines (35 loc) · 1.62 KB

FOSPEX - Fourier Spectrum Explorer

An interactive application to explore the fourier spectrum of an image and find possible notch filters.

Demo image

Used core frameworks and libraries:

  • Frontend: NPM, Vue.js, Quasar
  • Backend: FLASK, matplotlib, Pillow, OpenCV

Frontend

To run frontend, enter

cd frontend
quasar dev

Backend

Make sure you have installed all requirements:

cd backend
pip install -r requirements.txt

To run the backend, enter:

python main.py

Troubleshooting

Mac OS X Error: Python is not installed as a framework. when starting backend main.py

This is because matplotlib is installed via PIP. To solve this, enter this into your console:

echo backend: TkAgg >> ~/.matplotlib/matplotlibrc

Theory: Fourier transformation and frequency spectrum

There is a lot of explanation in the internet. Some of useful resources are: