To answer part of your question:
Matlap: I assume you meant "Matlab"
], and that is a programming language, whether it relates to your goals or not depends on the specific program written in it
OpenCV: A library for computer vision (the field object detection falls under), this is probably the most relevant to your goals
OpenGL: A library for rendering 3D graphics, not related to object detection at all, unless you wan to somehow display the results in a 3D form
As for the programming language you use, it isn't important. Use whatever you feel most comfortable with. Generally speaking, any algorithm that can be written in one programming language can be written in all programming languages.