Skip to content

leshnevskyi/thinning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Thinning

The project was created as a part of the Image Processing course. The goal is to demonstrate image thinning which is a morphological operation in image processing that reduces the width of lines or objects in a binary image to a single pixel in thickness, while retaining their overall structure and topology. Such a transformation is useful for OCR, pattern recognition, shape analysis, etc.

Usage

The project depends on uv and Python v3.13. To start thinning run the following commands:

cd ui
npm ci
npm run dev

These commands should start a dev server for the UI part. Now run the following commands to run the API server:

cd api
uv venv
source .venv/bin/activate
uv run api

As a result, you should be able to go to http://localhost:5173/ and upload images for thinning.

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published