OmarHamdoun / ispyconnect

Automatically exported from code.google.com/p/ispyconnect
0 stars 0 forks source link

ALPR crashes iSpy #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. ALPR Plugin installed like described, Functionality visible in iSpy's HMI
2. Enter a Number in allow list, activate to "beep"
3. Focus camera to a license Plate

What is the expected output? What do you see instead?

Expected: 

-Licence Plate is (hopefully) recognised

Observed: 

-iSpy closes exactely in the moment, when the licenseplate (or somethings that 
looks similar) comes into focus of camera.

What version of the product are you using? On what operating system?

4.5.4.0

ALPR Plugin: downloaded version on Oktober 12th

Please provide any additional information below.

Checking iSpy's logfiles:

Nothing in it (beside starting Numberplate and Overlay dlls)

No difference if I choose "Continuous" or "When Movement"

Camera resolution was 320x240p, Licenseplate big enough to be recognised 
properly

100% reproducible

Running on Windows XP 32bit

Beside this issue iSpy is very reliable.

Cheers,

Henrik

Original issue reported on code.google.com by henrik.h...@googlemail.com on 17 Oct 2012 at 4:07

GoogleCodeExporter commented 9 years ago
Tried same usecase at my Windows 7 PC (32 bit), with differnt camera:

Same result.

Original comment by henrik.h...@googlemail.com on 17 Oct 2012 at 6:52

GoogleCodeExporter commented 9 years ago
Tried same usecase at my Windows 7 PC (32 bit) with new version 4.6.0.0

-> Same problem!

Original comment by henrik.h...@googlemail.com on 17 Oct 2012 at 6:57

GoogleCodeExporter commented 9 years ago
This plugin is experimental - it does work on my pc - have you checked the log 
file?

Original comment by ad...@developerinabox.com on 25 Oct 2012 at 6:21

GoogleCodeExporter commented 9 years ago
Hi,

there is no logfile beside the protocol of iSpy's startup since iSpy crashes 
really "hard" (vanishes).

Message 13:07:21    Checking Plugins...
Message 13:07:21    numberplate
Message 13:07:21    Added: c:\program 
files\ispy\ispy\Plugins\numberplate\NumberPlates.dll
Message 13:07:21    Running External Command: open C:\Users\Henrik 
Heinsch\AppData\Roaming\iSpy\XML\objects.xml

With Version 4.6.0.0 there is an additional line (I think it was not visible on 
V4.5.4.0):

Message 13:07:46    Kinect supporting libraries not installed. (Der 
Typeninitialisierer für "Microsoft.Kinect.KinectSensorCollection" hat eine 
Ausnahme verursacht.)

If I can support with testing special version you can contact me.

Cheers,

Henrik

Original comment by henrik.h...@googlemail.com on 27 Oct 2012 at 11:25

GoogleCodeExporter commented 9 years ago
Yeah getting the same problem here. iSpy crashes as soon as ALPR is activated 
in the alerts section.

Original comment by mikemu...@gmail.com on 3 Nov 2012 at 2:40

GoogleCodeExporter commented 9 years ago
Even i am getting the same issue. I am using Windows 7 64 Bit. Let me know on 
what platform have to tested , so that we could get it working

Original comment by 123mahav...@gmail.com on 28 Jan 2013 at 7:57

GoogleCodeExporter commented 9 years ago
Has anyone gotten iSpy numberplates to work?
This program has really had a lot of bugs in it so far.

Original comment by jerryjon...@gmail.com on 14 Mar 2013 at 4:42

GoogleCodeExporter commented 9 years ago
I am working on Windows 7 x64.

Original comment by jerryjon...@gmail.com on 14 Mar 2013 at 4:43

GoogleCodeExporter commented 9 years ago
You should try to get tesseractengine3.dll compiled for 32bits.

Original comment by gabriela...@gmail.com on 20 Mar 2013 at 1:47

GoogleCodeExporter commented 9 years ago
The issue is still up to date!

Tried today (2013-27-03) with the latest version 4.8.4.0 with latest Plugins on

Win7pro 64bit

--> Same result (iSpy crashes instantly if something like a licenceplate comes 
into focus).

It would be great, if someone could explain how he/she could get it working.

Thanks a lot!

Original comment by henrik.h...@googlemail.com on 27 Mar 2013 at 12:18

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
STOP: Unhandled Exception thrown
Exception=System.AccessViolationException
        _ip=268766508
        _target=0
        _accessType=0
        _className=<null>
        _exceptionMethod=<null>
        _exceptionMethodString=<null>
        _message="Attempted to read or write protected memory. This is often an
indication that other memory is corrupt."
        _data=<null>
        _innerException=<null>
        _helpURL=<null>
        _stackTrace=array [160]
        _watsonBuckets=array [5616]
        _stackTraceString=<null>
        _remoteStackTraceString=<null>
        _remoteStackIndex=0
        _dynamicMethods=<null>
        _HResult=-2147467261
        _source=<null>
        _xptrs=237350848
        _xcode=-1073741819
        _ipForWatsonBuckets=0
        _safeSerializationManager=System.Runtime.Serialization.SafeSerializatio
Manager

This is unhandled exception, continuing will end the process
IP: 415 @ .tesseract.TessBaseAPI.Recognize - MAPPING_EXACT
[p#:0, t#:271] mdbg> printe -r
Exception thrown:
System.AccessViolationException
 at function:
  .tesseract.TessBaseAPI.Recognize
 Message:
 "Attempted to read or write protected memory. This is often an indication that
other memory is corrupt."
run under debugger
[p#:0, t#:271] mdbg> w
Thread [#:271]
    [Internal Frame, 'M-->U']
    [IL Method without Metadata]
*0. .tesseract.TessBaseAPI.Recognize (source line information unavailable)
 1. tesseract.TesseractProcessor.Process (source line information unavailable)
 2. tesseract.TesseractProcessor.Apply (source line information unavailable)

Original comment by r...@ipmgr.com on 7 Jun 2013 at 4:28

GoogleCodeExporter commented 9 years ago
I have found a workaround here
http://msdn.microsoft.com/en-us/library/system.accessviolationexception.aspx

i tried putting this line in iSpy.exe.config like this
....
<runtime>
    <legacyNullReferenceExceptionPolicy enabled = "1"/>             <<-------
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
...........

and now iSpy doesn't crash anymore when numberplate is active. 
BUT the numberplates are still not recognized as expected.

Original comment by 411faren...@gmail.com on 24 Jun 2013 at 3:38