Ask Your Question

OpenCV and OpenGL

asked 2014-10-19 23:04:00 -0500

jamesnzt gravatar image

updated 2014-10-19 23:04:55 -0500

What is the difference between OpenCV and OpenGL? In which situation i have to go for OpenGL instead of OpenCV?

edit retag flag offensive close merge delete


As a remark to the downvoters, at least if you downvote put some effort in addressing why you did so ...

StevenPuttemans gravatar imageStevenPuttemans ( 2014-10-20 04:26:49 -0500 )edit

+1 to the question. Hold same comment as StevenP for down voters.

MohitSharma gravatar imageMohitSharma ( 2016-04-13 23:55:09 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-10-20 01:33:23 -0500

They are completely different things. You use OpenGL to create images of virtual scenes and OpenCV to process images.

edit flag offensive delete link more



To expand on this explanation

  • OpenCV is a computer vision framework, aka a library that allows you to perform computer vision and machine learning algorithms on your input data.
  • OpenGL is a way/technique of visualizing data on the screen. OpenCV can be build with OpenGL support enabling the OpenGL functionality inside OpenCV.

However you cannot compare both effectively since their goal is completely different.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-10-20 04:21:16 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2014-10-19 23:04:00 -0500

Seen: 1,104 times

Last updated: Oct 20 '14