Skip to content

sherinnishara/sathurangamPy

Repository files navigation

kabaddi_api_logo

SathurangamPy - A Comprehensive Python Library Exclusive for OpenCv

InstallationUserguide

Python

Sathurangam is a Python library for OpenCV, simplifying tasks like edge detection, grayscale conversion, cropping, and rotation with a single line of code for all level of users

Installation

install the package sathurangamPy using pip:

pip install sathurangam

Deployed here: https://pypi.org/project/sathurangam/

Flow Diagram

Usage

Here's a quick example to getting started with sathurangamPy package:

import sathurangamPy as sp
import cv2

path = "image.png/jpg"

#Convert image to grayscale
gray = sp.grayscale_converter(path)

cv2.imshow('gray',gray)
cv2.waitKey(0)
cv2.destroyAllWindows()

Features

SathurangamPy provides a wide range of tools for handling OpenCV image processing tasks. Some of its key features include:

Image Cropping:

crop = sp.crop_image(path,50, 50, 200, 200)

Image Rotation:

rotate = sp.rotate_image(path,-45)

Image Blurring :

blur = sp.blur_image(path, 7)
# Error handling when an invalid kernel size occurs(even number)

Image Thresholding:

threshold = sp.threshold_image(path, 20)

The library offers simple methods for image manipulations, making it a versatile tool for developers. allowing complex operations with minimal code,

"Lead future with low-code"

Requirement:

make sure to opencv is installed on your system

pip install opencv-python

License

This project is licensed under the MIT License

Contact

Reach out me Sherin Nishara S

Made with ❤️ sherin

About

A comprehensive python package exclusive for opencv

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages