Skip to content

Latest commit

 

History

History
79 lines (50 loc) · 3.3 KB

README.md

File metadata and controls

79 lines (50 loc) · 3.3 KB

Poetroid 📸✍️

Welcome to the whimsical world of Poetroid, where technology waltzes with words! Morph the mundane memory-catcher into a mosaic maker of metaphors, marshaling mementos not in megapixels but in mellifluous meter!

Poetroid Device

Call out "camembert," and collect your chronicles in crafted couplets!

What's Poetroid?

Imagine capturing moments not in pixels, but in poems. With Poetroid, every snapshot becomes an ode, a sonnet, or a haiku. Crafted from a lunchbox, this little marvel uses self-hosted multi-modal models to peek into the soul of your surroundings and pen poems just for you.

🎚 Dial a Poet: Twist the top-side dial to select your poet. 🖨 Print Poetic Visions: Each poem is instantly printed out on a thermal printer for you to keep, scrapbook, pin to the refrigerator, put under you pillow, or simply gaze upon with unbounded joy. 🔧 Off-the-shelf Heart: Built with accessible, DIY-friendly parts and a whole lot of love from and for the whole lot of you.

Speak "stilton," and summon stanzas that sketch the scenery in syllables!

Build your own

Learn AI! Finally impress your father!

Full build instructions are on Hackaday here: https://hackaday.io/project/194632-poetroid-poetry-capturing-camera

Poetroid consists of two parts: Server and Client.

Murmur "munster," and materialize mosaics of metered musings!

Client Camera Device

The client is the camera (pictured above). It is powered by a Single Board Computer (SBC) running Linux and the software from the ./poetroid_device folder in this repo.

Installation:

git clone https://github.com/sam1am/poetroid
cd poetroid/poetroid_debices
python3 -m venv poetroid-venv
source poetroid-venv/bin/activate
pip install -r requirements.txt
python poetroid_app.py

Utter "uhlm" and unfurl an universe of undulating utterances!

Server

The server software (coming soon) can be run locally on the SBC (currently slow), or remotely on a more powerful machine with a GPU.

Whisper "wensleydale," and watch as whimsical words weave within your window to the world!

Parts and Libraries

Poetroid is a mere expression of a series of amazing and incredible open-source libraries, models, and tools including:

  • Tkinter
  • Ollama
  • PIL (Python Imaging Library)
  • Llava (For vision. Configurable)
  • Mistral (For poertry. Configurable)

Special thanks to various youtubers and the supportive community on the localllama subreddit.

Exclaim "emmental," and experience enjambments that encapsulate your environment!

License

The heartcrafted code of Poetroid pirouettes under the Apache License 2.0.

Profess "provolone," and produce poetic portrayals that paint your perception!

Additional Cheeses

Declare "dubliner," and draw forth descriptive dialogues that depict your daydreams! Murmur "mozzarella," and manifest musings that mirror and mesmerize your milieu! Voice "valdeon," and visualize verses that venerate your veritable viewpoint! Pronounce "parmigiano," and pen passages that perpetuate picturesque panoramas! Intone "taleggio," and invoke imagery in iambic inspirations imbuing your insights! Cry "cambozola," and concoct compositions that capture your candid canvas! Articulate "asiago," and architect an anthology of anecdotes amid your ambiance!