Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
pamudu123 committed Sep 28, 2024
1 parent aafd9a1 commit 3df5d65
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Automated Election Vote Counting


Detailed Explanation of Vote Counting Methods
**Detailed Explanation of Vote Counting Methods**
[Medium Article](https://medium.com/@pamudu1111/automated-election-vote-counting-7b89900f7333)

### 1. Using ChatGPT Vision API to Process Ballot Papers
![Vision API](resources\LLM_proocessing.png)
![Vision API](resources/LLM_proocessing.png)

OpenAI Vision API analyzes images of ballot papers, interprets the votes, and returns structured data.

Expand All @@ -25,16 +25,18 @@ OpenAI Vision API analyzes images of ballot papers, interprets the votes, and re
Layout extraction technique followed by a rule-based/LLM approach to process and extract the details from the structured OCR text.

### 3. Using Object Detection — YOLO
![YOLO vote detection](resources\Yolo_vote_extraction.png)
![YOLO vote detection](resources/Yolo_vote_extraction.png)

YOLO object detection model to extract details from the ballot paper.


### 4. Vote Extraction Using Computer Vision
![CV vote detection](resources\CV_method.png)
![CV vote detection](resources/CV_method.png)

Pure computer vision-based method, using edge detection, contour detection, kernel processing, and template matching.

---

-- UNDER CONSTRUCTION ---
<p>Feel free to try this and come up with your own methods for automating vote counting.</p>
<p>I’d love to hear your new ideas!. Feel free to reach out if you have any questions.</p>

0 comments on commit 3df5d65

Please sign in to comment.