Project

sqed

0.0
Low commit activity in last 3 years
There's a lot of open issues
A long-lived project that still receives updates
A utility gem to aid in the processing of images taken in the process of digitizing natural history collections.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 11.0
~> 3.13

Runtime

~> 13.0
~> 6.0
 Project Readme

Continuous Integration Status

Sqed

Sqed is a gem that faciliates metadata extraction from images of staged collection objects.

Installation

Add this line to your application's Gemfile:

gem 'sqed'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sqed

Usage

For the time being, see specs.

Experiment with irb

require 'sqed'


i = Magick::Image.read(File.expand_path('~/Downloads/') + '/img_0129.jpg').first
s = Sqed.new( image: i, pattern: :lep_stage, boundary_color: :red, has_border: false )
r = s.result
r.write_images # => ./temp/*.jpg

# Without thumbnail
s = Sqed.new( image: i, pattern: :lep_stage, boundary_color: :red, has_border: false, use_thumbnail: false )

Contributing

  1. Fork it ( http://github.com/SpeciesFileGroup/sqed/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request