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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b9e99e5e2187a76fa980cffad42c11ff4a40761086f62d028f461e5607c8ba6 |
|
MD5 | ce22df5d4187f00d6eb464ff46e93088 |
|
BLAKE2b-256 | 1b693064a8462ea1c26c4bbabb8a735e827ea4a936787a8f51df94958503a9ed |
Close
Hashes for tekleo_common_utils-0.0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49d14c6912b20d00b4084344b3f1cd1ec830058e08cf1054f5229373c7549645 |
|
MD5 | f88a00ef7f80ad48ba8e35a7c7e81b26 |
|
BLAKE2b-256 | bde46a5932aa7078539b13595eee724d783b639928bf8de49df21707f033f012 |