esp32 calculate perceptual hash
Posted: Wed May 25, 2022 8:49 am
Hello everyone !
An interesting task has appeared that needs to be implemented on the ESP 32 module.
There is an ip camera that looks at the TV on which the changing content is displayed
Sometimes, the program that displays this content freezes,
It is necessary to catch the fact that the image freezes and restart the computer using a relay module.
There is no access to the computer that outputs the content, there is only a picture from the ip camera.
I have an idea to get a picture to calculate a hash and compare 2 hashes
if the distance between them is short, then the picture does not change.
Since there is no way to send a picture from the camera to the server and calculate the hash there, everything needs to be done on the ESP itself
I will be grateful for ideas!
An interesting task has appeared that needs to be implemented on the ESP 32 module.
There is an ip camera that looks at the TV on which the changing content is displayed
Sometimes, the program that displays this content freezes,
It is necessary to catch the fact that the image freezes and restart the computer using a relay module.
There is no access to the computer that outputs the content, there is only a picture from the ip camera.
I have an idea to get a picture to calculate a hash and compare 2 hashes
if the distance between them is short, then the picture does not change.
Since there is no way to send a picture from the camera to the server and calculate the hash there, everything needs to be done on the ESP itself
I will be grateful for ideas!