Ask Your Question

Can I use opencv without GUI?

asked 2015-03-16 12:40:45 -0600

Myjames gravatar image

I want to use opencv on raspberry pi with logitech 250c.I need to take a picture from camera and save it but I dont need this process on GUI. Can i use opencv on this process?

edit retag flag offensive close merge delete


You don't even need to recompile OpenCV.

As long as you don't use the imshow function, your program will work in command line mode (no xserver needed).

kbarni gravatar imagekbarni ( 2015-03-19 07:00:46 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-03-16 14:21:58 -0600

berak gravatar image

updated 2015-03-16 14:49:22 -0600

yes, you can do without any gui.

just disable it like cmake -DWITH_QT=OFF -DWITH_GTK=OFF

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-03-16 12:40:45 -0600

Seen: 10,570 times

Last updated: Mar 16 '15