OpenCV for Red
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
DLLs
_images
cascades
libs
manual
samples
samples_gui
README.md

README.md

Red Binding for OpenCV 3.0

see http://www.red-lang.org and http://opencv.org

This binding has been tested with macOS 10.12 and Windows 10.

This binding allows access about 600 basic OpenCV functions.

This binding can be used with OpenCV 1.0 and higher version of opencv library.

This binding is adapted for OpenCV 3.0.

###You must use 32-bit version of dynamically linked libraries (see /DDLs directory).

NEW JULY 19 2017

Red binding for OpenCV is red 0.6.3 compatible! You just need to compile the samples.

Important: from now, Red/OpenCV will be updated for only stable Red version.

NEW JUNE 23 2017

Update in libs to be compatible with Red last master version.

NEW MARCH 19 2017

Updated version with some slight modifications in libs Samples_ are running under OSX and Windows 10

NEW JANUARY 12 2017

Documentation updated New samples for reading movies

NEW JANUARY 3 2017

Documentation updated DLLs added for Windows users

NEW DECEMBER 31 2016

Red-GUI samples udpdated

NEW DECEMBER 24 2016

New Red-GUI samples added (for Windows users only, soon for Mac OS users...)

NEW DECEMBER 20 2016

Including face processing sample (see Sample directory)

Including a very basic manual to use Red and OpenCV

NEW: DECEMBER 8 2016

All code is now compatible with Red 061 and master branch.

Access to OpenCV libraries is easier with just one include file (see /libs/include.reds).

Supports camera full access under Windows.

NEW: MAY 9 2016

New sample for using basic image operators with Red Gui

NEW: MAY 2016

New samples to test with Red GUI are added and are fully functional

New Red Routines (/libs/Red/cvroutines.red) are included for a better image loading when moving from OpenCV to Red image (see getBinaryValue for details).

These routines use Red/S copy-memory function for a quicker image rendering.

New samples to come :)

NEW : APRIL 2016

All code is compatible with Red 0.60!

Access to dynamic libs is more convenient. Just edit /libs/plateforms.red and adapt according to your configuration.

New samples for Red Gui are included. Only for windows users (see /red-gui directory) but code can be compiled under OSX or Linux.

NEW : FEBRUARY 2016

New samples added: Hough transform in red and Red/System.

CvArr! opaque structure is now defined as int-ptr! for a better access to structures values.

See getImageValues.reds for detail.

All samples are updated to be compatible with this new version.

You'll also find pre-compiled libs (in /openCV3) for OSX, Linux and Windows for OpenCV3.0 and OpenCV3.1

Enjoy:)

NEW : January 2016

Camera problems with windows are solved! You'll find in /libs/capture/src/ a C++ code for a library allowing access to camera with C++ functions. Code must be compiled by yourself. Exported functions are declared in /libs/videoio/videoio.reds.

Libs and samples are now compatible with Opencv 3.0.1. For versions < 3.0.0 you have to adapt the code according to OpenCV directories and C implementation.

images and movies used in samples are included in _images directory.

file /libs/plateforms.reds is easier to use according to your configuartion for libaraies access.

New samples are incuded. Enjoy!

NEW : December 2015

Libs and samples are now compatible with red master branch! Better support for float! and block! types.

Linux support also added!

Warning

The code is still under development and unstable. This software is provided 'as-is', without any express or implied warranty.

Directories

opencv3.0

This directory includes 32-bit compiled dynamic libraries for OSX and Windows. Linux version ASAP.

libs

This directory includes different red/system files that are required to access opencv libs. You'll also find orginal C_Functions.

samples

Several scripts which demonstrate how to use OpenCV with Red. Please adapt paths according to your needs. More samples to come :)

These scripts allow to play with camera and images. All scrpits are now compiled with Red Master Branch 0.5.4 compiler and are fully functional under OSX and Windows. Tests required for Linux. Windows 10 users: there is a unresolved problem with webcams.Cams are recognized and activated but we can't get images. To be tested!

Red and Red/System code

All scripts are Red scripts and intensively use routines to access Red/System code.

required includes

libs/red/types_r.reds ; some specific structures for Red/S

libs/core/types_c.reds ; basic OpenCV types and structures

libs/core/core.reds ; OpenCV core functions

optional includes

libs/calib3d/calib3D.reds ; for using different cameras

libs/highgui/highgui.reds ; highgui functions

libs/imgproc/types_c.reds ; image processing types and structures

libs/imgcodecs/imgcodecs.reds ; basic image functions

libs/imgproc/imgproc.reds ; image processing functions

libs/objdetect/objdetect.reds ; object detection with classifiers

libs/photo/photo.reds ; photo impainting

libs/video/video.reds ; Motion Analysis and Motion Tracking

libs/videoio/videoio.reds ; Video and Movies functions

##enjoy:)