Giter Site home page Giter Site logo

bbrzycki / motivate-me-bot Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 37.41 MB

@MotivateMeBot is a Twitter bot that makes motivational pictures by combining pictures with tweets!

Home Page: https://twitter.com/MotivateMeBot

License: MIT License

Jupyter Notebook 48.33% Python 51.63% Makefile 0.04%
image-manipulation motivation motivational-quotes motivational-wallpapers text-manipulation twitter twitterbot

motivate-me-bot's People

Contributors

bbrzycki avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

motivate-me-bot's Issues

Lining up credits and signature

Ideally the credits and signature text should also line up, as well as the blur region. e.g. the bottom left and the bottom right should be symmetric.

Scaling text with image size

For small images, the quote/image credits and signature text are too small / pixelated, since they are currently scaled with image size.

Either need to enforce a minimum size or set a minimum font size (which is already in pixels -- can experiment with what looks decent). Perhaps some combination of the two is the best way to go.

Quote text cut off occasionally

Need to reproduce this bug reliably -- check through posted tweets and see when it actually occurs. Doesn't seem to necessarily be linked to any bounding box cutoff; seems to be a line by line issue.

Covering signatures

If an image already has a custom signature in a corner of the image, the credits generated by MotivateMeBot might accidentally cover it. Need a way to detect signatures and avoid covering custom image signatures.

Blurring box size

The background box size over which the image is blurred is by design larger than the quote text. The bounding box to determine quote text formatting should not necessarily be the box used for blurring.

Blurring also needs to have a gradient roll-off in blur radius to avoid adding sharp artificial features into the image.

Get rid of unnecessary imports

Throughout the project, make sure we aren't importing anything we don't need to, and make sure imports are specified clearly as well.

Quote formatting -- words per line

Avoid situations where only one or two short words end up on a line -- particularly where the last line is so short that it looks awkward on its own.

Basically, we'd like to detect situations in which this would happen and adjust font / line spacing accordingly to look more natural.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.