Show HN: Invertornot.com – API to enhance your images in dark-mode Hi HN, I built ( https://invertornot.com ) it's an API that can predict whether an image will look good/bad while inverted. This is particularly useful for images in dark-mode as you can now safely invert them. The conservative solution to adapt images for dark-mode consist in dimming the image, however there is a lot of images that can be inverted (graph for example). Using deep learning we can avoid heuristics and obtain a much more reliable solution. The API uses an EfficientNet pre-trained model fine-tuned on a custom dataset (1.1k samples). EfficientNet was chosen as it was pre-trained and offered the best performance for its size. The trained model is very small (16MB) which means you can easily run your own instance. This problem is very simple for deep learning as it's a simple binary classification. For this project training the model wasn't the challenge as most of the time was spent on the construction of the dataset. For the API I'm using FastAPI, Redis and ONNX Runtime to run the model. The API can be used by posting the images to the API, using URL and using SHA-1 for already processed images. The API is free and open-sourced ( https://ift.tt/2XNROjK ). https://invertornot.com March 26, 2024 at 03:19AM
Show HN: Invertornot.com – API to enhance your images in dark-mode https://ift.tt/aVDEC1m
Related Articles
Show HN: WebMIDI Enabled Editors and Tools https://ift.tt/37WEo1oShow HN: WebMIDI Enabled Editors and Tools https://studiocode.dev/ Mar… Read More
Show HN: The easiest way to deploy TensorFlow – Inferrd v2.0 https://ift.tt/3ceilVoShow HN: The easiest way to deploy TensorFlow – Inferrd v2.0 https://i… Read More
Show HN: Bookmark Knocking – Hidden Bookmarks Without a Browser Extension https://ift.tt/30HnsIcShow HN: Bookmark Knocking – Hidden Bookmarks Without a Browser Extens… Read More
Show HN: Planck 6502, an open hardware extensible retro computer https://ift.tt/3bM9RobShow HN: Planck 6502, an open hardware extensible retro computer https… Read More
Show HN: Counter – Simple and Free Web Analytics https://ift.tt/3ejyJX8Show HN: Counter – Simple and Free Web Analytics https://counter.dev/ … Read More
Show HN: Building a Binary Counter https://ift.tt/3um45llShow HN: Building a Binary Counter https://ift.tt/3dB6FhI February 22,… Read More
Show HN: Let's encourage ad blocking (2016) https://ift.tt/3bwv9HxShow HN: Let's encourage ad blocking (2016) https://ift.tt/1Y8ZjkG Mar… Read More
Show HN: Catalist – save movie, TV show, book, and podcast recommendations https://ift.tt/3v9h2iSShow HN: Catalist – save movie, TV show, book, and podcast recommendat… Read More
0 Comments: