Click here to Skip to main content
15,887,945 members
Please Sign up or sign in to vote.
1.40/5 (3 votes)
See more:
I created imageHolder class:
C#
public class ImageHolder : Image<Bgr, Byte>
   {
       private String imagePath;

       public ImageHolder(String path):base(path)
       {
          this.imagePath = path;
       }
       public String imgPathProperty
       {
           get
           { return imagePath; }
           set
           { imagePath = value; }
       }
   }

In this row:
C#
 public ImageHolder(String path):base(path)

I get this exception:
HTML
InnerException: {"Unable to load DLL 'opencv_core242': The specified module could 
not be found. (Exception from HRESULT: 0x8007007E)"} 

The opencv_core242 is in the folder project,and platform target set to x86.

Any idea what might cause the exception and how to solve it?

Thank you in advance.
Posted
Updated 20-Sep-12 13:36pm
v3

1 solution

In .../windows/system32 I pasted cudart32_42_9.dll file.It's helped me to fix me problem
 
Share this answer
 
Comments
b.dastagir 24-Apr-15 6:25am    
The type initializer for 'Emgu.CV.OCR.Tesseract' threw an exception.how solve the issue using windows xp os.using opencv_flann2410.dll give solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900