Code Monkey home page Code Monkey logo

rvision_examples's Introduction

Examples of using the Rvision package

This is a living repo and the examples are subject to change and sometimes not working

This repo is my stash of code examples using the R package Rvision. Rvision is a really great package out of the Swarm Lab at the New Jersey Institute of Technology. This package ports aspects of the massive OpenCV Library for machine vision into R; a new and needed addition! I started experimenting with this package soon after its release and found it very fun to work with. This repo contains my code and examples of working with the Rvision package in conjunction with Tensorflow and Keras machine learning libraries.

The basis for much of this code is a series of tweets and discussion with the Swarm Lab PI and primary package author Simon Garnier. I am not affiliated with the Swarm Lab or the Rvision package. Also note, the examples here have a number of dependencies that require some attention. Rvision itself requires the Rtools tool-chain and CMake. The Tensorflow and keras installs range from pain-free to a total pain in the butt. See the package links above for installation details.

There is still a ton of work to be done here and these examples are simplistic, but enjoyable to put together.

Code in this repo

  • Video_balloon_blob.R - single object tracking example
  • MNIST_CNN_video_predict.r - use CNN trained on MNIST to classify numbers in video
  • LIVE_webcam_CNN_single_blob_prediction.r - NOT FINISHED - object tracking and CNN prediction with ResNet50
  • LIVE_webcam_CNN_prediction.r - ResNet50 CNN classification of video frames
  • LIVE_webcam_blob_detection.r - object tracking from webcam
  • KERAS_train_MNIST_CNN.r - script to train MNIST CNN with Keras (from Keras examples)
  • LIVE_webcam_MNIST_CNN_predict.r - webcam stream with MNIST trained model - experimental...

rvision_examples's People

Contributors

mrecos avatar benmarwick avatar

Stargazers

Oleh avatar Simon Garnier avatar Simon Roth avatar Frank Pennekamp avatar S'busiso Mkhondwane avatar Roel Hogervorst avatar Christophe Dervieux avatar Leo Lee avatar amrrs avatar Jonathan Carroll avatar Maëlle Salmon avatar  avatar

Watchers

 avatar S'busiso Mkhondwane avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.