I've been trying to fix the following mistake for a few hours. I got the ABBYY FineReader SDK to work with the OCR-API. So far so good to get familiar with the SDK, I tried to get it running with an ABBYY sample. But the error (shown below) stopped me in doing so. I have absolutely no idea what could cause this error. I first thought about some name equalities but I was wrong. I am looking forward to any help.
The error output is : "TypeError: Typenkonflikt (type conflict) Code:
function ProcessImage(){
var imagePath = location.pathname+"foto.jpg";
var docu = FREngine.CreateFRDocument();
console.log(docu);
try {
// Add image file to document
DisplayMessage( "Loading image..." );
docu.AddImageFile(imagePath); //ERROR Typeconflict