Perspective correction of UIImage from Points

前端 未结 4 2030
孤独总比滥情好
孤独总比滥情好 2020-12-23 10:30

I\'m working on a app where I\'ll let the user take a picture e.g of a business card or photograph.

The user will then mark the four corners of the object (which the

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-23 11:27

    If this image were loaded in as a texture, it'd be extremely simple to skew it using OpenGL. You'd literally just draw a full-screen quad and use the yellow correction points as the UV coordinate at each point.

提交回复
热议问题