Talk to her, be really honest. Say you liked her al along but was shy before. Then ask her out.
Only 2 things can happen then:
1: She says yes, maybe because she still likes you or maybe because she feels sorry for you. Doesn't really matter, as long as you take it to the next step, which is...