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.6.tar.gz
(16.4 kB
view hashes)
Built Distribution
Close
Hashes for deepdanbooru_onnx-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5095336c6a1dc8d3ee27a85286e8775ea44e62acd0dfd4208cf3cafcc6df853f |
|
MD5 | 906b5f4b107e776ebfc7471d94e9c28a |
|
BLAKE2b-256 | c2ad7473d3bc2de7a9cb8c3aea0cbe301d6d2d574cb74ef2a22153fb7bb7a77d |