Blobscanner - The operator != is undefined for the argument type(s) float, null
in
Contributed Library Questions
•
2 years ago
I got this error:
The operator != is undefined for the argument type(s) float, null
on this line:
if(bd.getCentroidX(blobID) != null) {
But without that line i get a nullpointer exeption on:
println(bd.getCentroidX(blobID));
The operator != is undefined for the argument type(s) float, null
on this line:
if(bd.getCentroidX(blobID) != null) {
But without that line i get a nullpointer exeption on:
println(bd.getCentroidX(blobID));
1