1 (edited by kate.g 2023-11-11 13:29:38)

Hi,
Unfortunatly I cannot use the track path function on both versions anymore.
When I start using the function the following message pops up immediately:
"Unhandled exception has occured in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
OpenCV: Bad input roi."

I tried both - to quit and continue, but it is not working.

Please help, thanks!

Here is the full text of the error (when open Details):
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
Emgu.CV.Util.CvException: OpenCV: Bad input roi
   at Emgu.CV.CvInvoke.CvErrorHandler(Int32 status, IntPtr funcName, IntPtr errMsg, IntPtr fileName, Int32 line, IntPtr userData)
   at Emgu.CV.CvInvoke.cvCreateImageHeader(Size size, IPL_DEPTH depth, Int32 channels)
   at Emgu.CV.Image`2.AllocateData(Int32 rows, Int32 cols, Int32 numberOfChannels)
   at Kinovea.ScreenManager.TrackerBlock2.Track(List`1 previousPoints, Bitmap currentImage, Int64 position, AbstractTrackPoint& currentPoint)
   at Kinovea.ScreenManager.DrawingTrack.TrackCurrentPosition(VideoFrame current)
   at Kinovea.ScreenManager.Metadata.PerformTracking(VideoFrame videoframe)
   at Kinovea.ScreenManager.PlayerScreenUserInterface.ComputeOrStopTracking(Boolean _contiguous)
   at Kinovea.ScreenManager.PlayerScreenUserInterface.Rendering_Invoked(Int32 missedFrames)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9167.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Kinovea
    Assembly Version: 0.9.5.0
    Win32 Version: 0.9.5.0
    CodeBase: file:///C:/Program%20Files/Kinovea/Kinovea.exe
----------------------------------------
Kinovea.Services
    Assembly Version: 1.0.1.32379
    Win32 Version: 1.0.1.0
    CodeBase: file:///C:/Program%20Files/Kinovea/Kinovea.Services.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9176.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9172.0 built by: NET481REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9037.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
log4net
    Assembly Version: 2.0.8.0
    Win32 Version: 2.0.8.0
    CodeBase: file:///C:/Program%20Files/Kinovea/log4net.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9037.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9166.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9037.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Kinovea.resources
    Assembly Version: 0.9.5.0
    Win32 Version: 0.9.5.0
    CodeBase: file:///C:/Program%20Files/Kinovea/ru/Kinovea.resources.DLL
----------------------------------------
Kinovea.Video.Bitmap
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0
    CodeBase: file:///C:/Program%20Files/Kinovea/Kinovea.Video.Bitmap.DLL
----------------------------------------
Kinovea.Video
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0
    CodeBase: file:///C:/Program%20Files/Kinovea/Kinovea.Video.DLL
----------------------------------------
Kinovea.Video.FFMpeg
    Assembly Version: 1.0.1.30581
    Win32 Version:
    CodeBase: file:///C:/Program%20Files/Kinovea/Kinovea.Video.FFMpeg.DLL
----------------------------------------
Kinovea.Video.GIF
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0
    CodeBase: file:///C:/Program%20Files/Kinovea/Kinovea.Video.GIF.DLL
----------------------------------------
Kinovea.Video.SVG
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0
    CodeBase: file:///C:/Program%20Files/Kinovea/Kinovea.Video.SVG.DLL
----------------------------------------
Kinovea.Video.Synthetic
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0
    CodeBase: file:///C:/Program%20Files/Kinovea/Kinovea.Video.Synthetic.DLL
----------------------------------------
Kinovea.Camera.DirectShow
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0
    CodeBase: file:///C:/Program%20Files/Kinovea/Kinovea.Camera.DirectShow.DLL
----------------------------------------
Kinovea.Camera
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0
    CodeBase: file:///C:/Program%20Files/Kinovea/Kinovea.Camera.DLL
----------------------------------------
Kinovea.Camera.HTTP
    Assembly Version: 1.0.7953.32382
    Win32 Version: 1.0.7953.32382
    CodeBase: file:///C:/Program%20Files/Kinovea/Kinovea.Camera.HTTP.DLL
