qudida-0.0.4


توضیحات

QUick and DIrty Domain Adaptation
ویژگی مقدار
سیستم عامل -
نام فایل qudida-0.0.4
نام qudida
نسخه کتابخانه 0.0.4
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/arsenyinfo/qudida
آدرس اینترنتی https://pypi.org/project/qudida/
مجوز -
# QuDiDA (QUick and DIrty Domain Adaptation) QuDiDA is a micro library for very naive though quick pixel level image domain adaptation via `scikit-learn` transformers. Is assumed to be used as image augmentation technique, while was not tested in public benchmarks. ## Installation ``` pip install qudida ``` or ``` pip install git+https://github.com/arsenyinfo/qudida ``` ## Usage ``` import cv2 from sklearn.decomposition import PCA from qudida import DomainAdapter adapter = DomainAdapter(transformer=PCA(n_components=1), ref_img=cv2.imread('target.png')) source = cv2.imread('source.png') result = adapter(source) cv2.imwrite('../result.png', result) ``` ## Example Source image: ![source](source.png) Target image (style donor): ![target](target.png) Result with various adaptations: ![result](result.gif)


نیازمندی

مقدار نام
>=0.18.0 numpy
>=0.19.1 scikit-learn
- typing-extensions
>=4.0.1 opencv-python-headless


زبان مورد نیاز

مقدار نام
>=3.5.0 Python


نحوه نصب


نصب پکیج whl qudida-0.0.4:

    pip install qudida-0.0.4.whl


نصب پکیج tar.gz qudida-0.0.4:

    pip install qudida-0.0.4.tar.gz