Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video appears misaligned by 2 pixels #2

Open
dreamcat4 opened this issue Jun 24, 2011 · 4 comments
Open

Video appears misaligned by 2 pixels #2

dreamcat4 opened this issue Jun 24, 2011 · 4 comments

Comments

@dreamcat4
Copy link

 ./run_tld ../parameters.yml -s motorbike.mp4 

Source video (motorbike.mp4) appears misaligned. Its slanted diagonally across the screen. This is weird because it plays correctly in other applications.

Either a couple of pixels are added at the end of each line, shifting it across a little too much each time. Or otherwise the horizontal width of the window is not quite enough. The window seems too small by 2 pixel per line.

I'm not sure if its OpenTLD or the input video. It would be a good idea for others to try using different source video also. With the new -s switch

@alantrrs
Copy link
Owner

Thats weird I do get a 2 pixel horizontal offset in the left margin but I don't get a slanted image. The offset is constant in all the rows.

@dreamcat4
Copy link
Author

Screenshot:

https://gist.github.com/1045468

Note: This is OpenCV on Mac OS X.

@alantrrs
Copy link
Owner

Wow..that's weird, maybe other Mac users should comment on this, I think it might be a OpenCV bug in Mac, what version are you using. Im using 2.2
Check this thread tl;dr
http://tech.groups.yahoo.com/group/OpenCV/message/53785

@dreamcat4
Copy link
Author

Thank you Alan, that link to OpenCV forum provides valuable information, very encouraging. I believe i also have some kind of OpenCV 2.2, which was installed recently with the Homebrew Mac OS X package manager.

At any rate, its good news to hear that the other platforms aren't affected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants