Overview: The objective of this package, as the name suggest, is to act as a media pre-processing tool. It simplifies the process of importing media to the python environment. It takes input from the user in the form of images or video capture and lets the user define certain parameters, pertaining to which the function gives the output. The package primarily consists of two functions:
- img_pre()
- nbg_vc() Functions:
- img_pre(location, shape, edges)
This function takes input from the user in the form of images and performs pre-processing operations on it like reshape, resize (1:1 ratio) and standardize. It also gives the users an option to remove the background from the images and retain only the edges of the subject of the image.
Parameters: • location (string) input folder path of where the images are stored
• shape (integer) input desired shape of image
• edges (boolean) False: original pictures after pre-processing True: output images have edges of the subject without the background 2. nbg_vc(shape) It allows the user to capture video using their webcam and removes the background by only capturing objects that move in the frame.
Parameters: shape (integer): defines shape of the desired output image.
Metadata
Release files for media-preprocessor 10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| media_preprocessor-10.0.tar.gz | 3.1 kB | Without provenance | Details |
Release files / media_preprocessor-10.0.tar.gz
| Download URL | media_preprocessor-10.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0fb129bcebe5e9718d96a83103c042a297f197c7c0e5348fb92a51018f250721
|
|
BLAKE2b-256 checksum How to use checksums |
b8f4f8ca9e3ac1315a01e6bd2eb4ae0dffe7ab84517206e8f512da2d9dd3303e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
|
Security for media-preprocessor 10.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.