Thanks.

For 2. Guides, I think the simplest way to implement that at the moment would be an option to enable "snapping" to a virtual grid, like every 20 pixels or similar. I will double check how it works in various software.

I think the other solution is that the first object is placed freely and then when you move another one there is a guideline that appears to align it. This second solution means it needs to check all other objects while moving. But it allows aligning center to center which could be desirable. If you have a prototypical example of an application where it works well don't hesitate to share.

I would like to find something useful while keeping things visually simple.

I know of one example where it just snaps the center of the rectangle to evenly spaced virtual grid lines, this is nice and simple (but can't left-align, they are always center-aligned).

For 3. element size, is it about the timer/labels? The object size is based on the font size for these.

Yes, it's crucially important! I made a fix and I'm testing it.

18

(4 replies, posted in Bug reports)

Thanks, can you try again please? There was one component locked and I integrated all the pending translations into Kinovea.

The error you got appears to be an issue between weblate and github though, so in that case there is not much I can do, it will probably fix itself after a while.

I would prefer that you update the translation directly where you think it can be improved rather than submit suggestions. I don't get a notification on suggestions and they end up in limbo.

19

(4 replies, posted in General)

The "RenameSelected" command is only for the thumbnail view in the file explorer or camera explorer, to rename files or cameras.

There is not really any shortcut to bring up this properties dialog. The closest thing is to open the annotation pane on the right, on the second tab, and rename the objects from there.

Thanks. I can reproduce the issue here and I see where the problem is. The bug is in the time conversion unfortunately, not the name.

I'll look into it ASAP. Someone also reported an issue on github with the same root cause.

21

(4 replies, posted in General)

Hmm, it looks like the dual playback shortcuts only work when the joint controls bar at the bottom has the focus. I thought I fixed this a while back, I'll look into it. In the meantime if it's a shortcut that also exist in single screens in the PlayerScreen category you might set it there and it should send the command to both screens.

Which one do you mean by "Object Rename"?

22

(1 replies, posted in General)

Can you expand a bit? Do you capture the video on the camera or in Kinovea?
There is a speed slider at the bottom, does that not work?

23

(2 replies, posted in General)

Thanks for the description, I'll do some tests.

When the trigger happens do you see the capture window switching to recording at all with the red bar? Or is it not armed at all and the trigger is completely ignored?

If it's recording but the output file is not updated it's probably because it's already opened in the playback window as you mention using a static filename. Can you try with a dynamic filename just to see if that's the cause of the problem? (Just enabling "auto-numbering" should be enough to test this).

If that's the origin of the problem it might be tricky, maybe we need a different mechanism where it cycles between a few files instead of just one. This could be an extra option next to "auto-numbering" for the max allowed number and when it reaches that number it goes back to 0 and starts again.

24

(18 replies, posted in General)

When the search box is too small you can use the number boxes below, if you click in them you can then scroll up/down with the mouse to change it easily.

The forum doesn't have its own image hosting sorry. You'll have to upload the images somewhere else and link to them.
If you prefer you can create an issue in github and you can attach images there. https://github.com/Kinovea/Kinovea/issues

Are the files on a OneDrive folder or another synchronized folder like Google drive or similar by any chance? This is known to cause problems for some reason.

I remember now, the issue with immediately killing the tracking as soon as it fails is that it breaks when the object is temporarily occluded, for example an arm or leg passes in front of it. The idea was that when this happens it keeps looking and when the occlusion is over it might recover the tracking by itself if it's still inside the search window.

What I would like to do is add an option somewhere to tell how many frames of failed tracking are allowed before the playback is stopped. 3 or 4 frames should be a good default I think, but if you want you could set it to 1 and get the same behavior as in Tracker.

Or maybe playback should always stop on failure and it's the track that is force-closed after n failures.

I'm not reproducing the problem at the moment. Can you add more details or send a file?
Just to confirm, you are talking about individual trajectory objects, correct?
How many trajectories are there in total?
Are they starting at the same time or later in the video? Do they overlap?

It should be possible to make the audio trigger add a key frame. Then we can jump between key frames using a keyboard shortcut or button. The key frames could be on the ball impact or moved back to the start of the swing based on the delay value. The swings would not be neatly separated into their own "clips" though, so playback would just continue into the next swing. I experimented with a multi clips system at some point but didn't go too far.

I have been using the recording delay with audio trigger and that works fine but I would rather view my swing stance/setup/other variables in real time without the 2-3 second delay needed to capture the entire swing. from the audio trigger.

You can switch between real time and delayed using the third button in the recording toolbar, the blue circle with dots around, next to the "pause" one. It will turn orange when the view is live. This is independent from recording settings, it's just for the preview.

Also - would be nice to have an option for a counter for the recordings as opposed to date time, a date + counter would be easier to reference.

Yes. One difficulty with counters is that if they are global it makes things a bit complicated when using multiple capture screens or instances, and it's hard to know if it should increment after each capture or only after each global trigger, and how to let the user reset it.

You could sort of do it manually right now with a context file with one number per line. You would need to manually click on the next number from the drop down though.

If you see the "Device property pages" button at all it means it's not using the GenICam plugin but the DirectShow one to connect to the camera. This probably doesn't work with ROI as the stream formats in DirectShow are always full size. If you see two entries for the camera try the other one. There might be a conflict if it tries to load the camera through both at the same time usually I have to exclude the DirectShow ones by hand. I need to add more options related to this.

I can't access huateng website right now for some reason. The thing to look for is when they install the driver or runtime, if they are installing .cti files somewhere and updating the environment variable.
To verify, go to Windows settings > environment variables > and in the System variables list at the bottom there should be a GENICAM_GENTL64_PATH. Double click it and see if there is an entry for huateng software in there. It should point to a path that contains the .cti files. (All of this is standard and should be set by the vendor software).

You can also activate the debug logs from the help menu and then restart and in the logs there should be an entry when it tries to load the GenTL provider. This may be a bit cryptic you can send me the logs if you want and I'll have a look.

If you can share the video privately it would be great to see where it falls short to improve the algorithm or the experience.

The core tracking algorithm in Tracker and Kinovea are fairly similar. They are both based on tracking a template inside a search area and update the template based on some heuristics.

Depending on the failure case you might try different values for the match and update thresholds. This is how Kinovea controls template update (Tracker uses different mechanics with "evolve" and "tether").

For example if it gets the wrong marker too often you can increase the "match threshold". When it fails and you replace it manually it will reset the template.

I see now that it doesn't actually stop the playback when it looses tracking, I agree it probably should, I think this behavior was changed at some point. I'll fix that or at least make it an option you can toggle on/off.

You can also increase the update threshold to 0.85 or 0.90, if the tracked object visually changes a lot this will update the template more often and can improve things.

One of the most important thing is that the object window, which defines the template, should be as tight as possible around the physical marker to avoid picking too much background (but still have some details in it). The search window should be large enough to cover marker motion but not too large that it might get confused with another marker.

A round shaped marker will work better (in both software) because an "X" shape will vary under rotation. (we don't look for the rotated template, only slide the template inside the search area and compute a score based on pixel correspondences).

If you can share the video with me I would love to test it.

It sounds like a bug. I will try to reproduce it. If you can share a real world file with me at joan at kinovea dot org it would be great, to make sure the fix works.