onnxruntime-ruby
RMagick
onnxruntime-ruby | RMagick | |
---|---|---|
2 | 6 | |
94 | 693 | |
- | 0.3% | |
6.8 | 9.3 | |
2 months ago | about 12 hours ago | |
Ruby | C++ | |
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.
onnxruntime-ruby
-
Text generation with GPT-2 in Ruby
The onnxruntime gem already contains binary files for each platform, so you don't need to install the ONNX runtime yourself. Just install the gem and it should work.
-
YOLOv7 object detection in Ruby in 10 minutes
View on GitHub
RMagick
-
How to use ImageMagick in AWS Lambda (ruby 2.7) with WebP support
require 'rmagick' include Magick module LambdaFunction class Handler def self.process(event:, context:) image_url = event['image_url'] my_image = ImageList.new(image_url) # TODO: Use rmagick to make your image transformations # Docs: https://rmagick.github.io { "success": true } end end end
-
YOLOv7 object detection in Ruby in 10 minutes
mini_magick is much slower than YOLO. I hear that rmagick is well maintained these days, so you may want to use that.
-
Building a Dot Matrix Animator
To accomplish this project, I knew I would need some way to process the input images. Resizing the images was the easy bit. The more complex (and more important) task was to find the best way to relate a pixel's color in the source image to a dot's size in final animation. I felt that the relative luminance as described in this W3 accessibility document was a logical property to use in this case, and can be easily calculated with a color's RGB components. After determining what tasks I needed to fulfill, I determined that the RMagick library would be a good choice for this project.
- API to create an image (with text/details) and display it
- Is there a gem/way to edit an image with custom text
What are some alternatives?
ONNX-YOLOv7-Object-Detection - Python scripts performing object detection using the YOLOv7 model in ONNX.
MiniMagick - mini replacement for RMagick
models - A collection of pre-trained, state-of-the-art models in the ONNX format
ruby-vips - Ruby extension for the libvips image processing library.
netron - Visualizer for neural network, deep learning and machine learning models
IMGKit - Uses wkhtmltoimage to create JPGs and PNGs from HTML
numo-narray - Ruby/Numo::NArray - New NArray class library
PSD.rb - Parse Photoshop files in Ruby with ease
LibUI - A portable GUI library for Ruby
Phashion - Ruby wrapper around pHash, the perceptual hash library for detecting duplicate multimedia files
blingfire-ruby - High speed text tokenization for Ruby
Skeptick - Better ImageMagick for Ruby