how to improve Pre-recognization inside flexicapture(not sdk) - abbyy

I am new to flexicapture(not sdk).
I am confused by pre-recognization. The static texts and regular expression match keep on failing as pre-recognization fails.
Is there a way to change/improve image settings like contrast when adding them without going through scanning station? (I only found the auto-rotation,despeckle ones)
Also, is there a way to improve or limit the character sets for pre-reorganization? (Like this image won't have character '*', Not select language nor mode)

Yes, there is always a way. Please upload your problem images.


How to insert an image in a web based Python application?

Actually i want to insert an image in a web application which uses Python as server side scripting language. I am using Python 2.7 version in windows platform. I have written a simple script to insert an image in python language.
print "<img src='image.png'>"
Even in this script i am not getting any errors or warnings and the page is getting executed successfully but the image is not getting displayed. Also the specified image file exists in the same folder where the python file exists and even if we provide an absolute path of the image in src attribute of img tag
Shall i import any extra packages? if yes, then please mention them.
Please anybody suggest a solution to this problem.
No, you need not import any extra packages. Just use raw string in Python because if your path contains \n like characters, it should be interpreted for newline. Like this
print r'<img src="c:\path\new\image.png'
But when are printing html in server-side, you are actually doing CGI programming and I would suggest to start with some good tutorials.
This isn't a python issue, this is an issue with the HTML you are outputting.
The tag is fine. Have you checked that the extension of the image is the same, and that the case (capitalization) is exactly the same? If the file is named imAge.PNG and you put image.png it won't work.
Also, check the path you used. Make sure you are using forward slashes (/).

Is there a programmatic way to transform a sequence of image files into a PDF? [closed]

I have a sequence of JPG images. Each of the scans is already cropped to the exact size of one page. They are sequential pages of a valuable and out of print book. The publishing application requires that these pages be submitted as a single PDF file.
I could take each of these images and just past them into a word-processor (e.g. OpenOffice) - unfortunately the problem here is that it's a very big book and I've got quite a few of these books to get through. It would obviously be time-consuming. This is volunteer work!
My second idea was to use LaTeX (actually pdflatex) - I could make a very simple document that consists of nothing more than a series of in-line image includes. I'm sure that this approach could be made to work, it's just a little on the complex side for something which seems like a very simple job.
It occurred to me that there must be a simpler way - so any suggestions?
I'm on Ubuntu 9.10, my primary programming language is Python, but if the solution is super-simple I'd happily adopt any technology that works.
UPDATE, can somebody explain what's going wrong here?
sal#bobnit:/media/NIKON D200/DCIM/100HPAIO/bat$ convert '*.jpg' bat.pdf
convert: unable to open image `*.jpg': No such file or directory # blob.c/OpenBlob/2439.
convert: missing an image filename `bat.pdf' # convert.c/ConvertImageCommand/2775.
Is there a way in the convert command syntax to specify that bat.pdf is the output?
If you're interested in a Python solution, you can use the ReportLab library. For example:
from reportlab.platypus import SimpleDocTemplate, Image
from reportlab.lib.pagesizes import letter
from glob import glob
doc = SimpleDocTemplate('image-collection.pdf', pagesize=letter)
parts = [Image(filename) for filename in glob('*.jpg')]
This will take all the jpg files in your current directory and produce a file called "image-collection.pdf".
It occurred to me that there must be a simpler way - so any suggestions?
You're right, there is! Try this:
sudo apt-get install imagemagick
cd ~/rare-book-images
convert "*.jpg" rare-book.pdf
Note: depending on what shell you're using "*.jpg" might not work as expected. Try omitting the quotes and seeing if that gets you the results you expect.
I wonder if you could just do it with a for loop with a \includegraphics command inside and some suitably nifty standard image file naming and so on inside a LaTeX file. This might have the advantage of allowing title pages etc and page numbering and so on. (I'm not sure either of the other solutions do this and I can't be bothered to check. I'm just pondering out loud here, really)

How to display special symbols in Gtk.Label?

I am writing an Instagram client for Ubuntu in Vala. And I'm using Gtk.Labels to display post title, comments etc. Problem is, sometimes received data contains special symbols like smiles etc. And currently they are displayed incorrectly, like in the picture (these squares containing 6 hex numbers):
I guess that's not the problem of my application because I've seen such behavior in other apps (for example, Pantheon Files). But anyway, this is not the way I want my program to behave, I want these symbols to be displayed correctly.
So, my question is: is it possible to achieve the behavior I want? And if it is possible, then how?
There was indeed an issue with the font I'm using. I just installed ttf-ancient-fonts package (according to the and now it is working.

Log files in MAGMA

At Uni, we are using MAGMA. I'd like to create a log file. That should be done with SetLogFile('FileName'). The result of that, however, is User error: Identifier '20.10.txt' has not been declared or assigned (FileName being 20.10.txt). Also, load 'inputfile.magma' seems not to work. I'm working on Mac OS X 10.7.5. Why do those things happen and how do I solve these problems?
OK, it's a damn basic mistake, and I apologize, but if someone who is (or should be) supposed to teach you at least a bit of MAGMA doesn't tell you strings are delimited by double quotes "" and not signle quotes '' in MAGMA, how exactly are you supposed to guess you should write SetLogFile("20.10.txt") after a semester of MATLAB where strings are delimited by '' and so you would have '20.10.txt'? I sort of found out by myself, and then tonight, in the middle of a web search, I realized that of course, double quotes, and wondered if he is supposed to teach us MAGMA or only to show us random examples of MAGMA usage with no other purpose whatsoever. As for the load thing, I will check that is the right name and come back with either an edit to this or a follow-up, or nothing at all, since the name was from memory and might have been deformed.

Getting “net::ERR_BLOCKED_BY_CLIENT” error on some AJAX calls

Recently I've realised that, some adblocker extensions (such as adBlocker plus) block some Ajax calls. I get that error on the console:
GET http://localhost/prj/conn.php?q=users/list/ net::ERR_BLOCKED_BY_CLIENT
Why does it block some Ajax call but not the others and what causes that? Is there any workaround other than telling user to turn off adblocker?
AdBlockers usually have some rules, i.e. they match the URIs against some type of expression (sometimes they also match the DOM against expressions, not that this matters in this case).
Having rules and expressions that just operate on a tiny bit of text (the URI) is prone to create some false-positives...
Besides instructing your users to disable their extensions (at least on your site) you can also get the extension and test which of the rules/expressions blocked your stuff, provided the extension provides enough details about that. Once you identified the culprit, you can either try to avoid triggering the rule by using different URIs, report the rule as incorrect or overly-broad to the team that created it, or both.
Check the docs for a particular add-on on how to do that.
For example, AdBlock Plus has a Blockable items view that shows all blocked items on a page and the rules that triggered the block. And those items also including XHR requests.
If your URL contains words such as "advert", "ad", "doubleclick", "click", or something similar…
For example:
…Then ad-blocker will block it.
I've discovered that if the filename has 300 in it, AdBlock blocks the page and throws a ERR_BLOCKED_BY_CLIENT error.
Add PrivacyBadger to the list of potential causes
I find a case is if your url contains the key word "banner", it will blocked too.
As it has been expained here, beside of multiple extensions that perform ad or script blocking you may aware that this may happen by file names as below:
Particularly in the AdBlock Plus the character string "-300x600" is causing the Failed to Load Resource
As shown in the picture, some of the images were blocked because of the '-300x600' pattern in their name, that particular text pattern matches an expression list pattern in the AdBlock Plus.
In my case it was a Chrome extension and Firefox add-on by Avira called "Avira Browser Safety". I had problems with version 1.7.4.
In my specific case I wanted to login to a website called for making diagrams, but after logging in I got an blank page. If you use F12 (console) in Chrome you can see all these ERR_BLOCKED_BY_CLIENT (and other) errors.
Opera Blocker and others check all files/urls in Network. Then compares to the list. It is EasyPrivacy and EasyList. If your file/url in this, your will be ban. Good luck.
So... I find FilterLists for all addBlockers!