Text this: Analysis of adaptive threshold value using weighted global and local approach method for herbs leaves image data