to detect leaf picture