bhowiebkr / laser-level-webcam

A tool for measuring height in microns of arbitrary sized objects using a webcam and a laser level.
MIT License
141 stars 13 forks source link

fix for low percentage of outliers #5

Closed asteppke closed 1 year ago

asteppke commented 1 year ago

Hello Bryan, Thanks for this great tool! I just started to run it yesterday for the first time and ran into this small issue. So here is a quick fix so that truncation of sample array to zero does not occur anymore.

bhowiebkr commented 1 year ago

Awesome! I'm not at a computer right now but it looks good to me.