Catalyzes the conversion of L-ornithine into L-proline with release of ammonia. L-ornithine = L-proline + NH4(+) Amino-acid biosynthesis; L-proline biosynthesis; L-proline from L-ornithine: step 1/1. Belongs to the ornithine cyclodeaminase/mu-crystallin family.