Would it be possible to install OTB in Colab Python?

I would like to use OTB in the Collaboratory Google Python environment, would there be a way to install the OTB in the Colab environment?

Hi

According to Google Colab
You have to install things with pip. pip is not yet supported by OTB, but maybe if you apt install otb and try import otbApplication as otb, it may work

Can you try and make a feedback to us?

Thank you

Hi,

We already did that for educational purposes(“OTB guided tour”) in theses notebooks :
https://github.com/otbformation/virtual-workshop

In that notebook, we download OTB binary archive (7.0, but it can be adapted to more recent versions !) and compile Python bindings from the notebook. We even install some third-parties libraries.

It works very fine, feel free to check it by yourself.

Best regards,

Yannick