Caffe Model Zoo -- Full docs here
To download a model use -
To download a model use -
roscore
# Export this to set the variables to capture form webcam
export GSCAM_CONFIG="v4l2src device=/dev/video0 ! video/x-raw-rgb,framerate=30/1 ! ffmpegcolorspace"
# run gscam to get input from webcam and publish to /camera/image_raw topic
rosrun gscam gscam
# Open a new node to display the webcam output
rosrun image_view image_view image:=/camera/image_raw
#!/usr/bin/env python | |
# Import the modules | |
import cv2 | |
import sys | |
import numpy as np | |
# Set the global parameters | |
''' |
sudo apt-get update | |
sudo apt-get upgrade | |
# Added by me | |
sudo apt-get install freeglut3 freeglut3-dev libtbb-dev libqt4-dev | |
# Copied from pyimagesearch.com | |
sudo apt-get install build-essential cmake git pkg-config | |
sudo apt-get install libjpeg8-dev libtiff4-dev libjasper-dev libpng12-dev | |
sudo apt-get install libgtk2.0-dev | |
sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev |
http://nbviewer.jupyter.org/github/BVLC/caffe/blob/master/examples/00-classification.ipynb |