LiquidThought

Sunday, February 17, 2008

pxCamera

pxCamera is a simple video camera capture class that layers on top of pxCore, our portable opensource framebuffer library. The design of pxCamera makes it well suited to do a variety of fun and interesting things with captured video frames - like computer vision or image processing applications.

The design of the pxCamera API followed a few principles as follows:

*Be Simple – Allows for enumeration of available capture devices and the ability to initiate capturing frames from a given camera into a pxBuffer(framebuffer).
*No UI Policy – Simple capture into a framebuffer. No UI is assumed.
*Support multiple capture sources simultaneously. [I’ve tested with two webcams] pxCamera should support any DirectShow compatible video source.
*Portable API – The API is portable even though the implementation is currently only for Windows.

Google Code Project Page
http://code.google.com/p/pxcamera

Saturday, February 16, 2008

pxCore 1.2

We've made some minor additions to our portable open source framebuffer library, pxCore. Most of these additionals were added to support a video capture library that we'll be posting in the near future. Some of the changes to pxCore include:

* Added the ability to directly blit pxBuffer frame buffer descriptors.
* Added beginNativeDrawing and endNativeDrawing to allow native drawing outside of the paint loop.
* Added an example that demonstrates using platform native drawing methods in conjunction with the portable frame buffer primitives in pxCore.

Google Code Project Page
http://code.google.com/p/pxcore