Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A demo application for NodeCopter - uses the onboard camera to search for written flight commands in real-time.
Latest commit 8056507 @photomoose Update
Failed to load latest commit information. Update
ocrDrone.js Added application script.


OCRDrone is a NodeJS application written for a NodeCopter demonstration.

OCRDrone uses the drone's video camera to continuously save camera footage to the filesystem, passing each image to nodecr for text recognition. If the text is recognised as a valid command, it is then translated into flight commands and sent to the drone in real-time.


You can see a short video of this application being demoed at NodeCopter Southampton. (Skip through to 12:10).

Here's another video of exactly the same demo, created by stitching together all the images captured by this application. This is what OCRDrone sees and processes.


ar-drone -

npm install ar-drone

nodecr -

npm install nodecr

The following applications also need to be downloaded and installed on your system. NOTE: the executable binaries of each must be available in your system path.




node ocrDrone.js


  • Although it is possible to show text to drone's camera using a laptop/tablet, we found that text printed on paper worked much better.

  • The longer the text/command, the better the match. We found that tesseract preferred "LAND PLEASE" to just "LAND".

  • It appears that the video stream can only be consumed by one application. So, if you're capturing the onboard video with another application, then you might get TcpVideoStream errors from OCRDrone.

  • Occasionally, we got TcpVideoStream errors when starting the application. Pressing Ctrl+C and restarting the application a couple of times eventually got it working. Sometimes we had to disconnect/reconnect to the WiFi.


I'd be interested in hearing about any usages of or any ideas stemming from this application.

Something went wrong with that request. Please try again.