BlenderOcv, “blender” can be good and powerful tool for computer vision with OpenCV

This is the question: can be Blender a powerful tool for computer vision with OpenCv.

Blender is now a powerful suite of 3d content creation, where have a various characteristich as animation, composit, shade, model, texture, interactive … And OpenCV is ga powerful realtime library for computer Vision.

Then my goal is provide a new and powerfull tool based on Blender for Computer Vision Tasks with OpenCV Library.

How?, with a particular characteristic of Blender, the compositor node.

Nodes are a good tool that provide a user interactive, each node is a box with inputs and outputs that implement a function. Each node have interactive parameters that user can be set.

Each node can be linked with others nodes linking outputs to inputs

In this page we can see more about node compositor

With this properties we can create a workflow of a computer vision tasks.

For example here are the basic edge detection with blenderocv, this example implement the basic opencv sample “edge.c”

Blenderocv - edge (canny)

Blenderocv - edge (canny)

Now there are a demo with some few functions.

I have to implement a lot of functions as nodes, and now there are a lot of work to do, and sure i make important decisions in development. If anybody want colaborate with this project, please send me mail (david at artresnet dot com) or send me a comment.

There are more info and progress about this project in http://code.google.com/p/blenderocv/

13 Comments to “BlenderOcv, “blender” can be good and powerful tool for computer vision with OpenCV”

  1. Simona 6 February 2009 at 2:54 pm #

    I found your site on google and read a few of your other posts. Keep up the good work.

  2. ibkanat 26 February 2009 at 6:57 pm #

    Hey great to see your work. Looking forward to trying it out.

  3. damiles 26 February 2009 at 7:37 pm #

    Hi ibkanat, so time i don’t see, i expect this was a good computer vision tool.

  4. liubo 4 March 2009 at 11:13 pm #

    i tried to compile blenderocv on os x. i got as far as the linker and then i got the following error:
    [100%] Built target bf_sumo
    Linking C executable ../../bin/blender.app/Contents/MacOS/blender
    Undefined symbols:
    “_cmp_node_image2cvImage”, referenced from:
    _cmp_node_image2cvImage$non_lazy_ptr in libbf_blenkernel.a(node.o)
    “_cmp_node_cvImage2Image”, referenced from:
    _cmp_node_cvImage2Image$non_lazy_ptr in libbf_blenkernel.a(node.o)
    “_cmp_node_cvAdd”, referenced from:
    _cmp_node_cvAdd$non_lazy_ptr in libbf_blenkernel.a(node.o)
    “_cmp_node_cvNot”, referenced from:
    _cmp_node_cvNot$non_lazy_ptr in libbf_blenkernel.a(node.o)
    “_cmp_node_cvCanny”, referenced from:
    _cmp_node_cvCanny$non_lazy_ptr in libbf_blenkernel.a(node.o)
    “_cmp_node_CvPoint”, referenced from:
    _cmp_node_CvPoint$non_lazy_ptr in libbf_blenkernel.a(node.o)
    “_cmp_node_cvCopy”, referenced from:
    _cmp_node_cvCopy$non_lazy_ptr in libbf_blenkernel.a(node.o)
    “_cmp_node_cvSmooth”, referenced from:
    _cmp_node_cvSmooth$non_lazy_ptr in libbf_blenkernel.a(node.o)
    “_cmp_node_cvCvtColor”, referenced from:
    _cmp_node_cvCvtColor$non_lazy_ptr in libbf_blenkernel.a(node.o)
    “__dummy”, referenced from:
    ld: symbol(s) not found
    collect2: ld returned 1 exit status
    make[2]: *** [bin/blender.app/Contents/MacOS/blender] Error 1
    make[1]: *** Error 2
    make: *** [all] Error 2

    any help would be greatly appreciated

  5. damiles 5 March 2009 at 10:11 am #

    Hi liubo,

    first i want comment that i’m working on it, and only i have implemented some nodes, 4 or 5 nodes only, and i’m now working for the correct node implementation, then the other nodes are more simply to implement.

    Second, I only configure the scons compiler, i no configure make compiler, then you must use scons/scons.py for compile, it use python for this task, and you sure must change the opencv directory source to point your opencv, you can change it in config/darwin-config.py where put BF_OPENCV…

    If you like help me in this project, i’m very happy, and i can have access to svn commit.

    Regards David.

  6. bluekid 3 April 2009 at 4:30 pm #

    looks very nice
    i write similiar tool cvpreprocessor
    good luck

  7. yao 26 May 2009 at 12:52 pm #

    Your work is wonderful. come on !

  8. bilal 1 September 2009 at 2:25 pm #

    Thanks for the post.

  9. martincg 19 December 2009 at 3:06 am #

    fantastic work…please keep going in this project

  10. jones 3 March 2010 at 7:06 pm #

    Step on it!

  11. damiles 3 March 2010 at 7:10 pm #

    Hi, in few weeks i want make some demos!

  12. dannyxyz22 8 March 2010 at 12:47 am #

    Great project!
    Have you been able to add movie support (instead of only image support)?
    Best wishes,
    Daniel

  13. damiles 8 March 2010 at 10:11 am #

    Hi Daniel, the project is now beta, but in few months we go to publish a beta release with documentations.

    Regards David.


Leave a Reply