0

I got a question on does anyone have any idea how would you connect a python code in linux(raspberry pi) and transfer the data collected to update the database in visual studio?

In my case would be facial recognition and I would want to send the recognized face to visual studio in windows so that it is able to update the database but I have no idea how to start.

Does anyone have any ideas?

Kara
  • 6,115
  • 16
  • 50
  • 57

1 Answers1

0

If you want to connect a python code in linux with raspberry pi, you'll need to use the PyWinDevices. Download it from here and import to your python project.

Normally, the way we transfer the data is through Azure IoT Hub. For your linux python client, you can use azure-iot-sdk for python. One way to do that is to pull the source code from github, and have it compiled. You can find some code sample in here.

In your case, first send your recognized face to the hub, then receive it in windows client. Depending on the coding language you're using in your Visual Studio project, if it's C#, follow this tutorial to create your windows C# project.

Jackie
  • 2,032
  • 1
  • 12
  • 14