A computer vision library for R
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.
R
inst
man
src
vignettes
.Rbuildignore
.gitignore
DESCRIPTION
LICENSE
NAMESPACE
README.md
videoplayR.Rproj

README.md

IMPORTANT NOTICE

I have stopped developing videoplayR. Instead, I have created two libraries to replace it:

  1. ROpenCVLite: this library downloads, compiles, and installs OpenCV within the R library in a standardized location across Mac, Windows, and Linux. It doesn't provide any computer vision functions directly, but allows developers to create packages using OpenCV without having to worry about the platform of the end-user.
  2. Rvision: this library depends on ROpenCVLite and provides computer vision functions somewhat similar to the discontinued videoplayR package.

Besides making sure that OpenCV is installed in a standardized location across platforms, this new organization also allows updating Rvision frequently without having to recompile OpenCV every time, like it was happening with videoplayR (ROpenCVLite needs reinstalling only when a new release of OpenCV becomes available).

I recommend that you try out the two new packages instead (they should both install fine on Windows), and report bugs, feature requests, and comments on their respective repository. I don't have much time at the moment to push their development, but it'll be helpful to know what people have a need for when I get back to it.


videoplayR

videoplayR is an R package that provides a few functions (for now) to manipulate video and image files with R. It requires the installation of OpenCV.

>>> Package vignette: http://rpubs.com/sjmgarnier/videoplayR <<<

Package overview

This package uses the OpenCV C++ library to provide R users with some basic functions to read and manipulate video and image files. As of now, videoplayR can:

  • Load can access video and image files, as well as camera streams.
  • Grab frames from videos and camera streams, and convert them to images.
  • Convert images to R matrices and arrays.
  • Convert R matrices and arrays to images.
  • Display images in the default R graphics device.
  • Perform basic image processing operations such as thresholding, flattening, blending.
  • Perfom simple background reconstruction and blob detection.

General information

videoplayR requires the installation of the OpenCV library to compile and run. For the moment, the package can only be installed on Mac and Linux computers.

Installation instructions for OpenCV and videoplayR, as well as a brief tutorial for the different functions of the package are available on Rpubs at the following address: http://rpubs.com/sjmgarnier/videoplayR.

Issues and suggestions can be reported here: https://github.com/swarm-lab/videoplayR/issues

Pull requests can be submitted here: https://github.com/swarm-lab/videoplayR/pulls

Author(s)

Simon Garnier - @sjmgarnier - garnier@njit.edu

References

This package uses the OpenCV library to read and process video files. More information about OpenCV can be found at: http://opencv.org/