cv
Rust CV mono-repo. Contains pure-Rust dependencies which attempt to encapsulate the capability of OpenCV, OpenMVG, and vSLAM frameworks in a cohesive set of APIs. (by rust-cv)
resvg
An SVG rendering library. (by RazrFalcon)
Our great sponsors
cv | resvg | |
---|---|---|
4 | 18 | |
751 | 2,510 | |
5.1% | - | |
6.9 | 9.0 | |
9 months ago | 7 days ago | |
Rust | Rust | |
MIT License | Mozilla Public License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
cv
Posts with mentions or reviews of cv.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-02.
-
Good example of high performance Rust project without unsafe code?
Rust can absolutely be used without unsafe to create some of the fastest code out there, but you need to try and use data-oriented design where possible to make things flow smoothly and avoid runtime checks. The hardest thing to use data-oriented design for, in my opinion, is graphs. I find that actor systems can be used instead of graphs, but it is difficult. Generally I end up using slotmap to make multiple arenas and then putting them into one large object with lots of methods to operate on the graph structure. If you want an example of that, this is probably the most complicated code I have made this way: https://github.com/rust-cv/cv/blob/511024feaa077a9af377cca7b654ad3d57d3bd6a/cv-sfm/src/lib.rs. It may not be entirely helpful to understand the whole codebase, but if you are curious to see how I do graphs in Rust with slotmap, this can be a good reference.
-
Rust OpenCV - Simple Guide
This is a nice guide, but ultimately openCV should be rewritten in rust. It would avoid all of these headaches. Please checkout and support https://github.com/rust-cv/cv
-
Slideo: Synchronize Slides With Video, Backed By OpenCV
It is, more or less, my first larger rust project. It uses the opencv crate, but I only recommend to have a look at rust-cv instead! It uses SQLite/sqlx for storing the matchings, actix-web for serving the webview and a lot of rayon for parallel processing.
-
CleanIt: An Open-Source Robot Autonomy Software in Rust-lang for the Roomba series robot vacuum cleaners
You may want to take a look at our project Rust CV https://github.com/rust-cv/cv.
resvg
Posts with mentions or reviews of resvg.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-13.
-
Options for SVG / Text rendering on 2D pixel buffer
I've seen resvg as a potential pick, but it feels huge and seems to be importing skia, which itself is a whole rendering engine. Furthermore, I have no idea if I can pass my own 2D buffer to resvg and let it draw to it.
-
png crate gets an ultrafast compression mode, up to 4x faster decompression
For example, when converting vector SVG images to raster PNG images with resvg, most of the time is spent compressing the PNG image. This is a lot of wasted work if we just want to read the image instead of transferring it over the network! The fast compression mode eliminates all this wasted work, resulting in huge performance and efficiency gains.
-
Is coding in Rust as bad as in C++? A practical comparison
Just as a point of reference, I have a ~75KLOC project (includes dependencies) called resvg which takes just 4s in the debug mode and 8s in the release mode to build on M1 Pro.
- Forma: An efficient vector-graphics renderer
- Inkscape 1.2.2 Released
-
Good example of high performance Rust project without unsafe code?
resvg is very fast, although the performance depends on the exact SVG you feed it - sometimes faster than librsvg, sometimes slower (although librsvg is also written in Rust now, it does use unsafe while resvg doesn't)
- Resvg- a fast, small, portable SVG rendering library in rust
- resvg: pure-Rust SVG rendering library designed for edge cases
-
How to run this Rust project?
So I am absolutely clueless about Rust and just installed it an hour ago to use this tool called "usvg" https://github.com/RazrFalcon/resvg/tree/master/usvg
-
I think more Rust devs should focus more on rewriting software that is prone to exploitation
So, all you gotta do is rewrite the parsers. Funny you mention librsvg because there is a library called resvg that has a thumbnailer implementation for Windows Explorer. https://github.com/RazrFalcon/resvg
What are some alternatives?
When comparing cv and resvg you can also consider the following projects:
opencv-rust - Rust bindings for OpenCV 3 & 4
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
rosrust - Pure Rust implementation of a ROS client library
canvas2svg - Translates HTML5 Canvas draw commands to SVG
fast-float-rust - Super-fast float parser in Rust (now part of Rust core)
svgomg - Web GUI for SVGO
FFmpeg - Mirror of https://git.ffmpeg.org/ffmpeg.git
vtracer - Raster to Vector Graphics Converter
json-benchmark - nativejson-benchmark in Rust
lib2geom
ofps - Optical Flow Processing Stack
bevy - A refreshingly simple data-driven game engine built in Rust