Skip to main content

Detect logo url for any website.

Project description


猜测网址的logo链接 Detection of logo url from any website.

How to install.

pip3 install guess_logo

How to use.

from guess_logo import GuessLogo

url = ''

logos = GuessLogo.guess(url)

# 调整logo大小
from guess_logo import Logo
height = 256
width = 512
source = 'demo/ifengLogo.png'
target = 'demo/ifengLogo_{}_{}.png'.format(width, height)
Logo.resize(source, target, width, height, bgcolor='transparent')

# 替换白色为透明
from guess_logo import ColorLogo
source = 'demo/logo.jpeg'
target = 'demo/logo.transparent.png'
ColorLogo.replace(source, target)

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

guess_logo-0.0.8.tar.gz (3.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page