merge textdetect