locked
NSOCRLib is my project's error(OCR) !! RRS feed

  • Question

  • Hello every body .

    i am working on my project which is OCR ( convert image into text) , i found nice and simple code by using Nicosoft  but i have this one error (Interop type 'NSOCRLib.NSOCRClassClass' cannot be embedded. Use the applicable interface instead.)

    how can i solve it ?? can you help me, please ??

    thanks in Advance :)

    Monday, June 2, 2014 9:17 PM

Answers

All replies

  • Thanks for your question. I think this belongs in another forum, so I'm moving it there.

    Esther Fan | Visual Studio | If a post answers your question, please mark it as the answer. Thanks!

    Tuesday, June 3, 2014 8:56 PM
  • Hi,

    >>i am working on my project which is OCR ( convert image into text)

    According to your description, you are developing a project about converting image into text. Could you please tell us that what language you use to develop this project, C++, C# or anything else?

    >>i found nice and simple code by using Nicosoft  

    I didn't find anything about Nicosoft. And I'm not clear that what you are using. Could you please clarify it?

    I find a good tutorial that is for your reference.

    Convert Text to Image

    http://www.codeproject.com/Tips/184102/Convert-Text-to-Image

    Best regards,

    Wednesday, June 4, 2014 5:10 AM
  • I had the same problem. This fixed it.

    Change this line

    private NSOCRLib.NSOCRClassClass NsOCR = new NSOCRLib.NSOCRClassClass();

    to this line

    private NSOCRLib.NSOCRClass NsOCR = new NSOCRLib.NSOCRClass();

    If your curious why: VS 2010 compiler error: Interop type XXX cannot be embedded. Use the applicable interface instead.

    • Marked as answer by Sedra sedo Sunday, June 8, 2014 7:41 PM
    Thursday, June 5, 2014 1:14 AM
  • Thanks a lot for u , ^_^

    i have used c# language , and i saw a video on youtube about OCR by using Nicosoft , at this link

    http://www.youtube.com/watch?v=Mbdt4jLD-wY

    Sunday, June 8, 2014 7:22 PM
  • Thank you very much ^_^ , it is solved 

    but the Nicomsoft which i have downloaded from www.Nicosoft.com is trial , there is a message appear for me (the program will disabled after 45 days

    Do you have an idea how can i expand the period ???? 

    Sunday, June 8, 2014 7:43 PM