lromul / gramtion Goto Github PK
View Code? Open in Web Editor NEWTwitter bot for generating photo descriptions (alt text)
Home Page: https://twitter.com/GramtionBot
License: MIT License
Twitter bot for generating photo descriptions (alt text)
Home Page: https://twitter.com/GramtionBot
License: MIT License
I saw this tweet: https://twitter.com/GramtionBot/status/1394429729529270274?s=19
This is the first time I've seen this bot - and it's brilliant! Nice work.
I don't have experience with image recognition so this question may be naive.
I'm wondering if there's a way of using bounded box detection to distribute OCR results into contextual regions. If possible, this may have some interesting outcomes for various common image layouts (such as a comic or as a side-by-side comparison).
It may be possible to limit this process to images with specific properties to reduce false positives, such as predefined lists of image descriptions (e.g. This example, which outputs "Two signs that are sitting next to each other"), images with limited colour palettes (which may be comic strips).
The result of this would be seeing the current output:
Image 1
May show: Two signs that are sitting next to each other.
Сontains text:
working
AT THE OFFICE
AT HOME
SITTING
IN TRAFFIC
WORKING
WORKING
GETTING
LUNCH
CHATTING
WITH
COWOR- / GETTING
KERS/ COFFEE
Irina Blok
Tags: Rectangle, font, parallel, circle, diagram.
Transformed into:
Image 1
May show: Two signs that are sitting next to each other.
3 text regions detected
Region 1 contains text:
working
Irina Blok
Region 2 contains text:
AT THE OFFICE
SITTING
IN TRAFFIC
WORKING
GETTING
LUNCH
CHATTING
WITH
COWOR- / GETTING
KERS/ COFFEE
Region 3 contains the text:
AT HOME
WORKING
Tags: Rectangle, font, parallel, circle, diagram.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.