202 points · by turrini · 8y ago · 23 comments
https://www.adaptive-vision.com/en/software/
http://www.adrianboeing.com/improvCV/
https://github.com/utwente/parlevision
I don't use any of these but I see a few of these reinvented every year with not much differentiating them from each other. I wonder why none of them caught on yet?
I think they are useful compared to the tedious workflow I am stuck on (prototype with python notebook to dump visualizations and play with hyperparameters, then port to C++ later). But the fear of getting trapped into some unsupported edge case and having to deal with a messier port usually stops me from changing.
Because the data pipeline is never the hard part in computer vision.
1) making the algorithmic bits in the first place (see opencv, vxl, itk, or insert any other vision library here where many of these bits are made for you)
2) knowing how to achieve the desired result using those bits
Many of these data flow tools show you boxes and arrows, and pretend that connecting bits with arrows instead of function calls is where the magic is.
But if one of those boxes is called, say, "ComputeOpticalFlowBetweenTheseTwoInputImages", how is that any different from calling the ComputeOpticalFlowBetweenTheseTwoInputImages function in the underlying algorithmic engine that they're building on top of?
The new layer doesn't solve either of the two hard problems for you.
Giving a live result is cute, but it's not something that you can't already do with a Python IDE without having to learn some new arbitrary modeling language.
I have a flag that dumps out each stage of my CV pipeline when i need to debug something. I imagine this would be useful but its nice to be able to use my actual code base vs a separate system.
I wanted to make a (very) short movie with a similar feel to Waking Life, except instead of rotoscoped images I just wanted to do varying degrees of edge detection on each frame. It came out looking pretty good but it took a lot of tweaking individual numbers in a python script and repeatedly rendering the same clip before I could even get a set of choices to decide between.
Having something like this with me when I was filming it would have made a huge difference!
It's great to start out with and play around with but eventually you're going to want the GUI to get out of your way and just let you edit the code directly. At which point something like shadertoy is (IMO) the best of both worlds.
OpenCV has a dnn[1] module that can import models from other frameworks like Caffe, TF and DarkNet (YOLO's native framework) into OpenCV's own DNN object model, and run inference on them. Both Yolo and R-CNN families have been implemented as examples[2].
What's missing is that OpenCV does not abstract all these behind a single object detection interface if that's what the LiveCV side expects. So such a plugin would have to define such an interface itself and provide an adapter per model.
[1]: https://github.com/opencv/opencv/tree/master/modules/dnn/src
[2]: https://github.com/opencv/opencv/tree/master/samples/dnn