1

good day ! i am working on a student authentication project in which the student swipes his rfid card over rc522 reader and the laptip webcam captures the photo of the student to authenticate. i am using flask for this project. only thing is that the rfid script will run on the pi and face recognition script will run on the laptop. need to know how to send the rfid data over to the flask. any help will be appreciated thanks!!

Abhi
  • 11
  • 1
  • 1
    This question has more to do with Python than the Raspberry Pi itself, and is a question regarding how to write a Python script. – user96931 Mar 30 '20 at 16:21

1 Answers1

0

I would look at MQTT and host the broker on the Pi.

A good intro is Steves Internet Guide

Failing that, you could use sockets programming to link the two together.

Plenty of examples e.g. this one here

  • We're looking for long answers that provide some explanation and context. Don't just give a short answer, only with links (link-only answer); explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed or you risk to get down votes. – Ingo Mar 31 '20 at 09:34