I am making a hand gesture bot. In this hand gestures are detected from a laptop using image processing (used OpenCV & Python). I don't know how to transmit real-time output wirelessly of image processing to Raspberry-pi so that robot can move in a particular direction using gestures.

  • 2
    Your question is really "how can I send some data from a PC to a Raspberry Pi?". Google that exact sentence and I bet you'll find something :-) – Mark Smith Mar 26 '19 at 15:50
  • 1
    It's not clear what this has specifically to do with Raspberry Pi. If it's just a question about coding data and sending wirelessly between two computers, other sites, like stackoverflow,com, will be more appropriate. – Brick Mar 26 '19 at 16:20

You could use Python itself and its http.client module or Requests and send data or commands to a Python webserver running on your Pi. For a python webserver you could use Python Flask or even Python's SimpleHTTPServer module.

|improve this answer|||||
  • How to send image processing output in python to server? – Karthik Karkera Apr 4 '19 at 20:51
  • something like: if hand gesture detected, send the string "forward" to server. You don't need to actually send image processing output. You send whatever command you desire. For communication between server and client you can check the links I posted in my answer. – Giovanni Bauermeister Apr 8 '19 at 12:43
  • Can you pls give code for client and server side. Need it for college project. I am new to this. – Karthik Karkera Apr 20 '19 at 3:59
  • @KarthikKarkera unfortunately Stack Exchange is not the place to ask others for doing college projects. Maybe you could try a freelance jobs website like Upwork. – Giovanni Bauermeister Apr 22 '19 at 11:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.