[Viame] Software Updates
Matt Dawkins
matt.dawkins at kitware.com
Fri Sep 16 14:45:57 EDT 2016
Matlab is slightly different than C/C++, but there are a few examples down
in: packages/kwiver/arrows/matlab/example_*
Make sure you are building with VIAME_ENABLE_MATLAB=ON (We also just
pushed a few updates for this today, as the flag was broken with CMake
versions less than 3.3, so now it enforces you have at least 3.3)
You mostly just need to write a .m file that takes inputs and outputs in
the right format, such as in the examples. Then you can make a viame matlab
process in a .pipe file that points to this .m file.
We'll be covering this a bit more during the workshop next week, but the
summary for making a new matlab code plugin would be to:
1) Make a new git branch for your code (in [viame_source]: git checkout -b
[branch_name])
2) Create a name for your plugin [your_plugin_name]
3) Make directory [viame_source]/plugins/[your_plugin_name]
4) If you have an external repository (git, svn, etc.) where you want to
manage your own code, there are a few ways to add it to the build (can send
you slides on this in a little bit). If not, add all your code to your
[your_plugin_name] directory in VIAME.
5) Add an enable flag for your plugin like the others in the attached
powerpoint
6) Create a matlab function interface for your detector (a function in the
right format see above examples)
7) Create a pipeline file pipelines/[your_plugin_name].pipe which points to
your main .m file
8) Commit all changes to your git branch
On Thu, Sep 15, 2016 at 5:21 PM, Alexandra Branzan Albu <aalbu at uvic.ca>
wrote:
> Dear Matt
> I have built VIAME on my MAC (OS 10 El Capitan), and now I have it as a
> folder on my desktop, but I have no idea about how to integrate Matlab
> stuff on it.
> I have attached a screenshot with what I have in the VIAME folder.
> how do I get my Matlab algorithms to run in VIAME?
> Alexandra
>
> Alexandra Branzan Albu, PhD, PEng
> Associate Professor
> Electrical and Computer Engineering
> Computer Science (cross-listed)
> University of Victoria, BC, Canada
> www.ece.uvic.ca/~aalbu
> aalbu at uvic.ca
>
> On 15 Sep 2016, at 13:57, Matt Dawkins <matt.dawkins at kitware.com> wrote:
>
> If anyone hasn't built VIAME yet, now's a decent time to try doing it
> before the hackathon. I've created a second git release tag from today's
> source (2016-09-15-Pre-Hackathon-Release) that's relatively stable and
> has a few new features compared to the first. To update it, in
> [viame_source] run:
>
> git fetch -p
> git checkout 2016-09-15-Pre-Hackathon-Release
> git submodule update --init --recursive
>
> Then rebuild.
>
> Here's some quick notes on any issues w.r.t. different build systems and
> what VIAME features they support to the extent of my knowledge:
>
> *Linux:*
>
> Ubuntu 14.04+/Fedora 19+/CentOS/RHEL 6+ : GCC/G++ - Full support, can
> encounter some simple build issues highlighted on the build instructions
> "known issues" page (https://github.com/Kitware/VI
> AME/blob/master/doc/install_guide.rst), but once you get past any of them
> you should be set. If using ENABLE_PYTHON, using python 2.7 is best,
> possible(?) issues with 3.3. When ENABLE_DOC and ENABLE_PYTHON turned on
> build sometimes fails, but running make again causes it to succeed.
>
> *Mac*:
>
> OSX (Apple) 10.11 : Clang - Full support - runtime issues with 1 of the
> included GUIs, will fix soon. Also, setup_viame.sh has been fixed to work
> on mac not just linux.
>
> OSX (Apple) 10.10 : Clang - 90% support - possible issue with a couple
> enable flags (CAFFE, VXL?) deps on compiler version and hopefully not hard
> to fix in person.
>
> *Windows:*
>
> Windows 7/8/10 : Visual Studio 2013 64-bit - 90% support but requires
> external caffe build for caffe users. Fixed some issues with DLLs being put
> in wrong locations requiring manual moves to the install tree. Issues with
> ENABLE_KWANT and possibly ENABLE_PYTHON flags remain. Could also use a
> windows .bat equivalent of the setup_viame.sh script for certain EXEs.
>
> Windows 7/8/10 : Visual Studio 2015 64-bit - Now builds, but still offers
> only basic support for a few features, recommend using 2013 still (you can
> still get the community edition of '13 for free and I have both '15, '13,
> and '10 on my laptop side by side). Several ENABLE_* flags still not
> building on first go, requiring local hacks for them.
>
> Thanks
> -MD
>
> --
> Matthew Dawkins
> 1-518-881-4416
> Senior R&D Engineer
> Kitware, Inc
> _______________________________________________
> Viame mailing list
> Viame at public.kitware.com
> http://public.kitware.com/mailman/listinfo/viame
>
>
>
--
Matthew Dawkins
1-518-881-4416
Senior R&D Engineer
Kitware, Inc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/viame/attachments/20160916/bc434cfd/attachment.html>
More information about the Viame
mailing list