dlib 1.1.1 → 1.1.2
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 +34 -1
- data/ext/dlib/depend +1 -1
- data/lib/dlib/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4c1cb14cd255fd0b032ddf4ceb90cc370ccb19ec
|
|
4
|
+
data.tar.gz: 6c4872b100301870ded96c899e08f9cd34420191
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c89879b98f51a5a72206666c690a65ea8cd1ec2173cffdac6d1d655bb6045f9e4963c8b0507b877dc297d0f4420b9f086e1709654f6495344f87b2bcd0c2d3cb
|
|
7
|
+
data.tar.gz: 1171a0005d4c71077580e88bcc18c844cee48c370810e41df56b45087cf855ef0f48d3037f79424e9451782e7805dfdc875cdf599f7fbeb3b111629de466d99e
|
data/README.md
CHANGED
|
@@ -4,6 +4,21 @@ Ruby binding of [dlib C++ library](http://dlib.net/).
|
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
|
+
`dlib` depends libjpeg and libpng. So, you should install libraries at first.
|
|
8
|
+
|
|
9
|
+
**Mac**
|
|
10
|
+
```
|
|
11
|
+
$ brew install jpeg libpng
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
**Ubuntu 16.04**
|
|
15
|
+
```
|
|
16
|
+
$ apt-get install libjpeg8-dev libpng12-dev
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
**If you want to use DNN based face detector, you would have to install CUDA SDKs.**
|
|
20
|
+
**Please read this page.** http://docs.nvidia.com/cuda/#axzz4anGdXQuB
|
|
21
|
+
|
|
7
22
|
Add this line to your application's Gemfile:
|
|
8
23
|
|
|
9
24
|
```ruby
|
|
@@ -21,10 +36,28 @@ Or install it yourself as:
|
|
|
21
36
|
## Usage
|
|
22
37
|
|
|
23
38
|
See examples directory.
|
|
39
|
+
[https://github.com/ruby-dlib/ruby-dlib/tree/master/examples](https://github.com/ruby-dlib/ruby-dlib/tree/master/examples)
|
|
40
|
+
|
|
41
|
+
## Face Detector Comparison
|
|
42
|
+
|
|
43
|
+
| | CPU | GPU | recall rate | precision rate |
|
|
44
|
+
|-------------------|-----|-----|-------------|----------------|
|
|
45
|
+
| opencv haar based | 😄 | - | 😄 | 🤔 |
|
|
46
|
+
| dlib hog based *1 | 😄 | - | 😄 | 😻 |
|
|
47
|
+
| dlib dnn based *2 | 🤔 | 😄 | 😂 | 😻 |
|
|
48
|
+
|
|
49
|
+
1. http://blog.dlib.net/2014/02/dlib-186-released-make-your-own-object.html
|
|
50
|
+
2. http://blog.dlib.net/2016/10/easily-create-high-quality-object.html
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
demonstrated movie by original author of dlib on youtube
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
[](http://www.youtube.com/watch?v=LsK0hzcEyHI "Click to play on Youtube.com")
|
|
24
57
|
|
|
25
58
|
## Contributing
|
|
26
59
|
|
|
27
|
-
1. Fork it ( https://github.com/
|
|
60
|
+
1. Fork it ( https://github.com/ruby-dlib/ruby-dlib/fork )
|
|
28
61
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
|
29
62
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
|
30
63
|
4. Push to the branch (`git push origin my-new-feature`)
|
data/ext/dlib/depend
CHANGED
data/lib/dlib/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dlib
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kenta Murata
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2017-03-
|
|
12
|
+
date: 2017-03-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|
|
@@ -3556,7 +3556,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
3556
3556
|
version: '0'
|
|
3557
3557
|
requirements: []
|
|
3558
3558
|
rubyforge_project:
|
|
3559
|
-
rubygems_version: 2.
|
|
3559
|
+
rubygems_version: 2.4.5.1
|
|
3560
3560
|
signing_key:
|
|
3561
3561
|
specification_version: 4
|
|
3562
3562
|
summary: Ruby bindings of dlib C++ library.
|