901

(2 replies, posted in Bug reports)

Hi,
Yes good markers will go a long way to improve tracking, especially in case of complex background.

If you are not using version 0.8.22 already then I suggest you try it because it lets you can change the size of the tracking windows (object window and search window).

For the marker design themselves, if size permits, you can use two concentric black and white rings, a bit like an archery target only with black and white stripes. The ring shape is to make them invariant to rotation.

If the video is already on YouTube you can add it like this for example:

[video]https://www.youtube.com/watch?v=20wOlps_Nj0[/video]

902

(29 replies, posted in General)

I uploaded a fixed version of the tool (it is dynamically loaded at run time).
Please check this dedicated topic.

A bug on the Angle to horizontal tool has been reported by samfuen (thanks !).
The bug affects versions 0.8.21 and 0.8.22, possibly older versions.

A corrected version of the tool is available here : 8 - Angle to horizontal.xml

Fixing your Kinovea is simple, download the file and replace the old one in the installation directory, sub directory DrawingTools.

For instance: C:\Program Files\Kinovea\DrawingTools\ or C:\Program Files (x86)\Kinovea\DrawingTools\ for 64bit systems.

904

(29 replies, posted in General)

samfuen wrote:

Hello, I have a problem in kinovea 08.21, because horizontal angle not working. What I should do?. Thanks

Hello,
I assume you are referring to the "Angle to Horizontal" tool. I reproduce a problem where moving the central point causes the drawing to disappear (reference line collapse to a single point). Is it the problem you are experiencing as well ?
Strangely enough the Angle to Vertical tool is not affected. I'll see where the problem is.

It seems the issue may come from the tablet (camera drivers probably).

I found this topic "Dell Venue 8 Pro Camera Resolution changes during video chat" on the Dell forums which despite the title seems to describe your issue.

Also:
Dell Venue 8 Pro: Front camera using Skype or Google Hangouts is super zoomed in

The issue apparently is with desktop apps, not Metro apps. Other posts report color mangling with Google Hangouts.
By the way, do you reproduce the issue with the back camera ?

What version of Kinovea are you using? In recent versions you should be able to tap and drag the picture around and double tap to cycle between fitting the screen and 1x zoom.

Does the picture fill the capture screen but is so large that you cannot see the sides? Or is it that the picture is displayed inside a small rectangle within the capture screen?

On the desktop CTRL+Mouse wheel is bound to zooming. I don't know if the pinch gesture is emulating this or sending its own commands.

I cannot test for touch screens at the moment, I'll see if I can find an emulator somehow.

Try to double tap the image to make it fit the screen.

As an experiment you can also test the camera simulator (just added in 0.8.22). From the Camera tab, click on "Manual connection" button. In the "Type of camera" combo, choose "Camera simulator" and click "Create camera". Create two of them and go into dual camera mode.

From their configuration you can set them to HD 720 @ 30fps for example, and see if the framerate stays stable, with and without recording.

Hi,
I would say this indicates that the dual recording is too CPU intensive and both playback and recording can't happen in real time.
Can you try with two webcams of different models ? There might be an additional complication with using two cameras of the same model.

910

(9 replies, posted in General)

Distortion correction in action in a less rigorous setting.

http://www.kinovea.org/screencaps/0.8.x/lensdistortion/distortedsquash.jpg
Fig 1. Plane mapping on a video from a different camera and at different resolution than the camera used to compute the distortion coefficients.

Here for example I have downloaded a squash video off YouTube in a crappy resolution (426×240). The only thing I know about the video is that it was filmed with a GoPro at the "Wide" setting (170°).

I imported distortion coefficients from my own camera and added a grid tool (in green) simply placing its four corners at field marks. Even though the cameras used are not the same, the grid tool can still be used if the required accuracy is not down to the centimeter. For example coordinates of points on the grid could be used to create a heat map of foot positions (and see how "hot" is the T for a particular play).

For better accuracy the calibration should be done on the same camera. The assembly process introduces small differences from one camera to another.

911

(9 replies, posted in General)

More progress, almost done:

http://www.kinovea.org/screencaps/0.8.x/lensdistortion/distortedcoordinatesystem-s.png
Fig1. Final coordinate system with perspective and distortion correction.


http://www.kinovea.org/screencaps/0.8.x/lensdistortion/cameracalibrationdialog.png
Fig 2. The camera calibration dialog. Here the coefficients correspond to a GoPro Hero 2 in Medium mode (127°).


Basically there are two ways to get the distortion coefficients. Both imply filming a checkerboard like pattern, then:

  • In Kinovea, by creating several "Distortion grids", positionning them manually and then clicking "Calibrate camera" in this dialog.

  • By using Agisoft Lens (freeware), importing the images and performing the (automated) calibration there. Then by importing the resulting XML file in Kinovea through this dialog.

This is a one-time-per-camera operation.

The "Image" tab shows a rectified version of the current image, however it is for ballpark verification, there is currently no plan to provide real time image rectification.

I'll describe in more details later how I verify that the lens distortion and perspective correction are correct.

912

(12 replies, posted in Cameras and hardware)

Unfortunately I never had the chance to play with an HDV camera, so I never tested this first hand. I read here and there that grabbing the HDV stream in DirectShow is more involved than for DV, so I'm not convinced it ever worked.
If anyone has a working setup streaming HDV through Firewire in Kinovea please report.

913

(1 replies, posted in Cameras and hardware)

The most probable cause is that the streaming format is not supported. At the moment the number of supported formats for network streams is rather limited: only MJPEG and JPEG.
If you want you can try to get it to work in "iSpy" and/or "VLC" and report which type of connection worked.

914

(9 replies, posted in General)

I am making a rather large detour through projective geometry, homogenous coordinates and line clipping algorithms to fix the rendering of the coordinate system related to the plane calibration. Since the plane and the origin are user-defined, there is plenty of room for awkward cases and unusual sizes or orientations.

http://www.kinovea.org/screencaps/0.8.x/lensdistortion/projective-plane-0.8.22b.png
Fig 1. 0.8.22, with an example of a completely broken rendering of the coordinate system: Visible vanishing point, lines behind the camera projected above the horizon, limited extension of the grid on the plane yielding mostly empty space.

http://www.kinovea.org/screencaps/0.8.x/lensdistortion/projective-plane-0.8.23b.png
Fig 2. 0.8.23, better rendering of the same coordinate system. (No 3D framework involved, pure projective geometry).

Hi,
Once you have done the calibration in the first video, you can save the corresponding KVA file from the save menu.
You can then import it to other videos from the "Load Key images data" menu. It will import the calibration.

Optional:
If the camera is completely fixed and you only work with videos from this camera, you can have this calibration file automatically imported on every video you open.
To do this you must rename the KVA to "playback.kva" and store it in the %appdata% directory. (For example : "C:\Users\joan\AppData\Roaming\Kinovea"). To stop using it, delete or rename the file.

Additional notes:
- You can safely delete the line that was used to create the calibration in the first place, it will not kill the calibration.
- It will work for plane calibration as well.
- When importing on a video of different resolution, the calibration is "adapted" to the target file.