What is the correct way to say: "I thought you were somebody else." In English if you mistake someone for another person it is common to say "I'm sorry, I thought you were someone else".

How should this be said in Chinese?
噢，不好意思，我认错人了。


This is what I usually say in a real conversation.