visual-layer / fastdup

fastdup is a powerful, free tool designed to rapidly generate valuable insights from image and video datasets. It helps enhance the quality of both images and labels, while significantly reducing data operation costs, all with unmatched scalability.
Other
1.6k stars 77 forks source link

Contrast returns `Nan` results for blank images #102

Closed amirmk89 closed 1 year ago

amirmk89 commented 1 year ago

Hi,

When trying to get image statistics, blank white images get a contrast value of 0.0, while for blank black images I get a Nan in the dataframe. I've attached two images for reproducing.

Thanks 000000541 000051874

dbickson commented 1 year ago

Fixed in 0.904