|
List<Foo> bar1List = new List<Foo>();
bar1List.Add(new Bar1());
bar1List.Add(new Bar1());
bar1List.Add(new Bar1());
List<Foo> bar2List = new List<Foo>();
bar2List.Add(new Bar2());
bar2List.Add(new Bar2());
bar2List.Add(new Bar2());
List<Foo> fooList = new List<Foo>();
fooList.AddRange(bar1List);
fooList.AddRange(bar2List);
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
|
|
|
|
|
Just what I needed! Thanks!
|
|
|
|
|
You're welcome!
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
|
|
|
|
|
Hi
I am trying to develop a program in which I have to scan an image and pick out some stuff from it.
Assume that I have the image (in jpg).
The image contains Multiple Choice Questions with answers (marked with a black dot next to it).
Now I need to read the image and calculate the total right answers.
I am planning to do this in C#.net.
I have read Christian Graus articles for image processing but didn't find them relevant to my program.
Can some help me about how i should begin?
|
|
|
|
|
Message Closed
modified 23-Nov-14 5:52am.
|
|
|
|
|
Yes, thats how i am trying. But its too much of labor!!
how can i detect a dot (for answer) or a number (for question number) in the image?
|
|
|
|
|
This is a relatively complex task, even though it doesn't seem like it.
1st you need an algorithm to find the answers. If you can make the questions on the exam one per page or a fixed size you'll reduce the complexity, as would fixing the position of the answer grid. This helps with finding the answers in the scans by reducing the area they appear in. Another solution would be to print some solid bars on the side of the page and find those, they should be level with the answer. If the bars are skewed (e.g. the scan is skewed) you should be able to work out the rotation from there. If the bars are on the wrong side the scan is upside down which could happen. You can then straighten the image and re-find the answer
Once you know where the answer grid is A neural network would be easy to train for yes/no ABCDE type answers if you are so inclined(especially if the number of choices is fixed, the NNW takes the answer squares area pixels as input, and categorises to a number of outputs each representing and answer. That said, an algorithm might just be easier, say identifying the squares and finding which, in order has the most black pixels.
The first step will probably need the scan colour depth reduced to 1-bit to make, this makes processing the image easier, and requires less memory if processing lots of scans. You'll also need a
|
|
|
|
|
OK Keith and OriginalGriff have given a huge idea. Thanks a lot guys.
I will start in that direction. I hope I get the right to modify the question paper. If thats possible, then the project seem feasible for a single person.
Also Erik, could you please explain what module you developed?
|
|
|
|
|
Keith is correct, but there is another way which can make locating the answers easier, (if you have control of the paper). Put registration marks in two (or preferably four) of the corners. If you make these a specific colour so they are easy to find, than locate the marks and use them to find the answers since you know the relative positions.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
|
|
|
|
|
Just to confirm this answer, I did it this way some time ago for a format recognition module.
|
|
|
|
|
Hello Experts,
My Application is writeen in C# (2.0 Framework) for windows Application. Now i want to built same application For Mac OS.
I am not familier with MAC OS.Is is Possible to convert myapplication to MAC OS with the Help of MONO.
Your suggetion and help required.
Please describe me the steps to built application for Mac.
Thanks
If you can think then I Can.
|
|
|
|
|
See here: http://www.mono-project.com/Mono:OSX[^] I haven't tried it myself (but if it's anything like Mono on linux, expect annoying little problems, and test, test and test everything again).
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
|
|
|
|
|
Thanks for Reply,
please describe me shortly how to work with that.
If you can think then I Can.
|
|
|
|
|
eg_Anubhava wrote: please describe me shortly how to work with that.
Did you read where I said "I haven't tried it myself"?
You will have to read and learn... we can't spoon feed you everything!
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
|
|
|
|
|
But my question is I have the knowledge of MONO. and I have generate the problem with using MONO.
I already describe in my question.
If you can think then I Can.
|
|
|
|
|
- Download[^] Mono and install it.
- Compile your sourcecode:
mcs Program.cs
- If you're having trouble compiling from the console, and you'd want to compile from the Visual Studio IDE, consider buying the Mono Tools[^].
- Specific questions targetting Mono can be posted on the Mono Forum[^]
Enjoy
I are Troll
|
|
|
|
|
Thank you sir
If you can think then I Can.
|
|
|
|
|
Hi, I would like to download images in the background from an URL. I currently had a program which is downloading an image from a URL. However the application i created will "freeze" until all the image had be downloaded.
Hence, I am looking for a way to download images from an URL in the background. So i would be able to continue to use the program while it download.
I am new to C# (WPF) and I am still learning. Hope you guys can give me some suggestion or links for references. Thank you
I tried the following links but error occurs.
http://msdn.microsoft.com/en-us/library/ms229675(v=VS.85).aspx
Download an image, it freeze my program:
http://msdn.microsoft.com/en-us/library/system.net.webclient.downloadfilecompleted.aspx
Thank you very much!
Janet
|
|
|
|
|
Message Closed
modified 23-Nov-14 5:52am.
|
|
|
|
|
Hi there qwertz321,
I am reading the article and trying out the code. Will let you know if my problem is solve. Thank very much for you reply
Regards
Janet.
|
|
|
|
|
Hi qwertz321,
Its working =) thank you very much!!
Janet.
|
|
|
|
|
hi guys
i am working on a project which fetches emails from pop3 server ,
what i want to do is to read all email get all attachments (which ihave done)
now i have attachemnt data in the form of a byte array , if there is a text attachment
so this binary data can easily be converted to string to get the file data , but probelm
is if there is docx file attchment than this binary data cannot be converted to string as it gives some
raw data which is unreadable , can any body tell me how to convert a binary data (byte array )which is build based on a docx file back into string without saving the file on the hard disck.
regards.
Tauseef A Khan
MCP Dotnet framework 2.0.
|
|
|
|
|
|
|
excuseme i am new in work with c# I dont know how can I use enum in c#
for example I have three tlstrp 1st for insert second for delete and therd for update and in form I have 3 txt 1st for name 2nd for lastname 3rd for employeecode
and have 1 btn. now I want to do this: when I click in insert tlstrp all txts enable and input data from user when when user click btn my program can do insert work or when user click in delete tlstrp and after input data and click on btn program can do delete
|
|
|
|