简体   繁体   中英

How can I detect an object (with the camera) within an image, and make a new image of this object?

Within my project I'm using the camera function of the iPhone. I'd like to take a picture of a card (Rectangle shape). After I take this picture I'd like to scale and fit this card to a new image.

Can anyone point me in the right direction for making these functions? (are there any libraries or so?)

Help is greatly appreciated

Read about OpenCV . It's easy to port it on iPhone. But it isn't so easy to use it. Grab a book about OpenCV for weekend reading and on monday you'll easy solve your task.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM