Please read more at tasveer.readthedocs.io
Notice: This project is still under maintainence, I would love your support as I have to dedicate time to a few other projects as of now. The final project will be beautifully integrated into the Python ecosystem with perfect OOPs, Clean Code and the Zen of Python .☺
A Request for Pull Request: Please Run your Python code through a PEP8 formatter, but feel free to not do it incase you feel it decreases readability. Also, try to optimize performance whenever you can and include the Zen of Python in your code (or life!).
A Python Package to help you quickly download a few images for testing/validation purposes.
Welcome to Tasveer
Tasveer is a module to help you download tons of images!
Usage
pip install tasveer
import tasveer as tsv
# Simple usage. Prompts the user for a query and number of images:
tsv.download()
# Using query and count parameters:
tsv.download(query="<SEARCH_STRING>", count="<NUM_IMAGES_AS_INT>")
# Example using parameters: downloads 4 images of books:
tsv.download(query="books", count="4")
Note: If you only include one parameter, it will fall back to prompting for the missing parameter.
Future Work
Conversion between Image Formats:
-
Interconversion between Raster Image Types
-
Vector types rendered to Raster Type
-
DICOM to Raster Types
-
Raster to HDF5 type Conversions
Preprocessing Abilities:
- Blurring / Noise Removal
- Sharpening
- Contrast Adjustment
- Saturation Adjustment
- Brightness Adjustment
Using ImageNets API for labelled download
Implement Multiprocessing
- This will help us download and process at the same time. To be declared as a method of tasveer, with positional arguments of array of tasks to be performed.
Kindly refer to issues to see list of other requested enhancements and easy tasks you could help the community with plus have your own OSS contribution!
If there is any problem you have, want quick answers or want to dicuss with core developers, kindly use the slack channel at
https://tasveer-group.slack.com/
If you're new to the Open Source community,programming or Python, please message me for any doubts! ^_^
Sincerely,
Abhinav
Contribution
Steve for adding paramentric download function
Mansi for adding a function to download images and adjust width and height
Ambika for readthedocs.io documentation