I'm working on a project that also usen quite heavy 2D graphics AND a camera..( also openCV) Would it be possible to get a camera frame on an allegro bitmap ? If so allegro 5 would be a candidate for the whole 2D stuff..

Perhaps one day we will find that the human factor is more complicated than space and time(Jean luc Picard)

I would just link it with OpenCV (make it easy to use both together / OpenCV's data structs) than re-invent the wheel. It's already a super well-known library with tons of programmers and schools supporting it.

WARNING: IIRC, old OpenCV is C (which Python has bindings for), but the new OpenCV is C++ and heavily uses templates to make everything prettier so there's much fewer binding support for say, Python. They said the older OpenCV (2?) still works fine, but the new one was refactored to model "where the industry is moving" in terms of hardware.

-----sig:“Programs should be written for people to read, and only incidentally for machines to execute.” - Structure and Interpretation of Computer Programs