All Projects → kitUIN → PicImageSearch

kitUIN / PicImageSearch

Licence: MIT license
整合图片识别api,用于以图搜源(以图搜图,以图搜番),支持SauceNAO,tracemoe,iqdb,ascii2d,google(谷歌识图),baidu(百度识图),E-Hentai,ExHentai识图

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to PicImageSearch

search photo-telegram-bot-heroku
一个可以部署在heroku上的搜图机器人
Stars: ✭ 137 (-21.71%)
Mutual labels:  iqdb, saucenao, ascii2d
Fixator10-Cogs
Cogs for Red-DiscordBot. Including port of Stevy's V2 leveler.
Stars: ✭ 66 (-62.29%)
Mutual labels:  saucenao, tracemoe
eh-downloader
E站下载器(计划重写中)
Stars: ✭ 61 (-65.14%)
Mutual labels:  e-hentai, exhentai
SmartImage
Reverse image search tool (SauceNao, ImgOps, trace.moe, and more)
Stars: ✭ 346 (+97.71%)
Mutual labels:  e-hentai, saucenao
e-hentai-view
A mobile website for ExHentai, build with Next.js
Stars: ✭ 60 (-65.71%)
Mutual labels:  e-hentai, exhentai
Mirai-Bot
Robot developed based on RICQ framework
Stars: ✭ 6 (-96.57%)
Mutual labels:  saucenao, ascii2d
hentai-downloader
ExHentai exhentai.org, e-hentai.org images gallery download to folder.
Stars: ✭ 37 (-78.86%)
Mutual labels:  e-hentai, exhentai
FEhViewer
An e-hentai/exhentai app make on flutter
Stars: ✭ 551 (+214.86%)
Mutual labels:  e-hentai, exhentai
Mayriads-EH-Master-Script
Adds dozens of features to E-Hentai.
Stars: ✭ 57 (-67.43%)
Mutual labels:  e-hentai, exhentai
ehentai-qt
e-hentai, exhentai,看图,搜索,下载器
Stars: ✭ 162 (-7.43%)
Mutual labels:  e-hentai, exhentai
exhentai-tags-chinese-translation
E-Hentai/ExHentai 全部 TAGs 中文翻译
Stars: ✭ 273 (+56%)
Mutual labels:  e-hentai, exhentai
Baidu-Dog2017
http://js.baidu.com/
Stars: ✭ 37 (-78.86%)
Mutual labels:  baidu
ExHen-Archive
System for crawling/archiving and viewing ExHen galleries
Stars: ✭ 87 (-50.29%)
Mutual labels:  exhentai
mpapi
🐤 小程序API兼容插件,一次编写,多端运行。支持:微信小程序、支付宝小程序、百度智能小程序、字节跳动小程序
Stars: ✭ 40 (-77.14%)
Mutual labels:  baidu
BaiduNetDiskTranslation
🌏UNOFFICIAL Translation Baidu Net Disk for Windows, Android to Russian🇷🇺,English🇬🇧 languages 📌
Stars: ✭ 40 (-77.14%)
Mutual labels:  baidu
the-subway-of-china
中国地铁图
Stars: ✭ 104 (-40.57%)
Mutual labels:  baidu
ty-baidu-textcensor
🗑在Typecho中加入百度文本内容审核,过滤评论中的敏感内容
Stars: ✭ 42 (-76%)
Mutual labels:  baidu
terminal-translate
a terminal-translate tool
Stars: ✭ 73 (-58.29%)
Mutual labels:  baidu
electron-exhentai
No description or website provided.
Stars: ✭ 13 (-92.57%)
Mutual labels:  exhentai
e-hentai-db
Just another E-Hentai metadata database
Stars: ✭ 42 (-76%)
Mutual labels:  e-hentai

PicImageSearch

聚合识图引擎 用于以图搜源

license pypi python release release

📖文档 · 🐛提交建议

支持

简要说明

详细见文档 或者demo
同步请使用from PicImageSearch.sync import ...导入
异步请使用from PicImageSearch import Network,...导入
推荐使用异步

简单示例

from loguru import logger
from PicImageSearch import SauceNAO, Network

async with Network() as client:  # 可以设置代理 Network(proxies='scheme://host:port')
    saucenao = SauceNAO(client=client, api_key="your api key")  # client, api_key 不能少
    url = "https://raw.githubusercontent.com/kitUIN/PicImageSearch/main/demo/images/test01.jpg"
    resp = await saucenao.search(url=url)
    # 搜索本地图片
    # file = "demo/images/test01.jpg"
    # resp = await saucenao.search(file=file)

    logger.info(resp.status_code)  # HTTP 状态码
    # logger.info(resp.origin)  # 原始数据
    logger.info(resp.raw[0].origin)
    logger.info(resp.long_remaining)
    logger.info(resp.short_remaining)
    logger.info(resp.raw[0].thumbnail)
    logger.info(resp.raw[0].similarity)
    logger.info(resp.raw[0].hidden)
    logger.info(resp.raw[0].title)
    logger.info(resp.raw[0].author)
    logger.info(resp.raw[0].url)
    logger.info(resp.raw[0].pixiv_id)
    logger.info(resp.raw[0].member_id)
from PicImageSearch.sync import SauceNAO

saucenao = SauceNAO(api_key="your api key")  # api_key 不能少
url = "https://raw.githubusercontent.com/kitUIN/PicImageSearch/main/demo/images/test01.jpg"
resp = saucenao.search(url=url)
# 搜索本地图片
# file = "demo/images/test01.jpg"
# resp = saucenao.search(file=file)
# 下面操作与异步方法一致

安装

  • 此包需要 Python 3.7 或更新版本。
  • pip install PicImageSearch
  • 或者
  • pip install PicImageSearch -i https://pypi.tuna.tsinghua.edu.cn/simple

Star History

Star History

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].