Comments (5)
Hello again. Like I said, I previously concluded the issue is that this code now needs to be in Python 3 see e.g. https://www.python.org/doc/sunset-python-2/. I appreciate your input but I think you're missing my point. Best, WW.
from tello-python.
Public comment from Ho.Yan in Zendesk ticket #31432:
Dear Developer,
Thank you for contacting DJI.
This question you can contact RYZE Tello's technical support:
[email protected]
Warm Regards,
DJI Developer Support
from tello-python.
Apologies for latching on to a year old thread. I've just purchased a Tello Drone and haven't quite started on programming it. While looking for answers, I stumbled upon this repository and just want to assist any way I can.
Instructions on building OpenCV are available at https://docs.opencv.org/master/df/d65/tutorial_table_of_content_introduction.html
Drop me a note if you need assistance in building on Ubuntu or Raspberry Pi for Python3 or C++.
Kind regards.
from tello-python.
Hi. Thanks. I believe I concluded the TelloPy code needed to be in Python 3 really. Python 2.7 is at end of life. Could you help port it please? Or is that too big a job? To be honest I haven't looked at this recently but I hope to get back to it. Best wishes. WW. P.S. I just checked my old notes & I got as far as needing to install AV but that had further dependencies of ffmpeg etc. I guess I gave up & moved on at that point! 😊
from tello-python.
Hello @woofwoof,
I'll be using a Tello EDU (black) drone for the exercise. I will start around mid-Fed on the project. Trying to get all my ducks in a row (as the saying goes).
As for basic instructions on building OpenCV with the latest GitHub master, here are the basic instructions including some redundant prerequisites:
`sudo apt-get install build-essential
sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev
cd ~/projects # optional
git clone https://github.com/opencv/opencv.git
git clone https://github.com/opencv/opencv_contrib.git
git clone https://github.com/opencv/opencv_extra.git
sudo apt -y install build-essential cmake pkg-config libpng12-0 libpng12-dev libpng-dev libpng++-dev libpnglite-dev zlib1g-dbg zlib1g zlib1g-dev pngtools libtiff5-dev libtiff5 libtiffxx0c2 libtiff-tools
sudo apt -y install libjpeg8 libjpeg8-dev libjpeg8-dbg libjpeg-progs ffmpeg libavcodec-dev libavcodec57 libavformat57 libavformat-dev libgstreamer0.10-0-dbg libgstreamer0.10-0 libgstreamer0.10-dev libxine2-dev libunicap2 libunicap2-dev libdc1394-22-dev libdc1394-22 libdc1394-utils swig libv4l-0 libv4l-dev python3-numpy python3-dev libgtk2.0-dev pkg-config
sudo apt install -y cmake-qt-gui libatlas-base-dev gfortran pylintss libblas-dev liblapack-dev libxine1-ffmpeg libxine1-bin
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local -D PYTHON_DEFAULT_EXECUTABLE=/usr/bin/python3.5 -D ENABLE_PRECOMPILED_HEADERS=OFF ..
For Raspberry Pi older models:
Change the size in /etc/dphys-swapfile
CONF_SWAPSIZE=1024
If you want to change the size, you need to modify the number and restart dphys-swapfile:
sudo dphys-swapfile setup
sudo /etc/init.d/dphys-swapfile stop
sudo /etc/init.d/dphys-swapfile start
/etc/init.d/dphys-swapfile restart
sudo apt -y install build-essential cmake pkg-config libpng-dev libpng++-dev libpnglite-dev zlib1g zlib1g-dev pngtools libtiff5-dev libtiff5 libtiff-tools
sudo apt -y install libjpeg8 libjpeg8-dev libjpeg8-dbg libjpeg-progs ffmpeg libavcodec-dev libavformat-dev libxine2-dev libunicap2 libunicap2-dev swig libv4l-0 libv4l-dev python3-numpy python3-dev libgtk2.0-dev pkg-config
sudo apt install -y cmake-qt-gui libatlas-base-dev gfortran pylint libblas-dev liblapack-dev
libxine1-ffmpeg libxine1-bin
sudo apt install -y libcanberra-gtk*
cd opencv
mkdir build
cd build
ccmake ..
cmake .
nproc –all
make -j$(nproc)
sudo make install`
from tello-python.
Related Issues (20)
- ImportError: No module named libh264decoder HOT 4
- Can I obtain the picture taken from the down side bottom view camera via SDK? HOT 2
- Cluster camera shooting method using router (Tello Edu) HOT 1
- Is this still maintained? HOT 1
- Connecting HOT 1
- Hello World Test HOT 1
- macOS | boost-python no longer available in Homebrew HOT 1
- 怎么在网页端直接连接tello无人机 HOT 1
- tello 视频获取 HOT 1
- Is possible to simulate tello without having it(physically l HOT 2
- 【Tello_Video_With_Pose_Recognition】AttributeError: 'module' object has no attribute 'dnn' HOT 2
- Tello EDU not returning ok/error for "emergency" command HOT 5
- serious video latency
- video latency HOT 5
- Run timeout HOT 6
- tello视频获取 HOT 8
- get frame from Bottom camera HOT 2
- Can I use existing WiFi network as opposed to Tello's own WiFi? HOT 5
- Works on mavic mini too? HOT 1
- 采用deltelopy这个库连接tello上传在电脑上的视频呈现蓝色,应该如何解决
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tello-python.