anime image classification
Project description
DeepDanbooru
动漫图片分类模型
安装
pip install deepdanbooru-onnx
使用
from deepdanbooru_onnx import DeepDanbooru, process_image
from PIL import Image
import numpy as np
danbooru = DeepDanbooru()
print(danbooru('test.jpg'))
img = Image.open('test.jpg')
print(danbooru(img))
img = process_image(img) # iamge to ndarray
print(danbooru(img))
print(list(danbooru(['test1.jpg','test2.jpg'])))
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
deepdanbooru_onnx-0.0.5.tar.gz
(16.3 kB
view hashes)
Built Distribution
Close
Hashes for deepdanbooru_onnx-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b913c5c69af403fdd9e7f1e6dcc12633525003921d0a118cdc33af0000344610 |
|
MD5 | 6ddf0e2ffd2d8ec51ef2e15cbc399fd8 |
|
BLAKE2b-256 | b49e1c74003cdffcc3f24044d859243e8584fc7f69e10e1bb87114229307518f |