Ask Your Question
0

How do I keep an object in the same place?

asked 2018-07-05 16:14:02 -0600

janusa gravatar image

I'm processing a video of a person but their head is really shaky. What is the best way to "stabilize" the head? Is there any way a can select an object in the face (the nose or an eyes) and try to find a translation value for the next frame in order for that object to be in the same position in the whole video? I have searched for solutions but they warp the imagem I can't have any warping.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-07-06 04:20:03 -0600

Ziri gravatar image

Use findHomography to get the right transformation matrix.

edit flag offensive delete link more

Comments

...with SIFT or SURF (eventually ORB) detector to get the keypoints, and a FLANN or BF matcher to find the matching pairs.

Try this tutorial to begin with: https://docs.opencv.org/2.4/doc/tutor...

kbarni gravatar imagekbarni ( 2018-07-06 08:22:13 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-07-05 16:14:02 -0600

Seen: 143 times

Last updated: Jul 06 '18