c++ - Swift 4 + OpenCV - Detecting quadrilateral corners -


i using opencv 3 , swift 4 build simple application detect 4 corners of quadrilateral contained in acquired photo.

for example, expect following input have following output.

does opencv provide method obtain result? appreciated.

detecting corners easy thing. there couple of direct opencv functions can you. here few things can work on-

1) harris corner detector. here.

2) shi-tomasi corner detector. here.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -