A Diamond in the rough… someone that has hidden exceptional characteristics and/or future potential, but currently lacks the final touches that would make them truly stand out from the crowd.
The phrase is metaphorical and relates to the fact that naturally occurring diamonds are quite ordinary at first glance, and that their true beauty as jewels is only realized through the cutting and polishing process.