Troubles in running STIP (Space-Time Interest Points) in windows - matlab

I'v downloaded the windows version of STIP (space-time interest points) named stip-1.1.-winlinux.zip
I'm trying to run it from Matlab using the command:
system('bin\stipdet.exe -f data\walk-simple.avi -o data\walk-simple-stip2.txt');
But I'm getting the following error: "Could not initialize capturing from data\walk-simple.avi... "
It seems that it somehow trying to capture a video from the camera instead of using the input file.
I'm working on windows8 with Matlab 2013a. I already added all the dll's needed in order to run the package. The input file exist, so that certainly not the problem.
Has anyone managed to run in on windows? Any help will be greatly values as I'm quite stuck and really have no idea how to solve it.
Thanks,
Gil.

Install the Xvid codec, not the DivX codec

Installing XVid codecs worked for me.
https://www.xvid.com/download/
Also needs OpenCV 1.0 for correct .dlls
http://opencv.org/downloads.html

try installing DivX video codec .

Related

Why is there no .gz file in my unity build?

In my unity build(2020.3.22f1), I am running it inside of WebGL. I get this error when I try to run it. This is the error shown.
Any Help?
If your binary-files do not end up with ".gz" the compression format in your publishing setting might not be GZIP.

Mallet download issues

I am really new to this type of computer work and am having trouble creating the path. I looked up a tutorial on how to do this online and followed everything to a tee, but when I try to change the directory path it is not working. Here's what I did -
download Java Development Kit
Download Mallet 2.0.7
Move Mallet 2.0.7 download to my c-drive
added a new environmental variable - C:\mallet-2.0.7
Using the cmd I've got C:>cd mallet-2.0.7
Then I get the error message "The system cannot find the path specified"
Anyone have tips on what I'm doing wrong?
This is really a windows issue, not a Mallet issue, but please note that Mallet 2.0.7 is out of date. 2.0.8 has many bug fixes and performance improvements.

Error while running CsipSample code.

I downloaded Csipsample from google code and trying to work on that.I built the app based on the instructions given in https://code.google.com/p/csipsimple/wiki/HowToBuild
while running the app on my mobile it is giving
"can't load native library. cpu arch invalid for this build"
Even when i try to run it on Emulator also it is giving the same error.In some forum i found there might be problem with .so files. Even i tried that one also but still its not working.
The same problem i found here also :
https://groups.google.com/forum/#!topic/csipsimple-dev/uxkRx1vmzNk
Can anyone please give a solution for this ?
Simply rename your Lib folder with Libs

tesseract training new fonts fail

I was able install tesseract and train new fonts
I had followed all the steps exactly mentioned in http://michaeljaylissner.com/blog/adding-new-fonts-to-tesseract-3-ocr-engine
And now i m testing the traineddata but i get the following error when i run the command
tesseract eng.digital.exp0.tif ./output.txt -l eng
gives me the error
Tesseract Open Source OCR Engine v3.03 with Leptonica
tessdata_manager.SeekToStart(TESSDATA_INTTEMP):Error:Assert failed:in file adaptmatch.cpp, line 522
Abort trap: 6
Now, after this even if i'm trying to train new data, i get this error,
i mean i'm unable to run the following command now
tesseract engg.digital.exp0.tif engg.digital.exp0.box nobatch box.train.stderr
I was able to resolve this error by uninstalling and installing tesseract again.
Could you guys help me, if there is an easier way to fix this?
Thanks in advance.
Ok i have fixed the 2nd time run fail. Basically i was training another font in english and i replaced eng.traineddata in original tessdata folder.. Hence it was failing. I replaced the original eng.traineddata and i can retrain now.
I was receiving this error because names on .box and .tif didnt match. After making sure each pair have language.fontName.countNumber.tif and language.fontName.countNumber.box it stopped crashing at this error.

MonoTouch - System.Reflection.Emit.ModuleBuilder error

I am trying to test my app in IPhone (IOS 5) and I get the following error. It works in simulator without any issues.
I am referencing an external library (NewtonSoft.Json.Monotouch.dll) which seems to be using System.Reflection.Emit.ModuleBuilder. Is there a way to overcome this issue? Any help regarding this is much appreciated.
" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Runtime.Serialization.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Web.Services.dll" -r "/Users/test/application/libraries/Newtonsoft.Json.MonoTouch.dll" -linksdkonly -sdk "5.0" Framework is: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk
Copied
/Users/test/application/bin/iPhone/Release/Unleashed.app
Could not link assemblies: Mono.Linker.ResolutionException: Can not resolve reference: System.Reflection.Emit.ModuleBuilder
Thanks
UPDATE:
Alright, I downloaded the latest NewtonSoft.Json source code from link, compiled the project and dropped the dll into my project. I still have the same issue. I did figure out the class that refers to System.Reflection.Emit. It is DynamicWrapper class in the Utilities folder.
I saw a similar issue posted in another blog link. The responded to the question suggests to set the Liner behavior to "Link all assemblies". Can anyone explain how to set this?
Newtonsoft.Json.MonoTouch.dll is known to work with MonoTouch. I've seen/compiled many application using it myself.
It's likely that you are either using an old or a mis-compiled version of assembly (e.g. missing defines). Difficult to say which without knowing it's origin. Try to track a newer version (or edit your question to include where it comes from).
Note: The fact that it works with the simulator is because a different mscorlib.dll is used to allow JITting (instead of AOTing) the managed code. This allows the simulator builds to be much faster than device builds.
Instead of compiling the Newtonsoft.Json.MonoTouch.dll, which did not work for me either, I downloaded the source code from github and added the project to my solution in MonoTouch and compiled the solution. Only then everything worked. (and of course as popou mentioned do not forget the MONOTOUCH;NET35;SILVERLIGHT options.)