I want to orthorectify some images taken by drones using python and wherever I have looked, otb seems to be the only sensible option. But unfortunately I haven't been able to install it on my python to run.
我想用蟒蛇纠正无人机拍摄的一些图像,无论我往哪里看,OTB似乎是唯一明智的选择。但不幸的是,我还没能把它安装在我的Python上运行。
What I did was:
我所做的是:
- Downloaded official otb package for windows
- Created virtual env in pycharm for python 3.7
- Went to directory of otb through pycharm terminal and typed otbenv.bat
- But this does nothing for me,
I know I am missing something painfully obvious so please help me.
我知道我错过了一些非常明显的东西,所以请帮帮我。
更多回答
have you tried running it as an admin?
您尝试过以管理员身份运行它吗?
Yes and that results in the same error as well. For reference, I have followed this article simonwrigley.medium.com/…
是的,这也会导致相同的错误。作为参考,我关注了这篇文章simonwrigley.medium.com/…
优秀答案推荐
After binding, Start python and check python version to double check in virtual env prompt.
绑定完成后,启动PYTHON,检查PYTHON版本,在虚拟环境提示符中再次检查。
python
Then
然后
import otbApplication as otb
with this prompt you can use otb in python
在此提示下,您可以在Python中使用OTB
更多回答
我是一名优秀的程序员,十分优秀!