Click here to Skip to main content
15,901,368 members
Home / Discussions / C#
   

C#

 
QuestionCreate a list for a base class from two list of dervided classes Pin
Mc_Topaz25-Oct-10 2:42
Mc_Topaz25-Oct-10 2:42 
AnswerRe: Create a list for a base class from two list of dervided classes PinPopular
OriginalGriff25-Oct-10 3:13
mveOriginalGriff25-Oct-10 3:13 
GeneralRe: Create a list for a base class from two list of dervided classes Pin
Mc_Topaz25-Oct-10 6:04
Mc_Topaz25-Oct-10 6:04 
GeneralRe: Create a list for a base class from two list of dervided classes Pin
OriginalGriff25-Oct-10 8:36
mveOriginalGriff25-Oct-10 8:36 
QuestionProcessing scanned images. Pin
ameyakoshti24-Oct-10 22:43
ameyakoshti24-Oct-10 22:43 
AnswerMessage Closed Pin
24-Oct-10 23:19
stancrm24-Oct-10 23:19 
GeneralRe: Processing scanned images. Pin
ameyakoshti25-Oct-10 2:07
ameyakoshti25-Oct-10 2:07 
AnswerRe: Processing scanned images. Pin
Keith Barrow25-Oct-10 1:42
professionalKeith Barrow25-Oct-10 1:42 
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

GeneralRe: Processing scanned images. Pin
ameyakoshti25-Oct-10 21:01
ameyakoshti25-Oct-10 21:01 
AnswerRe: Processing scanned images. PinPopular
OriginalGriff25-Oct-10 2:14
mveOriginalGriff25-Oct-10 2:14 
GeneralRe: Processing scanned images. Pin
_Erik_25-Oct-10 5:55
_Erik_25-Oct-10 5:55 
QuestionC# Application For MAC by using MONO Pin
Anubhava Dimri24-Oct-10 22:39
Anubhava Dimri24-Oct-10 22:39 
AnswerRe: C# Application For MAC by using MONO Pin
OriginalGriff24-Oct-10 22:53
mveOriginalGriff24-Oct-10 22:53 
GeneralRe: C# Application For MAC by using MONO Pin
Anubhava Dimri24-Oct-10 23:23
Anubhava Dimri24-Oct-10 23:23 
GeneralRe: C# Application For MAC by using MONO Pin
OriginalGriff24-Oct-10 23:26
mveOriginalGriff24-Oct-10 23:26 
GeneralRe: C# Application For MAC by using MONO Pin
Anubhava Dimri24-Oct-10 23:44
Anubhava Dimri24-Oct-10 23:44 
GeneralRe: C# Application For MAC by using MONO Pin
Eddy Vluggen25-Oct-10 0:49
professionalEddy Vluggen25-Oct-10 0:49 
GeneralRe: C# Application For MAC by using MONO Pin
Anubhava Dimri25-Oct-10 1:21
Anubhava Dimri25-Oct-10 1:21 
QuestionDownload An Image From A URL In background in C# for WPF Pin
Janet2224-Oct-10 21:14
Janet2224-Oct-10 21:14 
AnswerMessage Closed Pin
24-Oct-10 21:21
stancrm24-Oct-10 21:21 
GeneralRe: Download An Image From A URL In background in C# for WPF Pin
Janet2226-Oct-10 21:34
Janet2226-Oct-10 21:34 
GeneralRe: Download An Image From A URL In background in C# for WPF Pin
Janet2226-Oct-10 23:57
Janet2226-Oct-10 23:57 
QuestionByte array to word document Pin
Tauseef A24-Oct-10 19:22
Tauseef A24-Oct-10 19:22 
AnswerRe: Byte array to word document [modified] Pin
Bernhard Hiller24-Oct-10 20:25
Bernhard Hiller24-Oct-10 20:25 
AnswerRe: Byte array to word document Pin
Mirko198025-Oct-10 4:08
Mirko198025-Oct-10 4:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.