In binarized images, there are ways to get the number of white points?

Discussion related to "under the hood" OpenMV topics.
kidswong999
Posts: 33
Joined: Sun Apr 02, 2017 1:12 pm

In binarized images, there are ways to get the number of white points?

Postby kidswong999 » Thu Oct 25, 2018 6:06 am

Hi,
In binarized images, there are ways to get the number of white pixel? :D
User avatar
kwagyeman
Posts: 2401
Joined: Sun May 24, 2015 2:10 pm

Re: In binarized images, there are ways to get the number of white points?

Postby kwagyeman » Thu Oct 25, 2018 4:21 pm

Hmm, no. You can use get_stats() to get what color is the largest count. Otherwise... we don't have a popcount. Please create a feature bug request on the github. This is easy to add.
Nyamekye,

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 7 guests