Skip to main content

Pacote para processamento de imagens.

Project description

PROCESSADOR DE IMAGENS EM PYTHON

Um pacote Python para processamento básico de imagens, incluindo conversão para escala de cinza e combinação de duas imagens.

Índice

Estrutura do Repositório

image_processor/
│
├── image_processor/
│   ├── __init__.py
│   ├── processing_image.py
│
├── tests/
│   ├── __init__.py
│   ├── test_processing.py
│
├── README.md
├── setup.py
└── requirements.txt

Instalação

Para instalar o pacote, use o pip:

pip install image_processor_jr

Funcionalidades

  • to_grayscale(image_path, save_path=None): Converte uma imagem para escala de cinza;
  • combine_images(image_path1, image_path2, save_path=None): Combina duas imagens usando uma média.

Uso

from image_processor_jr.processing_image import to_grayscale, combine_images

# Converter imagem para escala de cinza
gray_image = to_grayscale('imagem1.jpg', save_path='gray_image.jpg')

# Combinar duas imagens
combined_image = combine_images('imagem1.jpg', 'imagem2',
                                save_path='combine_image.jpg')

Testes

Para executar os testes, utilize:

python -m unittest discover tests/

Conclusão

Seguir essas boas práticas ajudará a criar um ambiente colaborativo mais eficiente e agradável. Mantenha sempre a comunicação aberta e esteja disposto a aprender e adaptar-se. Boas contribuições!

Contribuições

Sinta-se à vontade para contribuir. Faça um fork do projeto, crie uma branch para suas alterações e envie um pull request.

Licenciamento

Este projeto é licenciado sob a MIT License - veja o arquivo LICENSE para mais detalhes.

Autor

Juninho Carvalho LinkedIn

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

image_processor_jr-0.0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

image_processor_jr-0.0.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file image_processor_jr-0.0.1.tar.gz.

File metadata

  • Download URL: image_processor_jr-0.0.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.5

File hashes

Hashes for image_processor_jr-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7724899fe55c8507c72ba6c95924f475724cc4e3f11f74342d6ffc56a5785a29
MD5 792c538bee7d89aced966efb0e96c193
BLAKE2b-256 1701da91c6859b736b04c4854ed0565bc6b2c45e05fcbbc72b4f636e31dcb5aa

See more details on using hashes here.

File details

Details for the file image_processor_jr-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for image_processor_jr-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d668a6dab751db3dc1ce1ca10d9502608d42fb4506252ff678c1077f66ae3cf4
MD5 bf8e9d685ff810029325f51f12d9370d
BLAKE2b-256 de027752010312985784e11041e564daa53fd95cbd275d27db0eafa16d0a86a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page