software.scanner.scantegrity
Class ScannedBallot
java.lang.Object
software.scanner.ScannedBallot
software.scanner.scantegrity.ScannedBallot
- All Implemented Interfaces:
- ScannedBallotInterface
public class ScannedBallot
- extends ScannedBallot
|
Method Summary |
void |
detectSerialFromPerfectImage(java.awt.image.BufferedImage img,
double dpi)
Tries to read the serial from whre it should on the top page, if unssucesful, tries
to read the serial number from where it should be on the bottom page |
Prow.ChosenPage |
getSelectedPage()
|
static void |
main(java.lang.String[] args)
|
| Methods inherited from class software.scanner.ScannedBallot |
detect, detect, detectFromPerfectImage, detectMarksFormPerfectImage, getAllContests, getBallotGeometryMap, getCompactRepresentation, getDpi, getFullVotes, getOverVotes, getPerfectImage, getSerial, getUnderVotes, getVotes, isMailIn, setMailIn, toProw, toXMLString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScannedBallot
public ScannedBallot(BallotGeometry geom,
org.gwu.voting.standardFormat.electionSpecification.ElectionSpecification es)
detectSerialFromPerfectImage
public void detectSerialFromPerfectImage(java.awt.image.BufferedImage img,
double dpi)
throws java.lang.Exception
- Description copied from class:
ScannedBallot
- Tries to read the serial from whre it should on the top page, if unssucesful, tries
to read the serial number from where it should be on the bottom page
- Overrides:
detectSerialFromPerfectImage in class ScannedBallot
- Throws:
java.lang.Exception
getSelectedPage
public Prow.ChosenPage getSelectedPage()
- Specified by:
getSelectedPage in interface ScannedBallotInterface- Overrides:
getSelectedPage in class ScannedBallot
- Returns:
- the scanned page
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception