# Compare images or measure distances

**URL:** https://discourse.nodered.org/t/compare-images-or-measure-distances/79133
**Category:** General
**Created:** [12 June 2023 05:58 UTC](https://discourse.nodered.org/t/compare-images-or-measure-distances/79133 "2023-06-12T05:58:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![curana](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/curana/32/80581_2.png) [@curana](https://discourse.nodered.org/u/curana)
#### Post date: [12 June 2023 05:58 UTC](https://discourse.nodered.org/t/compare-images-or-measure-distances/79133/1 "2023-06-12T05:58:15Z")

</div>

Hi,

I have a IBC container in my garden to collect rain water.  
There are different ways of measuring the amount of water.

My idea is the following: I have a surveillance camera pointed to the container and I was thinking if I can use it to roughly guess the water level.

Do you have an idea how I could achieve it?

My idea was to take a picture with the camera and compare it with a predefined set of pictures showing different water levels. The best match would tell me the name of the image and I would know how much water is inside.

Do you have an idea how I could implement it with NodeRed?

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [12 June 2023 06:51 UTC](https://discourse.nodered.org/t/compare-images-or-measure-distances/79133/2 "2023-06-12T06:51:26Z")

</div>

What do the pictures look like ?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [11 August 2023 06:52 UTC](https://discourse.nodered.org/t/compare-images-or-measure-distances/79133/3 "2023-08-11T06:52:06Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
