No project description provided
Project description
TekLeo Common Utils
A python package with shared utils methods that can be used in a variety of python projects, but are mostly tailored towards web / ml applications.
Description
Under construction...
Utils OpenCV
blur_gaussian
apply Gaussian blurrotate_bound
rotate image bounded, preserving the original dimensions and cutting all rotated content that doesn't fit into original image sizerotate_free
rotate image freely, changing dimensions to make sure all rotated content fits insidedeskew
deskew (straighten) image, works best on text images, like page scans and etc.
Utils Random
get_random_user_agent
generate a random User-Agent for HTTP headers (using user_agent library)
Installation
Normal installation
pip install tekleo-common-utils
Development installation
git clone https://github.com/jpleorx/tekleo-common-utils.git
cd tekleo-common-utils
pip install --editable .
Links
In case you’d like to check my other work or contact me:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for tekleo-common-utils-0.0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aabdef2ee8798653bae4197c50c963acfe74bcf1f3f92ffabc6b5008390c136c |
|
MD5 | bfa83ff51e81479b32c2ecbac8c480d5 |
|
BLAKE2b-256 | e5dafaccaff57c760280be7047c127857499bcde6fb90b5640f2f0b94c8b04c2 |
Close
Hashes for tekleo_common_utils-0.0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6a0dc8992ed9d6dec127c246d46a2ff7d851770a09b7aabc538dea418c2bf96 |
|
MD5 | 4af39f65854c6cb721a87251c46cc4e0 |
|
BLAKE2b-256 | 29bd12934054c38fac88071bddbf17f96d7067b250b8758f882416d96beec657 |