imgbeddings
screenshot-to-code
Our great sponsors
imgbeddings | screenshot-to-code | |
---|---|---|
8 | 17 | |
122 | 49,291 | |
- | - | |
0.0 | 9.7 | |
about 2 years ago | 10 days ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
imgbeddings
- FLaNK Stack Weekly for 20 Nov 2023
-
Content-Based Image Retrieval
Seconding the recommendation of CLIP embeddings, especially compared to image histograms + requiring OpenCV.
I wrote a naive, minimal dependency Python package to calculate image embeddings (https://github.com/minimaxir/imgbeddings) with some lookup demo notebooks and it works well in a pinch, although it's due for an upgrade.
-
How to build a working AI only using synthetic data in just 5 minutes
Normally, this is Hacker News reductiveness, but yes, image classification via CLIP is that easy, especially with Hugging Face's API for it: https://huggingface.co/docs/transformers/model_doc/clip
I created a Python package to generate image embeddings from CLIP's vision model (without requiring a ML framework), and a simple linear classifier on those embeddings does the trick: https://github.com/minimaxir/imgbeddings
- GitHub - minimaxir/imgbeddings: Python package to generate image embeddings with CLIP without PyTorch/TensorFlow
- Show HN: Python package to create image embeddings without PyTorch/TensorFlow
- I've released a Python package which lets you generate vector representations of images clustering/similarity search/classifier building with a twist: neither PyTorch nor TensorFlow is used!
- [P] I've released a Python package which lets you generate vector representations of images with a twist: neither PyTorch nor TensorFlow is used!
- Show HN: Python package to create image embeddings with o PyTorch/TensorFlow
screenshot-to-code
- Screenshot to Code
-
Show HN: Turn a recording of an app into a functional prototype with Claude Opus
Thanks!
There's a dropdown where you can choose a stack for screenshots (Tailwind, React, Vue, etc.). I haven't updated the prompts for the video feature just yet. You can tweak the prompt yourself here: https://github.com/abi/screenshot-to-code/blob/6069c2a118592...
The quality of the output code is solid, I think. You can see the code for the examples: https://codepen.io/abi/pen/ExJPdop and https://codepen.io/abi/pen/jORWeYB
I think the biggest thing LLM code is typically missing is better abstractions/componentization. You could probably prompt around some of that.
- Evaluating Claude 3 for Converting Screenshots to Code
-
You Don't Need React
You can use GPT-V to create functional components from images directly:
There was an open source project (https://github.com/abi/screenshot-to-code) that I borrowed the prompt from and made a custom GPT for myself where I just drag and drop the image. It’s not perfect but it’s pretty great overall!
Here are the prompts:
-
Convert a screenshot to a working Flutter app
PS: I got the idea from tldraw/make-real and abi/screenshot-to-code projects. So all credit to them 🙌
-
Get Ready to Rock Web Development: Screenshot to Code with GPT-4V!
Screenshot to Code GitHub Repo: https://github.com/abi/screenshot-to-code
- Has anyone came up with a way to create images from your own photos?
- FLaNK Stack Weekly for 20 Nov 2023
- GitHub - abi/screenshot-to-code: Drop in a screenshot and convert it to clean HTML/Tailwind/JS code
What are some alternatives?
ai-music - A vanilla Trasformer Decoder music generation model trained on Final Fantasy OST MIDI songs
Scada-LTS - Scada-LTS is an Open Source, web-based, multi-platform solution for building your own SCADA (Supervisory Control and Data Acquisition) system.
TwoPhotosOnA6x4 - Stitches 2 photos for printing on a 6"x4" photo.
awesome-public-real-time-datasets - A list of publicly available datasets with real-time data maintained by the team at bytewax.io
FLaNK-EveryTransitSystem - Every transit system
CoC2023 - Community over Code, Apache NiFi, Apache Kafka, Apache Flink, Python, GTFS, Transit, Open Source, Open Data
haystack - :mag: LLM orchestration framework to build customizable, production-ready LLM applications. Connect components (models, vector DBs, file converters) to pipelines or agents that can interact with your data. With advanced retrieval methods, it's best suited for building RAG, question answering, semantic search or conversational agent chatbots.
make-real - Draw a ui and make it real
dalle2-in-python - Use DALL·E 2 in Python
TinyLlama - The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.
StyleTTS2 - StyleTTS 2: Towards Human-Level Text-to-Speech through Style Diffusion and Adversarial Training with Large Speech Language Models