Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 23 Rust Image processing Projects
-
Graphite
2D raster & vector editor that melds traditional layers & tools with a modern node-based, non-destructive, procedural workflow.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
noaa-apt
NOAA APT weather satellite image decoder, for Linux, Windows, RPi 2+, OSX and Android+Termux
-
lust
A fast, auto-optimizing image server designed for high throughput and caching; Now that is hot.
-
tai
tai (Terminal Ascii Images) tool to convert images to text written in Rust (by MustafaSalih1993)
-
Mosaic
Takes a folder of images (as a palette), and an image, and figures out how to tile the palette to resemble the image! (by ahhhh6980)
-
quadim
High-performance Quadtree image compression/stylization, 100+FPS on modern computers and avoiding ugly non-squares 💢
-
stegano-rs
A cross-platform command line tool for steganography focused on performance and simplicity written in rust-lang.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: 3D and 2D: Testing out my cross-platform graphics engine | news.ycombinator.com | 2024-04-02
With the help of the image crate, loading an image from disk is fairly straightforward.
Project mention: OxiPNG: Multithreaded PNG optimizer written in Rust | news.ycombinator.com | 2024-01-08
Project mention: Show HN: OS Image processing API running on edge functions using Rust and WASM | news.ycombinator.com | 2024-04-04Image processing/transformations with built-in CDNs is one of the more common solutions you would find out there but can get pretty expensive and locked in over time.
Vercel is a good example that provides a built-in “next/image” solution for the NextJS framework that optimises images for better performance, however, it gets very expensive as you scale.
Alternatively, running your own service with one of the most common image processing libraries like SharpJS is great but can get pretty difficult to run in a serverless environment with CDNs and all the other bells and whistles alongside all your other code while the cold startup time of Sharp in a serverless environment can be pretty brutal.
With all the growth around rebuilding engines in Rust for performance gains, I thought there must be an image processing library written in Rust which could be compiled to WebAssembly (WASM) and run way faster. That’s when I discovered Photon https://github.com/silvia-odwyer/photon by Silvia, who has done amazing work with the library.
This eventually led me to discover https://github.com/fineshopdesign/cf-wasm/tree/main/packages... that has already transcribed the Photon package into a WASM binary for easy use in edge v8 environments like Cloudflare workers or NextJS Edge functions.
Using these packages I built an API layer on the NextJS framework allowing you to easily process local and remote images at blazing fast speeds with a bunch of helper functions making it similar to use as most paid Image processing APIs. If hosted on Vercel, you can make use of the built-in CDN cache for files less than 10 MB at no extra charge with Edge caching.
Some of the features:
- Blazing fast image processing
- Fully serverless, runs on Vercel Edge functions
- Resize, crop, compress, tint, rotate, format and more
- Global distribution with Edge functions
- Automated CDN cache with Edge functions
- Replacement for `next/image` processing on Vercel
- Local and remote image processing
Some problems:
- The Photon lib has last been updated in 2020
- There are still a few obvious bugs when using it for more advanced requirements like 8k image processing on edge function due to poor memory management in Rust
- No sexy features right now like AI image optimisation and selective background blurring
- If you are looking for an all-in-one solution with Image Storage + image processing/CDN, this is not it (something we will be releasing soon on JigsawStack.com)
I think the Photon library and the API have a lot more potential for growth and will be hoping for more contributions from the community as Rust gets more popular!
https://github.com/twistedfall/opencv-rust makes it evident that they do try to support using a prebuild system-opencv. Maybe it is not correctly recognized?
pipeless init my-project --template empty # Using the empty template we avoid the interactive shell cd my-project wget -O - https://github.com/pipeless-ai/pipeless/archive/main.tar.gz | tar -xz --strip=2 "pipeless-main/examples/yolo"
Project mention: Receiving Weather Satellite Images Using SatDump | news.ycombinator.com | 2024-02-09GOES sats are geostationary but the NOAA APT satellites are encircling the planet and you can pick them up. Old tutorial but still relevant, just use "noaa-apt" tool[0] instead of WXtoImg. https://www.rtl-sdr.com/rtl-sdr-tutorial-receiving-noaa-weat...
[0] https://github.com/martinber/noaa-apt
There was ffmpeg-sidecar which was announced on here recently
Project mention: Fast image quadtree stylization impl using Rust (>100FPS with multithreading) | news.ycombinator.com | 2023-05-12
Rust Image processing related posts
- Show HN: OS Image processing API running on edge functions using Rust and WASM
- Daft: Distributed DataFrame for Python
- Transitioning From PyTorch to Burn
- OxiPNG: Multithreaded PNG optimizer written in Rust
- Is it necessary to rebuild everything ?
- Serverless development experience for embedded computer vision
- Web imageproc application with WASM (letpos, comparison with actix and rocket)
-
A note from our sponsor - InfluxDB
www.influxdata.com | 23 Apr 2024
Index
What are some of the best open-source Image processing projects in Rust? This list will help you:
Project | Stars | |
---|---|---|
1 | Graphite | 6,356 |
2 | image | 4,490 |
3 | oxipng | 2,618 |
4 | photon | 2,472 |
5 | opencv-rust | 1,781 |
6 | imageproc (PistonDevelopers) | 686 |
7 | pipeless | 644 |
8 | menyoki | 564 |
9 | noaa-apt | 553 |
10 | lust | 342 |
11 | tai | 298 |
12 | img-hash | 293 |
13 | Mosaic | 265 |
14 | rimage | 201 |
15 | ffmpeg-sidecar | 183 |
16 | dali | 167 |
17 | tarsila | 134 |
18 | quadim | 127 |
19 | kmeans-colors | 112 |
20 | imageproc | 104 |
21 | Raster | 93 |
22 | stegano-rs | 87 |
23 | steganography | 86 |
Sponsored