Bubble Sheet Multiple choice Scanner and test grader using OMR, Python, and OpenCV.

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ส.ค. 2024
  • This OpenCV tutorial is for beginners just getting started learning the basics. Inside this guide, you’ll learn basic image processing operations using the OpenCV library using Python.
    And by the end of the tutorial, you’ll be putting together a complete project to build your own Bubble Sheet Scanner.
    While this tutorial is aimed at beginners just getting started with image processing and the OpenCV library, I encourage you to give it a shot even if you have a bit of experience.
    Hey you all, welcome back to the first cool project of the tutorial series. Also, sorry for being late.
    Link for the code: github.com/anu...

    I hope you enjoyed the video and more importantly learned something.
    If you have any doubts, don’t forget to mention it in the comments.
    Here are the ways you can connect with me:
    1)Linkedin: / ​
    2)Instagram: areyou
    #opencv​ #computervision

ความคิดเห็น • 23

  • @talhachafekar5513
    @talhachafekar5513 2 วันที่ผ่านมา

    big fan 😃

  • @rjmosko
    @rjmosko 3 หลายเดือนก่อน

    This is a nice place to start, but the sample code is buggy. While the code gives the impression that things are working, they are not working as you would think.
    1. there's a bug with sorting the contours around line #41
    #sorting the contours from top to botton
    questionCnts= contours.sort_contours(questionCnts, method="top-to-botton")[0]
    the method takes a string for sort direction and there is a typo in the text- should be 'top-to-bottom' with an end at the end of the string
    2. there's a bug at line #57 as well in which every hit is being tested against the answer key instead of the single best answer for the question set
    Hopefully these comments will help people in the future on trying to understand what's going on and how the magic works. I found bug #2 first and then fixed things only to find bug #1 that really caused issues. The images were getting evaluated along the A-E columns per question which was a bazarre result before seeing what was going on.

  • @tron__5204
    @tron__5204 2 ปีที่แล้ว +4

    What to do if there are multiple columns in omr sheet☹️

  • @Tatsatya
    @Tatsatya 3 ปีที่แล้ว +2

    This is so helpful 😁 amazingg stuff

  • @meenakshiagarwal7431
    @meenakshiagarwal7431 3 ปีที่แล้ว +2

    Nice

  • @Cognizant_Wala
    @Cognizant_Wala 3 ปีที่แล้ว +1

    Waoo ❤️❤️

  • @scottnorman2296
    @scottnorman2296 5 หลายเดือนก่อน

    Changing the answer key results in incorrect totals. Please advise.

  • @busraaltun6726
    @busraaltun6726 3 ปีที่แล้ว +1

    Hi, I did the same until 7:29. But I have a problem :( blurred = cv2.GaussianBlur(gray, (5, 5), 0)
    TypeError: object() takes no parameters
    how will i solve this problem

    • @anushkaagarwal8250
      @anushkaagarwal8250  3 ปีที่แล้ว +1

      Since I can't have a look at your code.
      stackoverflow.com/questions/23176597/python-object-takes-no-parameters-error/48728948
      Here's a stack overflow link.
      Lemme know if it still throws the same error.
      Also, you can try copy pasting my code from GitHub(The link is in the bio) to ensure you aren't making any typos.
      Happy coding. :)

  • @korawitwassanarungruengsuk1094
    @korawitwassanarungruengsuk1094 ปีที่แล้ว

    thank you so much

  • @naveen2843
    @naveen2843 ปีที่แล้ว

    Ma'am big fan!

  • @mukulsrivastava178
    @mukulsrivastava178 2 ปีที่แล้ว

    HI Anushka, what need to do if two circle value needs to scan at same time and make it dict.

  • @user-bq4bh1dv3f
    @user-bq4bh1dv3f ปีที่แล้ว

    its asking for cv2 what it is ?

  • @ArmandoOliveira2008
    @ArmandoOliveira2008 ปีที่แล้ว

    What is the possibility of connecting this functionality to an android system?

  • @kishanKumar-co7wb
    @kishanKumar-co7wb ปีที่แล้ว

    what if a student mark more than 1 circle in 1 question

  • @omrai793
    @omrai793 11 หลายเดือนก่อน

    Which algorithm has been used in this project?

    • @rambhai9767
      @rambhai9767 8 หลายเดือนก่อน

      Canny

  • @mannyaagarwal1893
    @mannyaagarwal1893 3 ปีที่แล้ว +2

    Noice

  • @mrincognito6936
    @mrincognito6936 2 ปีที่แล้ว

    Can we do the same for more than 5 questions?

    • @salmaelsayed6784
      @salmaelsayed6784 2 ปีที่แล้ว

      Yes you can, I've tried it with the same image. I've added another 5 questions and it worked perfect!

  • @sayilkunthe3177
    @sayilkunthe3177 ปีที่แล้ว

    Hi Anushka I tried the python code for Bubble Scanner, Installed Python 3.11.4 64 bit and Visual Studio code latest version and Open CV latest version.
    Please do help Would appreciate the help.
    I got the below error after compiling the py code.
    questionCnts= contours.sort_contours(questionCnts, method="top-to-bottom")[0]
    ValueError: not enough values to unpack (expected 2, got 0)
    PS D:\Python_Workspace> & C:/Users/hp/AppData/Local/Programs/Python/Python311/python.exe d:/Python_Workspace/OMR.py
    Traceback (most recent call last):
    File "d:\Python_Workspace\OMR.py", line 41, in
    questionCnts= contours.sort_contours(questionCnts, method="top-to-bottom")[0]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\imutils\contours.py", line 24, in sort_contours
    (cnts, boundingBoxes) = zip(*sorted(zip(cnts, boundingBoxes),
    ^^^^^^^^^^^^^^^^^^^^^
    ValueError: not enough values to unpack (expected 2, got 0)
    Please help and reply soon
    Thanks in advance