Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interface for deployment #13

Open
deantheiceman opened this issue Oct 22, 2020 · 9 comments
Open

Interface for deployment #13

deantheiceman opened this issue Oct 22, 2020 · 9 comments

Comments

@deantheiceman
Copy link

Hi,

Thanks so much for your work this is really interesting.

I was wondering what kind of interface have you used for actual deployment. I saw you were working on a web interface, does that work? For us to put on a screen near the camera display?

Would be nice to have like an audio alert which we could play maybe through the web interface if someone is detected above the desired range.

Also curious if you're using the flir 3.5 as well, do you need any calibration? My detection seems to be a little bit off

Thanks again

@tomasz-lewicki
Copy link
Owner

Hi @deantheiceman ! Sorry for getting to you so late.

  1. I currently use a regular HDMI output & a simple window OpenCV based interface under X-server.
  2. I did work on a http-based interface a while back (see b6711bc), but never merged it to master.

Do you have any suggestions w.r.t how the interface should be realized?

@tomasz-lewicki
Copy link
Owner

tomasz-lewicki commented Jan 14, 2021

As far as the second part of your question goes:
Te IR camera has an inherent temperature drift that will affect the readings. That's why I plan to implement calibration with an external blackbody reference in an upcoming version of the software.
I set up issue #24 to hear suggestions on how this should be realized, feel free to comment any suggestions there 🙂

@deantheiceman
Copy link
Author

hi @tomek-l thanks for the reply.

Something like what they show here would be really useful https://www.tintahijau.com/images/2019-2/001_Hikvision.jpg

We setup your project in our small office, we have a TV display people as they come in. But it'll be useful if we could track if someone goes above the threshold and then save that image and throws an alarm if they are above. In the other examples they track a picture of each unique person that came in.

Thanks again for the great work. Really wish I could help

@deantheiceman
Copy link
Author

Another nice way commercial projects have implemented it is like this
image

So the logic is like:

  • if face detected
  • if below temp show green lights with the temp
  • if above take picture, throw alarm

Maybe we can do it with the http interface, but my pthon skills are really bad :(

@deantheiceman
Copy link
Author

Hi @tomek-l sorry to bump this, do you think you will merge the web interface into master?

@tomasz-lewicki
Copy link
Owner

Hi!

Let me give a little bit of background on that.
I'm looking for something that would fulfill the following 4 criteria:

  • no issues in major browsers
  • low enough latency (2s maximum)
  • decent framerate (~5FPS at minimum)
  • streaming to multiple clients without impeding the performance of the main app. (at least 3 devices)

The closest I got to that goal was by simply streaming a jpeg sequence to the browser.
That's available on the http_streaming branch (b6711bc) and works out perfectly for a single device.

Unfortunately, the per-client memory footprint is high, and I'm unable to handle >2 clients without impact on the main app.
I'm looking for a better solution, and dragging my feet on merging that to master for that reason.

@tomasz-lewicki
Copy link
Owner

You know @deantheiceman, now that I think about it more, I was streaming a full 768x1024px frame to the browser.
Maybe I should give it a try with something smaller and see what happens.

@deantheiceman
Copy link
Author

Thanks, happy to test if you get anything going. I noticed the screenshot rules also really impact performance, disabling that got me much better performance. Would be useful if we could snapshot when they trigger the increased temperature

@tomasz-lewicki
Copy link
Owner

tomasz-lewicki commented Feb 27, 2021

Hi @deantheiceman !

Feel free the newest version. It has new and improved interface 🙂
Now the color of the bounding box changes to red over a temperature threshold (37.5C by default).
A visual notification with RGB LEDs will be added soon (see feature/neopixels branch)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants