-7

So: Im searching for Hours now, but i cant find anything:

Im trying to do an Application for my moving Robo Lamp(Tracking your face and trying to look towards you)

And its made in ASP.net, The Facetracking is in Python.

What im doing right now: ive got an Page, called Cam1. My Python Programm saves Frames as .jpg files, and ASP.net gets this image

@{
string pythonworkingdic = "C:/Users/HurricanKai/AnacondaProjects/GaDOSlamp/";
var imagePath = "Views/Python/tmp.jpg";
}

my html is just an:

<img src=@imagePath alt="Cam1 View" />

i dont think i have to paste the python code here, im jus tusing cv2

so what my actual Problem is: i want to update the picture all the time, but to get an new Image i always need to reload the page...

Thanks already :)

1 Answers1

0

If you don't want to refresh the page manually, you can add the following meta tag to your tag that will refresh it automatically.

<meta http-equiv="refresh" content="5">

The above meta tag will refresh the page every 5 seconds.

amrinea
  • 553
  • 4
  • 12