Ask Your Question

How do I keep an object in the same place?

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

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

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

Ziri gravatar image

Use findHomography to get the right transformation matrix.

edit flag offensive delete link more


...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:

kbarni gravatar imagekbarni ( 2018-07-06 08:22:13 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


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

Seen: 78 times

Last updated: Jul 06 '18