Author
Topic: Minicap Download, Version & -resize (Read 15973 times)

Hey Mouser - I messaged you a while back regarding Minicap and you kindly included the resize values such as -resizex and -resizexp...

However, I came back to download the newest version and several problems arise. (1) When I download the file, the version says installing 1.16.X - but the properties version states 1.08.X... this might not be a problem as the label just couldn't have been changed yet, but it relates to #2 where (2) I attempt to use the -resizex and -resizexp parameters it states "Unknown Command Line Argument"... so either its because the wrong version is uploaded, or im simply calling the method wrong.

I am doing the following:

$command &= ' -resizexp ' & $percent

where my targetimage is an image location to store the screen capture. The _pos values are just for your -captureregion parameter. Now this puppy works just fine without the -resizewhatever line (I have tried exp and x) but I need to resize the image to make it larger for me to work with it better. The problem is, I keep throwing the "Unknown Command Lind Argument" exception....

So, I deleted my entire MiniCap directory just to make sure I was getting the correct version rolling. I downloaded your version you just posted and haven't tried the script yet. The reason is, I wanted to show you this via its properties in windows (see attached). I don't know if this is correct, or if its signalling a problem, but this is what I was quickly mentioning before. This quite clearly isn't labeled the correct version, even if the setup.exe said it was installing the correct version - which it still might have, but the label might not be updated.

Ok - now I did it manually via the command line and the -resize (et al.) commands, still don't work. So obviously im (1) either running the wrong version.. which seems highly unlikely since I installed from your direct link numerous times or (2) something is messed

Sorry for my ignorance on that easy thing - been trying to run it on the fly in an autoitscript and have not even tried to run the program standalone as its worked from the start (except for the resize bit)

When I run minicap.exe I don't get a pop up with a title, I just get red outlines on my screen for where information can be grabbed. Should I be directing my eye somewhere else for the version label?

well the cause of your problem is clear, as suspected: you have a rogue older copy of minicap.exe installed somewhere on your path.now you need to find out where it is and delete or replace it with the new copy.

since minicap wouldn't put itself there during installation, i'm guessing you probably just copied minicap.exe into the system32 directory so it would be found on the system path when launched from another program, and then forgot about it.

Yeah, I noticed my old script had "@SYSTEMDIR" in its path call and was like hmmm.... then I found the bugger.

Im using your minicap in a dynamic OCR algorithm that detects characters,strings, numerals and images under 150x150 pixels (ie: icons). Its quite fluid and very stable, but if the font goes small it sometimes confuses 'cl' with 'd' for example. Thus, by using your resize parameter I can solve this problem quite smoothly increasing its accuracy on the 'harder' bits. If you are interested in seeing your MiniCap in action in this regard, I can send you along some screenies. Again, thanks for all the help.