mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
update README
This commit is contained in:
parent
b7892c80e3
commit
76a076d8a3
1 changed files with 3 additions and 10 deletions
13
README.md
13
README.md
|
@ -3,7 +3,7 @@
|
||||||
An OpenCV wrapper for Ruby.
|
An OpenCV wrapper for Ruby.
|
||||||
|
|
||||||
* Web site: <https://github.com/ruby-opencv/ruby-opencv>
|
* Web site: <https://github.com/ruby-opencv/ruby-opencv>
|
||||||
* Ruby 1.9.3, 2.x and OpenCV 2.4.12 are supported.
|
* Ruby 2.x and OpenCV 2.4.13 are supported.
|
||||||
|
|
||||||
## Requirement
|
## Requirement
|
||||||
|
|
||||||
|
@ -23,16 +23,9 @@ $ gem install ruby-opencv -- --with-opencv-dir=/path/to/opencvdir
|
||||||
Note: **/path/to/opencvdir** is the directory where you installed OpenCV.
|
Note: **/path/to/opencvdir** is the directory where you installed OpenCV.
|
||||||
|
|
||||||
|
|
||||||
### Windows
|
### Windows (RubyInstaller)
|
||||||
You can use pre-build binary for Windows (mswin32).
|
|
||||||
|
|
||||||
1. Install [OpenCV](http://sourceforge.net/projects/opencvlibrary/files/opencv-win/)
|
See [install-ruby-opencv-with-rubyinstaller-on-windows.md](install-ruby-opencv-with-rubyinstaller-on-windows.md).
|
||||||
2. Set path to OpenCV libraries. When you installed OpenCV to **C:\opencv**, add **C:\opencv\build\x86\vc10\bin** to the systems path.
|
|
||||||
3. Install ruby-opencv
|
|
||||||
|
|
||||||
```
|
|
||||||
$ gem install ruby-opencv
|
|
||||||
```
|
|
||||||
|
|
||||||
## Sample code
|
## Sample code
|
||||||
### Load and Display an Image
|
### Load and Display an Image
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue