setFromBitmap

fun setFromBitmap(bmp: Bitmap, thresold: Double = 0.5)