Specialist officers used thermal imaging technology to detect the site of cannabis factory in a terraced house.