Am 05.02.2016 um 17:42 schrieb Gene Heskett: > On Friday 05 February 2016 08:15:32 Dr. Nikolaus Klepp wrote: > >> Am Freitag, 5. Februar 2016 schrieb Gene Heskett: > Then opencv has a what looks like an input buffer size problem. two > screen snapshots attached to show that. The camera only has 2 output > modes according to an lsusb -vv, a jpg in 640x480, which works well, but > is about half resolution. Switching to 1280x1024, its native raw video > format, and while the tcl/tk window is the correct size, about 300 lines > of the bottom of the pix are dropped. I /think/ the target crosshairs > and circle are still correct, in which case I get the impression a few > pixels are missing on the right. But since the horizontal scale is > missing I can't be sure.
One thing i see in your attached screenshot is that the video area in the tk window has not the correct resolution. In my code the resolution was set to 1280x960 for the video. In your screenshot the area for the video is still 1280x960 and not 1280x1024. This leads to the question if all occurrences for the resolution were changed correctly in the python code. The second problem with the missing lower part of the video is a bit strange. The video in your screenshot has a resolution of 1280x720 (16:9). Could it be that your camera maybe is in widescreen format and 1280x720 is the native resolution? This could explain why the grid is cropped at the lower end because the program thinks the resolution is 1280x1024 when it in reality is 1280x720. The calculation for the position of the grid would then be starting below the video frame. But this is only a wild guess. What native resolution does other programs show for your camera like vlc or guvc-view? Ciao, Rainer ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users