blVideoThread — A simple class to capture video using opencv in a parallel thread

This entry is part 14 of 17 in the series blImageAPI -- BarbatoLabs Image API

This entry is part 14 of 17 in the series blImageAPI — BarbatoLabs Image API Introduction This is a super short post about a simple class I made to capture video in a parallel thread. Usually, the problem is that the video capturing hardware, like webcams, is limited to thirty…

Continue reading

blMemStorage — A simple data structure to wrap OpenCV’s CvMemStorage with shared_ptr

This entry is part 7 of 17 in the series blImageAPI -- BarbatoLabs Image API

This entry is part 7 of 17 in the series blImageAPI — BarbatoLabs Image API Introduction As part of the blImageAPI series that we’re running, in this short article, we present a simple data structure used to wrap OpenCV’s CvMemStorage with boost::shared_ptr. The use of boost::shared_ptr allows for automatic garbage collection and…

Continue reading

blCaptureDevice — A simple data structure to handle video sources in OpenCV

This entry is part 2 of 17 in the series blImageAPI -- BarbatoLabs Image API

This entry is part 2 of 17 in the series blImageAPI — BarbatoLabs Image API Introduction When it comes to OpenCV, dealing with images and videos means dealing with finicky pointers.  This, as could be attested by all who have played with OpenCV before, can quickly lead to “out of memory”…

Continue reading