Rvision
is a - small but growing -
computer vision library for R
. It is based on
the powerful OpenCV
library for C/C++, the state-of-the-art
for computer vision in the open source world.
The ultimate goal of Rvision
is to
provide R
users with all the necessary functions
to read and manipulate images, videos and camera streams, with an emphasis on
speed (thanks to OpenCV
). In this respect, it is different
from all the other image manipulations packages for R
that either can not quickly and directly access frames from videos or camera
streams or are limited in their processing speed and/or volume.
- 1 - Installation instructions
- 2 - Input/output operations
- 3 - Basic operations [TODO]
- 4 - Advanced operations on videos [TODO]
- 5 - Advanced operations on streams [TODO]
- 6 - Advanced operations on images [TODO]
- 6.1 - Drawing operations [TODO]
- 6.2 - Arithmetic operations [TODO]
- 6.3 - Morphological operations [TODO]
- 6.4 - Filtering operations [TODO]
Can I take selfies with my webcam using Rvision
?
You certainly can, but ask yourself first whether you should...
my_stream <- stream(0) # 0 will start your default webcam in general.
my_selfie <- readNext(my_stream)
plot(my_selfie)
release(my_stream)
Be careful, this will trigger the explosion of your camera if it detects that you are making a duck face ;-)