If your future goal is getting a high paying job, choose the M.Tech program at IIIT Hyderabad.The course fee is high but an average package of around INR 31 LPA is offered to M.Tech students. Thus, you will be able to easily cover your education expenses within a year of your job.
If you are really interested in Research, you should choose the MS by Research program. The average time for completing the MS program is 3 years, but depending upon your guide, you can also complete the program earlier than that. At present, the duration has even come down to 2.5 years.
MS students sit with M.Tech students during IIIT Hyderabad placements and get equal placement opportunities. However, as an MS student you will get so involved in research work that instead of going for a job you will probably end up doing Ph.D. If you are interested in CV/ML, its course structure and guidance at IIIT Hyderabad are top notch. The MS course is very flexible and you study subjects that are relevant for your research.
Overall, whether you go for MS by Research or M.Tech at IIIT Hyderabad is a matter of your personal goals.