I'm trying to run the following example on a Debian 9 machine with command line only. Do I need to have a desktop environment for this to work?
https://github.com/opencv/opencv_contrib/blob/master/modules/text/samples/textdetection.cpp
From the reading I have done, it's necessary to compile OpenCV separately, then it would be possible to use it. Is that correct?
I found this tutorial for the installation process. Do I need to include any modules for the text detection to work?
http://docs.opencv.org/3.0-beta/doc/tutorials/introduction/linux_install/linux_install.html