----------------------------------------
Kinovea.Camera.FrameGenerator
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/Kinovea/Kinovea.Camera.FrameGenerator.DLL
----------------------------------------
Kinovea.ScreenManager
    Assembly Version: 1.0.1.0
    Win32 Version: 1.0.1.0
    CodeBase: file:///C:/Program%20Files/Kinovea/Kinovea.ScreenManager.DLL
----------------------------------------
Kinovea.Camera.resources
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0
    CodeBase: file:///C:/Program%20Files/Kinovea/ru/Kinovea.Camera.resources.DLL
----------------------------------------
Kinovea.ScreenManager.resources
    Assembly Version: 1.0.1.0
    Win32 Version: 1.0.1.0
    CodeBase: file:///C:/Program%20Files/Kinovea/ru/Kinovea.ScreenManager.resources.DLL
----------------------------------------
Kinovea.FileBrowser
    Assembly Version: 1.0.1.32382
    Win32 Version: 1.0.1.0
    CodeBase: file:///C:/Program%20Files/Kinovea/Kinovea.FileBrowser.DLL
----------------------------------------
Kinovea.Updater
    Assembly Version: 1.0.1.32380
    Win32 Version: 1.0.1.0
    CodeBase: file:///C:/Program%20Files/Kinovea/Kinovea.Updater.DLL
----------------------------------------
ExpTreeLib
    Assembly Version: 2.11.7185.42776
    Win32 Version: 2.11.7185.42776
    CodeBase: file:///C:/Program%20Files/Kinovea/ExpTreeLib.DLL
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 14.8.9037.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
Kinovea.FileBrowser.resources
    Assembly Version: 1.0.1.32382
    Win32 Version: 1.0.1.0
    CodeBase: file:///C:/Program%20Files/Kinovea/ru/Kinovea.FileBrowser.resources.DLL
----------------------------------------
System.Windows.Forms.resources
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9037.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
Kinovea.Updater.resources
    Assembly Version: 1.0.1.32380
    Win32 Version: 1.0.1.0
    CodeBase: file:///C:/Program%20Files/Kinovea/ru/Kinovea.Updater.resources.DLL
----------------------------------------
mscorlib.resources
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9037.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
AForge.Video.DirectShow
    Assembly Version: 2.2.5.0
    Win32 Version: 2.2.5.0
    CodeBase: file:///C:/Program%20Files/Kinovea/AForge.Video.DirectShow.DLL
----------------------------------------
Kinovea.Pipeline
    Assembly Version: 1.0.1.0
    Win32 Version: 1.0.1.0
    CodeBase: file:///C:/Program%20Files/Kinovea/Kinovea.Pipeline.DLL
----------------------------------------
AForge.Video
    Assembly Version: 2.2.5.0
    Win32 Version: 2.2.5.0
    CodeBase: file:///C:/Program%20Files/Kinovea/AForge.Video.DLL
----------------------------------------
Emgu.CV
    Assembly Version: 2.4.10.1939
    Win32 Version: 2.4.10.1939
    CodeBase: file:///C:/Program%20Files/Kinovea/Emgu.CV.DLL
----------------------------------------
Emgu.Util
    Assembly Version: 2.4.10.1939
    Win32 Version: 2.4.10.1939
    CodeBase: file:///C:/Program%20Files/Kinovea/Emgu.Util.DLL
----------------------------------------
NAudio
    Assembly Version: 1.9.0.0
    Win32 Version: 1.9.0.0
    CodeBase: file:///C:/Program%20Files/Kinovea/NAudio.DLL
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9037.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
MathNet.Numerics
    Assembly Version: 4.8.1.0
    Win32 Version: 4.8.1.0
    CodeBase: file:///C:/Program%20Files/Kinovea/MathNet.Numerics.DLL
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9037.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

2

Hi,

I have exactly the same problem... very annoying.
If someone can help us, please, thanks!