As a developer of a URL shortening service, this is incredibly useful. Social platforms scrape the contents of all shared URLs to offer a preview in a feed. With this service I can incorporate the logo of a site's destination URL into the scraped content.
I'd be cool if they would provide some insight on how to make an existing website to work with their API. I always wanted to know what's the "standard" way to put a logo in the webpage. Some people uses just an IMG tag, other uses an H1 with an image replacement technique.
Worked on something similar on a local open data hackathon before, but instead I used a scraper to parse the logos.
https://github.com/c0dr/LogoParser It worked okay for like 40% of the sites, and for the rest of the sites we used Python and scikit-learn to detect the logo from the page (threw all images of the page in the script and it returned if it was a logo or not). And this actually worked quite good, irrc over 90% of the test cases worked. https://github.com/tomsrocket/image-classification But yeah, using Twitter as a source might also be a good idea.
Comments (152) 59 threads
Earlier commentshttps://github.com/c0dr/LogoParser
It worked okay for like 40% of the sites, and for the rest of the sites we used Python and scikit-learn to detect the logo from the page (threw all images of the page in the script and it returned if it was a logo or not). And this actually worked quite good, irrc over 90% of the test cases worked.
https://github.com/tomsrocket/image-classification
But yeah, using Twitter as a source might also be a good idea.
All comments shown.
Couldn't load more comments. Check your connection and try again.