You can choose the formal one to be put on your CV or the casual one is okay as well. Before that, there are some things you should consider in choosing a profile photo on your CV. you can adjust to the industry and position you want.
For example: if you want to apply at the bank as a customer service, it would be better if your photo is formal, with clothes and a formal style, but remember, don’t make it looks stiff.
On the other hand, if you want to apply for a creative industry, your photo can be as simple as possible, with a casual and catchy outfit but still looks polite. This photo will also show your creative skills!
Here are another things you should consider for putting your photo on your CV are: