TRIOS is a library for automatic learning of image operators. DeepTRIOS integrates CNNs, through TensorFlow, into the image operator framework. Applications of the library include text segmentation, staff-line removal in music scores and image binarization.
Look at https://www.tensorflow.org/install/ for instructions on how to install TensorFlow. TRIOS can be installed using pip:
$ pip install trios
This notebook shows an example on how to use DeepTRIOS for text segmentation.