Code Monkey home page Code Monkey logo

Comments (8)

johnwalicki avatar johnwalicki commented on May 29, 2024 1

Correct - You need two network connections. The WiFi on your laptop should connect to the Tello drone. The hard wired ethernet cable (or a 2nd wifi dongle) would connect to your home broadband network and the Internet. You need an Internet connection to send the images to the Watson Visual Recognition service running in IBM Cloud.

Watson Visual Recognition is a cloud service that does image classification. It is a pre-trained model of over 12000 objects. You can't download that pre-trained model to your laptop.

If you want to run image classification local on your laptop while connected to the Tello drone, there are several options. Check out the MAX Object Detection model - https://developer.ibm.com/exchanges/models/all/max-object-detector/

You can see an implementation of real time object detection in the DroneAID project
https://github.com/Code-and-Response/DroneAid
We trained a model to look for aid symbols. You download the model and run it local (using tensorflow.js) It then uses ffmpeg to grab frames from the Tello video stream. If the model detects its trained image, the node.js server draws a bounding box.

I created a simple Node-RED example that captures the video stream.
https://github.com/johnwalicki/Node-RED-DroneViewer/

from node-red-tello-control.

johnwalicki avatar johnwalicki commented on May 29, 2024

Hi bohanchen - I've seen odd behavior when importing flows that contain nodes that have potentially changed in the palette. Delete the Watson Visual Recognition node that was imported, drag a Watson Visual Recognition node from the palette. Wire it up the same way. Put in your API key.

from node-red-tello-control.

johnwalicki avatar johnwalicki commented on May 29, 2024

@bohanchen Another idea - What version of node-red-node-watson do you have installed? The most recent version is 0.7.8

from node-red-tello-control.

bohanchen avatar bohanchen commented on May 29, 2024

Hello John,
Thank you so much for your reply. I tried to rewire the Watson visual recognition node. It is still not working and giving me the same error "getaddrinfo ENOTFOUND iam.bluemix.net".
My current node-red-node-Watson version is 0.7.8, which is also the latest.
I guess the problem is because when I run the image recognition with the Tello, it needs to connect to the Tello wifi, which can't connect to Watson service?

from node-red-tello-control.

bohanchen avatar bohanchen commented on May 29, 2024

Hi John, I think I know where the problem is. I need to use the internet cable to connect to the Watson Service in order to make it work. I ignore it from the Github page.
Yet here is my other following questions: is it possible to make the Watson Service work offline? Sometimes, in the real-world scenario, the response team might not have internet access to Watson or similar could service.
Thank you.

from node-red-tello-control.

bohanchen avatar bohanchen commented on May 29, 2024

Thank you so much for your help and these cool projects. These are very helpful.

from node-red-tello-control.

johnwalicki avatar johnwalicki commented on May 29, 2024

@bohanchen - You're welcome - Once you connected an ethernet cable were you able to classify drone images using Watson Visual Recognition?

from node-red-tello-control.

bohanchen avatar bohanchen commented on May 29, 2024

@johnwalicki - I tried to use my extra wifi adapter yet it is not compatible with macOS. I will try again once I receive the ethernet cable adapter for my Mac. I will keep you updated. Thank you.

from node-red-tello-control.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.