Results 2 comments of haowei

@ravich2-7183 Thank you for your help. I will try to use OpenCV2.4.9 to see if the problem would be solved.

You might need to check whether you have your camera opened. And change the launch file to make ptam.launch subscribe the topic which your camera published.