https://github.com/maneeshwije/pytoshop
An image processing tool written from scratch in Python and C
https://github.com/maneeshwije/pytoshop
c ctypes image-processing python
Last synced: 3 months ago
JSON representation
An image processing tool written from scratch in Python and C
- Host: GitHub
- URL: https://github.com/maneeshwije/pytoshop
- Owner: ManeeshWije
- Created: 2023-04-15T18:41:13.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-19T21:22:56.000Z (about 1 year ago)
- Last Synced: 2024-12-19T21:36:39.467Z (about 1 year ago)
- Topics: c, ctypes, image-processing, python
- Language: Python
- Homepage:
- Size: 2.49 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pytoshop
### Compiling and Running (only tested on Linux)
1. Ensure you have Python installed
2. Ensure you have a C compiler installed
3. Create a Python virtual environment by running `python -m venv venv`
4. Activate the venv by running `source venv/bin/activate`
5. Install dependencies by running `pip install -r requirements.txt`
6. Create the shared C library by running `make`
7. Run `make run`
### What and Why?
- An easy to use Image Processing Toolbox that contains various operations to do on RGB and greyscale images
- All image operations use C functions to speed up computations
- Built to get a better understanding of certain image processing techniques and how they work under the hood
- Also wanted to learn more about C -> Python interoperability using `ctypes`
- There are many more operations that can be added such as object detection, image labeling, and also some bugs to iron out
- Feel free to open a PR for literally anything