ssimsort 0.2.6 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +25 -2
- data/lib/ssimsort.rb +1 -1
- data/ssimsort.gemfile +2 -0
- data/ssimsort.gemspec +2 -2
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcad7ba5c086d1626d2fa720937e8ddf033c5d49
|
4
|
+
data.tar.gz: 365cfc383c4fff532628177c35e608f678d60248
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d40dbea8a95a412619032af4337f5516b1ca4565a08f305ec5786c55fd498949642c1ac7f6da43ba5d54830658e6dd80bb97cedfef3191b533eb7eda86f6d0a
|
7
|
+
data.tar.gz: 1116332b5b005ec853621750e135ff8342282fef1a2d69b509bceb3568ce9d89dcf328823be9fd6763b961d547f15a2266a87e0496bbfd4142d2427f27ff097d
|
data/README.md
CHANGED
@@ -12,7 +12,30 @@ gem install ssimsort
|
|
12
12
|
*Use ssim as an executable* :
|
13
13
|
|
14
14
|
~~~
|
15
|
-
|
15
|
+
#(Sort) Compares all images from the input folder and creates new folders
|
16
|
+
#containing every images within the tolerance range
|
17
|
+
|
18
|
+
$ ssimsort -s <INPUT>, <OUTPUT>, <TOLERANCE>
|
19
|
+
|
20
|
+
#(Sort-Compare) Compares all images from the input folder with the base_image
|
21
|
+
#and sort them by their similarity ratio (ssim)
|
22
|
+
|
23
|
+
$ ssimsort -sc <BASE_IMAGE>, <INPUT>, <OUTPUT>
|
24
|
+
|
25
|
+
#(Compare) Compares two images and displays their similarity ratio (ssim)
|
26
|
+
|
27
|
+
$ ssimsort -c <FILE_1>,<FILE_2>
|
28
|
+
|
29
|
+
#(Directory comparison) Compares all the images from a folder
|
30
|
+
|
31
|
+
$ ssimsort -dc <INPUT_DIR>
|
32
|
+
|
33
|
+
#(Mean) Calculates the average similarity ratio (A low mean means that the
|
34
|
+
#folder content is very heterogeneous)
|
35
|
+
|
36
|
+
$ ssimsort -m <INPUT_DIR>
|
37
|
+
|
16
38
|
|
17
|
-
#Tolerance is a number between 0.0 and 1.0 that defines how similar the images you want to sort will be, 1.0 being the exact same image.
|
18
39
|
~~~
|
40
|
+
|
41
|
+
*(Tolerance is a number between 0.0 and 1.0 that defines how similar the images you want to sort will be, 1.0 being the exact same image.)*
|
data/lib/ssimsort.rb
CHANGED
data/ssimsort.gemfile
ADDED
data/ssimsort.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ssimsort
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Galaad Gauthier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rmagick
|
@@ -47,6 +47,7 @@ extra_rdoc_files: []
|
|
47
47
|
files:
|
48
48
|
- lib/ssimsort.rb
|
49
49
|
- lib/array.rb
|
50
|
+
- ssimsort.gemfile
|
50
51
|
- bin/ssimsort
|
51
52
|
- ssimsort.gemspec
|
52
53
|
- README.md
|
@@ -70,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
71
|
version: '0'
|
71
72
|
requirements: []
|
72
73
|
rubyforge_project:
|
73
|
-
rubygems_version: 2.0.
|
74
|
+
rubygems_version: 2.0.14
|
74
75
|
signing_key:
|
75
76
|
specification_version: 4
|
76
77
|
summary: SsimSort
|