Click here to Skip to main content
15,890,845 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
pictureBox1<Bgr, Byte> img = new Image<Bgr, byte>(pictureBox1.Text).Resize(400, 400, Emgu.CV.CvEnum.INTER.CV_INTER_LINEAR, true);


Error: 'LICENSE_PLATE_RECOGNITION.LicensePlateRecognition.pictureBox1' is a 'field' but is used like a 'type'

Can someone help me with this error? I do not see what's wrong with my coding. Million Thanks In Advance! :)
Posted
Updated 28-Jun-10 23:11pm
v2

pictureBox1<Bgr, Byte>


Isn't pictureBox1 a variable (field)? You ARE using it like a type.

Cheers
 
Share this answer
 
Comments
#realJSOP 29-Jun-10 5:41am    
Reason for my vote of 5
This is the right answer. The OP should accept it.
PictureBox<Bgr, Byte> img = new Image<Bgr, byte>(pictureBox1.Text).Resize(400, 400, Emgu.CV.CvEnum.INTER.CV_INTER_LINEAR, true);


use like this
 
Share this answer
 

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