In the mirror your image is often more about what you want to see. You can gloss over the bits you don't like, sometimes you put mirrors where the lighting flatters etc... That's normal. If you see ugly, unattractive it's either you have learned to be totally honest with yourself (rare) or you might have a variant of dysmorphia. Love me those who can see themselves as far when they are painfully thin.
The camera is often a truer picture. However that truth is the truth that existed at that time, an unkind angle, a harsh light, an unguarded moment can all make even a beautiful person ugly. Sometimes it is now you are seen by others that matters. Maybe ask a friend to take some pictures when you are not aware, better still a short video. You might be surprised at how you seen when the image rather than being posed shows you as a living, moving being.
And don't forget, if you meet the right person it won't matter, what you will see in their eyes when they look at you will make all the difference.