OK, thanks. Yes when you use line calibration the line becomes the X axis of the coordinate system. This is new in the latest version. I have just recently added code so that you can now choose to assign the vertical axis to the line instead, or ignore the line direction altogether and use a coordinate system aligned with image axes as it was in previous versions. There are still two issues to address though, what to do when the line is tracked, the coordinate system origin is tracked, or both, and fix the displacement values in the kinematics dialog.

Is it a vertical video? If you go to menu Image > Rotation does it say that it's rotated 90° already?

Typically these action cameras don't have streaming capabilities of the full resolution/framerate. How are you connecting it to the PC? Generally the WiFi link can be used to start/stop recording and control some settings, sometimes to get a low-res preview, but not stream the full live video live. I'm actually surprised you can even get a 30 fps feed. Or are you going through the HDMI output?

Regarding the beta version, do you see the thumbnail of the camera in the camera panel? You need to switch to the camera tab first in the explorer on the left-hand side.

Thanks :-)

I think you're right, the total displacement doesn't take into account the moving origin. I'll make more experiments.

Edit: OK there is definitely a bad interference between the coordinate system and the calibration line that follows from recent changes.

When you calibrate a line it will redefine the origin of the coordinate system to the start point of that line, maybe that's the trouble? You can move the origin away from the line by dragging the axes but if the line itself is tracked this might interfere. I haven't tested tracking both the calibration line and the coordinate system origin, this probably won't work well. It's possible there is a bug between the interaction of the coordinate system and the calibration line because this was changed recently.

The calibration stays in memory and is saved in the KVA file. If you make a new one it should overwrite it. At the moment you can't really reset to the uncalibrated state (short of editing the KVA file manually), this would be nice to have though!

There is a bug that was fixed recently but is not fixed in 0.9.3, is that the Linear kinematics dialog will show values in pixels instead of the calibrated unit, until some internal flag is triggered somewhere else. The easiest way to work around this is to go to the preferences and save them without changing anything and it should make the values display in the calibrated unit.

You can also right click a point and do "Display measurement" to show the coordinates directly on the screen, it should be easier for experimenting.

Yes that's it, the measurements of the second point will be relative to the first.

Thanks for reporting that the coordinate system point is itself visible in the Linear Kinematics graphs, it doesn't really make sense to show it here since it's always zero by definition, I'll note to remove it for future versions.

Maybe one way to do what you are looking for would be to have one tracked point be the origin of the coordinate system, and the other being a regular trajectory or tracked point.

You can show the coordinate system from menu Tools > Coordinate system, it is trackable. Normally if you track the coordinate system itself the other tracked points will be expressed in the moving coordinate system.

Regarding flickering, assuming it's coming from the mains AC frequency at 50Hz or 60Hz, can you guys try to set the camera framerate to a multiple of this to see if it improves the situation? Although I imagine you'll have 1/2 chance of synchronizing to the dark part of the flicker.

474

(42 replies, posted in General)

Dr.Dank wrote:

the graphs don't follow the scale set by calibrated lines and all accelerations are shown as zero.

You're right, there is something weird going on. If you go to Preferences > Playback > Units and simply hit save, then open the diagrams dialog again, it should be in the correct units… I'll investigate.

Being the second derivative acceleration is super sensible to even the smallest noise in the positions, and the normal filtering usually don't fix it, and you will get values that go up and down when they really shouldn't. Use this as an approximation. To give an idea, we tested with a simple ball in free fall and it was already hard to get a consistent g, instead we got something varying between 8 and 10 m/s².

The diagrams are somewhat interactive by the way, you can hover the mouse over the Y axis values and scroll, and it will rescale the axis. Inside the graph you can right click and drag to move around.

edit: OK I think I found the issue with the initialization of the speed and acceleration units. This should work in the next version.

When installing the Camera Software Suite or the runtime redistributables, it is necessary to use the "Custom" option in the installer, expand the "pylon Runtime" node and select "pylon C .NET Runtime" option.

If you have already installed the software you can re-run the installer and choose "Modify the current installation".

https://www.kinovea.org/screencaps/0.9.2/pylon-install.png

476

(42 replies, posted in General)

Dr.Dank wrote:

Something I didn't mention in my last post is that some of the videos only play until about halfway through. Converting to .mp4 seems to get around that problem, too.

vbendus reported a similar issue here: https://www.kinovea.org/en/forum/viewtopic.php?id=960

Are the video filmed with the default camera app on the iPhone or something else?

If you are used to version 0.8.15 note that the cameras now have their own tab in the explorer panel on the left. Instead of the old way of opening a capture screen first and selecting the source from its settings, you open the camera explorer and launch a camera from there (list or thumbnail) or drag and drop it to a capture screen.

478

(42 replies, posted in General)

Thanks for the sample, I can reproduce the issue right away. Already when advancing in the video there is a problem in the timestamps. It looks like after some point the timestamp is repeated and the next one is skipped. I'm not sure where this is coming from. I get the timestamp from the video decoding library.

As a temporary work around you could use the Tools > Linear kinematics window to export the data instead of Export to spreadsheet. The Linear kinematics window is newer and eventually the Export to spreadsheet function will be re-implemented on top of it. However this only lets you export one measurement at a time.

Another bug I see is that you have set a time origin but the trajectory times are still relative to the beginning of the video.

First of all please confirm you are using Kinovea 0.9.3 because the old 0.8.15 doesn't support the Pylon SDK.
The current version 0.9.3 is built against Pylon SDK 6.0. I haven't tested it against their latest 6.1.
Go to the log (menu Help > Open log folder, then open log.txt), in the first few lines after an empty space where the program restarts, you should find the camera initializations. There should be something like this:

932 - DEBUG - [Main] - RootKernel - Loading camera managers.
990 - INFO  - [Main] - CameraTypeManager - Initialized Basler camera manager.
...

If you have an error message instead of this please post it here or post the log or send the log at joan at kinovea dot org.
If you don't have an error message, can you see the thumbnail of the camera in the camera explorer?

I'm not sure what you mean by a pause of 9ms to 20ms, at 30 frames per second the frame interval is 33ms. Is the pause only when you replay the file now? Is it always at the same point in the video or does it change? Does the video speed decrease on its own?