Crashes with detectobject

I have found a bug with DetectObject from the addonpack.

I’ve tried both 45beta34.1_x86 and 45beta34.2_x86 under Windows 8.

The issue is if you change texture source (eg a new filetexture) for DetectObject sooner or later I will get a ‘vvvv has stopped working’ crash. For me it’s after only 3 - 5 texture changes.

Test patch with test files attached.

Problem Event Name: APPCRASH
Application Name: vvvv.exe
Application Version: 34.2.1324.0
Application Timestamp: 5628f6f1
Fault Module Name: DetectObject.dll
Fault Module Version:
Fault Module Timestamp: 4fe8b58e
Exception Code: c0000005
Exception Offset: 000025b6
OS Version: 6.3.9600.
Locale ID: 2057
Additional Information 1: 5861
Additional Information 2: 5861822e1919d7c014bbb064c64908b2
Additional Information 3: 1318
Additional Information 4: 13181ae637ac2592fac0ca2dd662cdcc (359.1 kB)

there is another DetectObject node coming with the image pack apparently provided by @alg
you may want to see if thats working better for you.

ur video has to be RGB format

Same for me. vvvv_45beta34.2_x86 crashes with a Runtime Error when I try DetectObject(Freeframe) and with the DetectObject(Imagepack). The haarcascades are not within the Imagepack, so I use these files for both trackers:

I use win10

@tobyk i was able to work around your problem by having the size of the textures not change. ie. on the FileTexture (EX9.Texture) i set a fix value for Width and Height via inspektor.