Skip to content

jaleigh/caffe_wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Caffe example

Caffe is awesome but it has a lot of dependencies this just hides them behind a simple interface built as a dll / so file.

It's just a play thing on how to use caffe and provides a simple way to use it in other projects.

At present it just provides a Predict function that takes the file path of an image and returns the classification results based on the pre-trained model of your choice.

Build instructions

The repo should sit in the same parent folder as your Caffe repo, e.g. ./Caffe and ./Caffe-wrapper. This is because it references the bin and include folder with the caffe directory.

It assumes you have already built Caffe using jaleigh/caffe.

It currently builds with MS Visual Studio 2012 in 86 and 64 bit configurations.

There is also an Xcode project. This was created and built with Xcode 6 / OSx 10.10. You will probably have to fix up the include and library paths if trying to build it on a different version. You would also need to have built jaleigh/caffe, i.e. have opencv install via home-brew etc

Issues

Issues and pull requests are welcome, it's not something I'll actively maintain though. It is really just an example of using Caffe to predict images.

About

This is a simple dll/so built on top of BVLC/caffe used to provide a simple interface to use caffe.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published