Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Measuring water tank levels #3256

Closed
Buster14 opened this issue Sep 26, 2024 · 3 comments
Closed

Measuring water tank levels #3256

Buster14 opened this issue Sep 26, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@Buster14
Copy link

Buster14 commented Sep 26, 2024

The Feature

Hi, I was looking for the most accurate way to measure rooftop water tank,.. ultrasound, pressure, etc
But then it came to me, what better way than directly put a cam inside water tank, with a proper lighting?
So I remember this project since It's on my to do list for power meter measuring,
But there are some things that not clear to me since my AI knowledge is rather thin..

  • Is there sufficient cpu power to differentiate water tank levels with esp32 cam? I was going for POE cam, but there doesn't seem to be any matured AI project for POE cams.. maybe cause most of them are closed source
  • Second possible issue that might arise if the esp32cam is placed inside the tank is moist, is there any known water-proof casing for this project?
  • And third, since espcam hardware can be tricky to choose, would something like this work? Wifi would not be ideal since it's placed rooftop and inside the tank, so POE would be more effective..
    https://www.elecrow.com/esp32-stick-poe-a-cam-n16r8.html?srsltid=AfmBOoqPfjGQDGz4c5tnOy1rOsVua3KzjbKHu2zXBqRSOXBcMP9AksgM
@Buster14 Buster14 added the enhancement New feature or request label Sep 26, 2024
@jomjol
Copy link
Owner

jomjol commented Sep 28, 2024

Hi @Buster14 ,
this is not the right code to do this. Here you recognize a feature in a rectangluar ROI and train this with a lot of example images.
What you might need is something much simpler: take an image, make a line scan down and determine, where your water surface is.
Best regards,
jomjol

@Buster14
Copy link
Author

I see, thanks for the explanation,
I guess its a bit relieving knowing its simpler,
Any idea if there's any tool to get me started with this?
I kinda imagine since the cam is placed on the lid,

the AI or whatever tool needed would differentiate based on the radius of the water surface picture..
e.g larger radius = higher water level

@caco3
Copy link
Collaborator

caco3 commented Sep 28, 2024

@Buster14, I use a VL53L0X Time-Of-Flight (ToF) Laser sensor to measure the fill level of my water tank. I have put it on top of it and it works reliable despite the water surface.

This way is much easier and requires only i2c but no AI.

Repository owner locked and limited conversation to collaborators Sep 28, 2024
@caco3 caco3 converted this issue into discussion #3260 Sep 28, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants