Ask Your Question
0

Train movement analysis. Movement direction detecion.

asked 2015-01-07 09:48:45 -0600

paulpl gravatar image

Hi, i have found many materials in web about tracking an objects while camera is steady and the objects are moving but it didnt help me. I need to do a project with a camera attached to the front of train and detect a movement direction of it based on video analysis. Can someone help me what methods are best to use in it. I heard something about optical flow but im really not good at it and dont know what will be best.

edit retag flag offensive close merge delete

Comments

I think this will help you.

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-01-07 10:03:51 -0600 )edit
1

for that kind of 'global motion' you could try the phase_corr.cpp from opencv's c++ samples

(it's pretty easy, too !)

berak gravatar imageberak ( 2015-01-07 10:12:36 -0600 )edit

could the camera film behind the train?

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-01-08 02:25:09 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-01-07 16:07:24 -0600

If "camera attached to the front of train" and looks ahead phase correlation will not give appropriate result, thus optical flow is better (but not the only method). If it looks to the side -- phase correlation should be enough.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-01-07 09:48:45 -0600

Seen: 333 times

Last updated: Jan 07 '15