Text this: An Improved Framework Of Region Segmentation For Diagnosing Thermal Condition Of Electrical Installation Based On Infrared Image Analysis