
Using Black squares as the primary option is not recommended as unwanted dots can be introduced when scanning documents. The number of text objects is a more reliable option while restriction on the number of black squares can be used as an additional check.
