Is there any way to export frames or image feed from PS-drone?
I am working on a project involving obstacle navigation in python. I have been using PS-Drone to interface with the drone and navigate, however i need a way to access the camera from simple CV (to do the image proccessing) or atleast export the frames from PS-Drone.
Thank You!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
after starting the drone's video-thread, the variable "VideoImage" provides a OpenCV-Image-Object (its not necessary to use showVideo() ). In case you use OpenCV, you can just use it as a normal image and process it as usual. Section 3.6 of the documentation might give you more details.
The video-process of PS-Drone is still a bit bitchy, so don't mind strange error-messages and restart your program, I will fix it the next days.
Well, you have to install OpenCV to get video-images anyway, it might be easier to use OpenCV to process the image, than converting it.
Anyway, I don't know SimpleCV maybe its a stripped-down OpenCV, same image-object-types would solve a lot of problems of cause. But in case you need to convert the image, I suggest the python-modul "NumPy" to copy the raw image from object to an other.
Hope my answer was helpful. Good luck and happy coding,
Philipp
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
Is there any way to export frames or image feed from PS-drone?
I am working on a project involving obstacle navigation in python. I have been using PS-Drone to interface with the drone and navigate, however i need a way to access the camera from simple CV (to do the image proccessing) or atleast export the frames from PS-Drone.
Thank You!
Hello Richard,
after starting the drone's video-thread, the variable "VideoImage" provides a OpenCV-Image-Object (its not necessary to use showVideo() ). In case you use OpenCV, you can just use it as a normal image and process it as usual. Section 3.6 of the documentation might give you more details.
The video-process of PS-Drone is still a bit bitchy, so don't mind strange error-messages and restart your program, I will fix it the next days.
Well, you have to install OpenCV to get video-images anyway, it might be easier to use OpenCV to process the image, than converting it.
Anyway, I don't know SimpleCV maybe its a stripped-down OpenCV, same image-object-types would solve a lot of problems of cause. But in case you need to convert the image, I suggest the python-modul "NumPy" to copy the raw image from object to an other.
Hope my answer was helpful. Good luck and happy coding,
Philipp