ASL Finger spelling recognition using C# OpenCV wrapper

Sdílet
Vložit
  • čas přidán 23. 01. 2010
  • ASL Finger spelling recognition. 19 identified signs, (currently still working on 7 other signs).
    Github repo: github.com/Juniar-Rakhman/Ope...
    Translasi bahasa isyarat mengklasifikasi 19 isyarat huruf tangan 7 isyarat lainnya masih belum bisa.
    - Haar object detection (detect open and closed hand) to determine the position of the box.
    - Movement detection (absolute difference). If shaking then reset ROI box, if no movement then detect the shape.
    - To extract the hand shape I use skin detection based on HSV or RGB (it depends on the lighting) then convert it to binary image.
    - To classify the image I use KNN (look up the machine learning section of OpenCV) I use 100 training images per signs.
    paper : www.eepis-its.edu/uploadta/dow... (sorry it's in Indonesian)
    source code:
    www.4shared.com/file/2AwWOJ_V/...
    Huge credit goes to Heiko Kiessling for creating easy to use C# OpenCV wrapper and helping me (alot) in creating this program.
    You can find his code project article here :
    www.codeproject.com/Articles/2....
    Noob guide:
    1. Download opencv from here :
    sourceforge.net/projects/openc...
    (I used the old version of opencv 1.1pre something)
    2. Download OpenCV C# wrapper from here :
    www.iib-chemnitz.de/cvwrapper/...
    (I used the one for opencv 1.1 pre)
    3. Make sure that you can successfully run the big sample from the wrapper before attempting to compile/run my program.
    4. You may have to edit and play around with the code because some settings such as resolution is hardcoded. May the code be with you.
    some rights reserved :)
  • Věda a technologie

Komentáře • 148

  • @GadgetAddict
    @GadgetAddict Před 12 lety

    I was just thinking about giving this a shot myself but then searched and saw you're working on it! Good job!

  • @talha_anwar
    @talha_anwar Před 4 lety

    you have such good programming skills 10 year back and I am learning this in 2020

  • @kanui3618
    @kanui3618 Před 4 lety

    wahh mantap nih...
    coba pake gesture and finger recognition, pasti cakep

  • @nakagawa53
    @nakagawa53  Před 13 lety +1

    @ank3201
    First of all make sure that the haar training detection works. If it doesn't maybe you should consider making your own haar training. The haar cascade I used works well in well-lighted roomt. If the haar detection works, then the hand shape classification should work as well.
    Please note that I used 640x480 resolution with Logitech Quickcam 9000.

  • @renatafariagomes
    @renatafariagomes Před 7 lety

    Really cool!!

  • @nakagawa53
    @nakagawa53  Před 14 lety

    wkwkwk suwun2 mw sidang dosene ga ono sing teko macem2 ^_^ soale presentasi boso inggrisan

  • @piisauline
    @piisauline Před 12 lety

    keren tuh bang,,,,bisa buat referensi nih :)

  • @washingtonpagottobatista2096

    hi, in code xml do ASL? for description?

  • @FateAkaCryNet
    @FateAkaCryNet Před 9 lety +1

    how to start program? Error: An unhandled exception of type 'System.NullReferenceException' occurred in cvlibcs.dll

  • @nakagawa53
    @nakagawa53  Před 14 lety

    I'm still working on 7 other hand signs and some minor improvements. I'll post another video when it's done ^^

  • @11pooh88
    @11pooh88 Před 13 lety

    also, which haar classifiers did you use to detect the hand (ie object): horizontal or vertical etc?

  • @RichardAlgarve
    @RichardAlgarve Před 9 lety

    Hi, you have a cam Shift example in EmguCV C#?
    Thanks

  • @joseph15764
    @joseph15764 Před 10 lety +1

    why is that with the cvCreateCameraCapture(0) it sometimes failed and sometimes it runs but it is black screen? :((

  • @adi2kx
    @adi2kx Před 12 lety

    Hey @nakagawa53. Have couple of questions. i) Does it detect hand when u bring the hand ahead of the face ? ii) Does using Haar clasifiers slow down the program ??

  • @NiazMohammad
    @NiazMohammad Před 10 lety +3

    would you please share the training images for each signs? that should be in Training folder? Thnx

    • @hmad7192
      @hmad7192 Před 10 lety

      i also need these images

  • @nakagawa53
    @nakagawa53  Před 14 lety

    I've updated the info section ^^

  • @user-vz6cc7ls3z
    @user-vz6cc7ls3z Před rokem

    Webcam enough to recognition or need with it some software

  • @D3C1MUS
    @D3C1MUS Před 8 lety

    can you please provide training images you used ??

  • @nakagawa53
    @nakagawa53  Před 14 lety

    @crsdaryl20 I'm just using thresholding to extract the shape. That's why the program hasn't been able to recognize similar signs to A (i.e S, E, M, N, and T) I tried to use canny...but the result is not very accurate.

  • @MunsuKim
    @MunsuKim Před 11 lety

    i have some questions to you.
    1. your ROI doesn't move it, why and how ?

  • @nakagawa53
    @nakagawa53  Před 13 lety

    @sanjeven sorry for the late reply I've been busy with my work lately, I've update the info section, there's new link to the complete source code and training files.

  • @maanbustamante
    @maanbustamante Před 12 lety

    @nakagawa53 libraries such as? have you completed the 7 other signs left? thanks!

  • @nakagawa53
    @nakagawa53  Před 14 lety

    memperingati wisuda sing k 100
    IT d kongkong boso inggrisan karo pak kholid ^^

  • @elphie20
    @elphie20 Před 11 lety

    Hi I'm trying to create something very similar to you for my final year project but for Irish sign language. However I can't seem to wrap my head around the instructions that you give as I'm very new to c#. Do I need to download anything for c# to work in textpad?
    Any help would be greatly appreciated.

  • @teamproject8188
    @teamproject8188 Před 7 lety +2

    Does anyone have the code in Python?

  • @crsdaryl20
    @crsdaryl20 Před 14 lety

    it seems the you have a predefined area to get the hand image. is it possible to show another video of another area where you get the hand signs? maybe lower or the other hand. thanks... very good still

  • @JohnDoe-bt4hl
    @JohnDoe-bt4hl Před 11 lety

    hello. i was wondering if i can use your software as reference for my thesis project. is it ok with you?
    btw, are there any updates on this project? you stated before that it can identify 19 signs and that you're still working on the other 7. thanks a lot for your help.

  • @Gayan345
    @Gayan345 Před 8 lety

    bro ..how to you remove your arm and face if your follw skin detection

  • @huebschli
    @huebschli Před 14 lety

    badalah.... keren amat...

  • @NileshBarai11
    @NileshBarai11 Před 9 lety +1

    most of the links posted are dead.... Please reupload on different location

  • @mohamedabdallah-kg7eu
    @mohamedabdallah-kg7eu Před 10 lety

    how i can connect between c# project and opencv 1.1

  • @11pooh88
    @11pooh88 Před 13 lety

    Hey hi, I was just wondering, but what does the 'K' signify in the upper right corner???

  • @crsdaryl20
    @crsdaryl20 Před 14 lety

    what edge detection algo did you use?

  • @maanbustamante
    @maanbustamante Před 12 lety

    @nakagawa53 tried running your program but got this error --> src_image = highgui.CvLoadImage(file, highgui.CV_LOAD_IMAGE_GRAYSCALE);

  • @RahulGarg1262
    @RahulGarg1262 Před 10 lety

    I am getting the same problem.
    Will you please tell me that did you get the solution.

  • @arexpantallano1611
    @arexpantallano1611 Před 7 lety

    the training has been successful but I only have black screen. pls help

  • @11pooh88
    @11pooh88 Před 13 lety

    Why is it necessary to train the system each time you run the code?

  • @Najisama777
    @Najisama777 Před 14 lety

    ei how do u compare the hand sign from the database

  • @nakagawa53
    @nakagawa53  Před 13 lety

    @LittlePokeDigi hm...it's easy enough I guess...u just have to press A when the binary image shows up then it will add the captured binary image to the A training folder or press B to add the captured image to B training folder. If you want to add more signs that involve movement like J or Z you need to add finger tips tracking, optical flow etc. I haven't got enough free time to continue this project but feel free to modify my code.

  • @KMKT89
    @KMKT89 Před 13 lety

    I'm sorry to bother you but can you elaborate more on how to use K-nn ? I read you codes and understand how you take your sampling, but how do you actually classify a new sign? Which part actually gets the user's input on what that is when training?

  • @neilsmotovlog5111
    @neilsmotovlog5111 Před 11 lety

    i cant install OpenCv,, i used opencv 1.1 in your link.....there is another way or what will i do?

  • @eocclub
    @eocclub Před 11 lety

    how did you build the file for trainig for KNN?
    can you help me build my own from my own pictures ?

  • @nakagawa53
    @nakagawa53  Před 13 lety

    @catubig3710 sorry for the late reply I've been busy with my work lately, I've update the info section, there's new link to the complete source code and training files.

  • @joseph15764
    @joseph15764 Před 10 lety

    when i debug the program why is it always black? it didn't show some picture? :((

  • @paras8361
    @paras8361 Před 5 lety

    What's your accuracy percentage?

  • @gabrielabohorquez1644
    @gabrielabohorquez1644 Před 6 lety +1

    Disculpa en c# me aparece un error Application.Run(new MainForm()); Se ha intentado cargar un programa con un formato incorrecto. (Excepción de HRESULT: 0x8007000B)

  • @dreamationideas3052
    @dreamationideas3052 Před 6 lety

    can you please help me out in finger detection and recognition?

  • @nakagawa53
    @nakagawa53  Před 12 lety

    @MrSimplesify Info section barusan saya update boss

  • @nakagawa53
    @nakagawa53  Před 14 lety

    @catubig3710 well I'm not much of a java person. I think for image processing it's best to do it in C++. Using webcam should be enough but u might also combine it with sensors to achieve better result.

  • @joseph15764
    @joseph15764 Před 10 lety

    sir can you teach me how did you train the system in detecting the gestures :))

  • @nakagawa53
    @nakagawa53  Před 14 lety

    I haven't got much time to work on this project lately, so I decide to share the source code (download links added)
    feel free play around with it ^^

  • @nakagawa53
    @nakagawa53  Před 12 lety +1

    Sorry about my (very) late reply. There are many people asking the same question.
    Please note that you cannot extract the program, compile it, and hoping that it would work right away =_=" there are several libraries that you need to install.
    I have updated the info section I hope it helps.

  • @neilsmotovlog5111
    @neilsmotovlog5111 Před 11 lety

    i got an error in src_image = highgui.CvLoadImage(file, highgui.CV_LOAD_IMAGE_GRAYSCALE); the comment is 'Object reference not set to an instance of an object.,,,would you like to help me,if the variable not yet declared where to put the declaration because i got an error....thanks but i need your help

  • @mfarim
    @mfarim Před 7 lety +1

    Thanks Brothers

    • @edw0919
      @edw0919 Před 5 lety

      help me!

    • @edw0919
      @edw0919 Před 5 lety

      edw.0919@gmail.com

    • @mfarim
      @mfarim Před 5 lety

      @@edw0919 How i am can help you ?

    • @edw0919
      @edw0919 Před 5 lety

      i have a error !! I can not execute it :( , VS 2010 :( plz

  • @11pooh88
    @11pooh88 Před 13 lety

    Hey hi!
    First of all, great work. But when I tried running your source code the video input was not displayed in the window created. I've tried with different camera resolutions and different web cameras as well but to no avail. Also, it's unable to open a video file and work on it.
    Could you please guide me as to what to do?

  • @ayeshayaseen2540
    @ayeshayaseen2540 Před 6 lety

    Assalam u alaikum.. I am developing such feature in a web app as my final year project and need your help for implementing this feature.. Kindly help.. Plz plz

  • @piyushagrawal8992
    @piyushagrawal8992 Před 11 lety

    Got The Same error Did You Got The Solution..?

  • @bksbd007
    @bksbd007 Před 13 lety

    would u mind to post the link from where i can download your source code. the given link of 4shared is not working.
    plz give me the link. it will help me a lot to do something with that.
    thanks in advance.

  • @Noahcaulfield
    @Noahcaulfield Před 11 lety

    although i suspect that your program is ether forgotten or completed, i would recommend installing visual c# from Microsoft. Currently the 2012 edt. is free!
    Greeting from the US!

  • @neilsmotovlog5111
    @neilsmotovlog5111 Před 11 lety

    how to run your code,what tje process...when i run i got an error,,would you like to help me???,,,what the steps,,i already installed opencv C# wrapper and opencv 1.1. pre something.....

  • @theanity1
    @theanity1 Před 8 lety

    Aselam Aleykum there,, the source code link is not working ,,, will u update us with working link

  • @muhammadsaputra9610
    @muhammadsaputra9610 Před 6 lety

    Can i get uour source code?thx for your help

  • @afzaallucky786
    @afzaallucky786 Před 6 lety

    I need the training folder (Training Images + handOpen.xml). If anyone have then please share.. Thanks alot.

  • @nakagawa53
    @nakagawa53  Před 12 lety

    @baamchika Info section updated.

  • @theombrad
    @theombrad Před 10 lety

    mas programnya ini menyebabkan out of memory g?
    soalnya tak cobak di komputerku out of memory ketika memory di aplikasinya mencapai 400 mb an
    q udah nyari2 referensi release semua mulai dari CvReleaseMemStorage, CvReleaseImage, CvClearSeq tapi tetep out of memory
    kira2 mas juniar tahu solusinya?
    kalo penyebabnya tak cobak2 ada di baris handOpen=.... pada file HaarClassifer.cs

  • @rajpriy1629
    @rajpriy1629 Před 12 lety

    Sir are u got ur answer , if yes plz share it i got the same problem

  • @ephor4ever
    @ephor4ever Před 14 lety

    great man....
    The lecturers must be speechless...
    LOL

  • @cmbermudez
    @cmbermudez Před 10 lety

    Hi, i am working with a similar project and i am student from Argentina UNLaM. Could you help us with your code or explain us how to do that? Thanks a lot.

  • @jackyzhu4865
    @jackyzhu4865 Před 12 lety

    where is the update?

  • @samanthabiradar4437
    @samanthabiradar4437 Před 11 lety

    we are getting an error saying Object reference not set to an instance of an object
    for this line src_image=highgui.CvLoadImage(file, highgui.CV_LOAD_IMAGE_GRAYSCALE);
    so plzz help solve this error

  • @fawadqureshi8013
    @fawadqureshi8013 Před 6 lety

    I need training images and handOpen.xml please....

  • @ank3201
    @ank3201 Před 13 lety

    hey...
    great work.
    i visited the link but was unable to run the code. it wasn't detecting my hand. can u give me some solution how i can go about doing it

  • @victorparlindungan5659

    selamat malam mas, saya berniat belajar computer vision. kebetulan saya tidak punya sumber, kebanyakan abu-abu dari internet. saya kemarin baru buat project computer vision (mouse gesture) pakai JavaCV. itu pun masih banyak bugs.
    BIsa minta kontak ?>

  • @joseph15764
    @joseph15764 Před 10 lety

    sir how to show the binary image in the crop window?

  • @shfsakib339
    @shfsakib339 Před 5 lety

    the source code link doesn't working.

  • @neilsmotovlog5111
    @neilsmotovlog5111 Před 11 lety

    helo,,have a problem in your codes when i run it,,it has error.... src_image = highgui.CvLoadImage(file, highgui.CV_LOAD_IMAGE_GRAYSCALE);.......what wrong with this,i dont know what to do????...can u give me some advice...,,,the comment create is "Object reference not set to an instance of an object."

  •  Před 7 lety +3

    se puede usar OpenCv con C# ? 😱😱

  • @deviranita7208
    @deviranita7208 Před 6 lety

    Kak ini pakai PCA bukan?

  • @joseph15764
    @joseph15764 Před 10 lety

    the program runs but its always black screen.. what is the problem of that sir?

    • @mfarim
      @mfarim Před 7 lety

      same in my case sir,

  • @jasmeet89
    @jasmeet89 Před 13 lety

    thanks for the source code. I would like to extend the project and make it better. In case i decide to, I will contact you.

  • @exort9005
    @exort9005 Před 4 lety

    Halo kak. Saya Arif dari Indonesia. Jika berkenan saya ingin diajarkan cara membuat aplikasi ini. Terimakasih

  • @mehrdadjannesar3765
    @mehrdadjannesar3765 Před 7 lety

    and also the closehand.xml.

  • @mrjean9376
    @mrjean9376 Před 7 lety

    lu orng indo bang?

  • @Carytocukita
    @Carytocukita Před 7 lety +1

    Amigos alguien pudo correr el programa me podria ayudar... ??

    • @edw0919
      @edw0919 Před 5 lety

      que mensaje te ha salido?

  • @MrTakichou
    @MrTakichou Před 10 lety

    I'm really confused i can't run it, why "I've got the window app but nothing is running"

  • @joseph15764
    @joseph15764 Před 10 lety

    my webcam is attached to PC via USB

  • @BonNhoz
    @BonNhoz Před 7 lety

    Please help me with this project

    • @edw0919
      @edw0919 Před 5 lety

      help me , please!

  • @ilkemerol9794
    @ilkemerol9794 Před 7 lety

    Would you please share the training folder?

    • @mfarim
      @mfarim Před 7 lety +1

      the training folder not share, but you can make it with step traditional, show video "ASL Finger spelling recognition using C# OpenCV wrapper" and then crop/print screen it and paste in Microsoft word then crop signs A..Z after that copy to paint and save as to ".png" / ".jpg", the finally ".png" chage to ".pbm" and Save.
      or
      you can make foto in extention .pbm with application else paint.
      After that :
      Make Folder 0 - 19 and fill each folder with foto in extension ".pbm"
      #IHaveTryItAndSucces

    • @ilkemerol9794
      @ilkemerol9794 Před 7 lety

      Thank u so much.
      I have a one more question, where can i find handOpen.xml and handClose.xml and also when run the program
      and click 'start video' but its always black screen. Do u know solution of this situation ?

    • @mfarim
      @mfarim Před 7 lety

      you can install software "manycam" and try it, i have tried and success but the resolution just 320 x 240.

    • @mfarim
      @mfarim Před 7 lety

      in the real folder, that you have download it's available.
      But for the easier use it. You can download in this link :
      drive.google.com/open?id=0B3nB_txibXjId1hYS1NKXzJqMm8
      i have upload the training folder.

    • @ilkemerol9794
      @ilkemerol9794 Před 7 lety +1

      Can you solv black screen problem?(When you press start video button, program shows black screen, no video).

  • @aminurwg
    @aminurwg Před 13 lety

    Hi! i am Aminur from Bangladesh. I want to make a project to recognize Bengali Sign Language. So plz help me. Firstly i have run your code but i need Step by step instruction how the train menu will work.
    Best regards
    Aminur

  • @piyushagrawal8992
    @piyushagrawal8992 Před 11 lety

    If Yes Plz Post It

  • @bboypenspinning
    @bboypenspinning Před 9 lety

    can i do it with python ?
    help me this code ... i need...
    thank you

    • @persephonetsebelis6548
      @persephonetsebelis6548 Před 9 lety

      Hi. I'm trying to make it with python as well. Have you made any progress you would be willing to share?

    • @bboypenspinning
      @bboypenspinning Před 9 lety

      Persephone Tsebelis i'm use intel galileo and python . Control the toy car by hand with webcam.

  • @cerberus.edsontan4936
    @cerberus.edsontan4936 Před 9 lety

    sir im new to this and i dont know anything and im having this kind of error what do you think i need to do. pls sir i really need to make this work for my final project. TIA sir
    An unhandled exception of type 'System.BadImageFormatException' occurred in cvlibcs.dll
    Additional information: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

    • @bozhen-yuan7776
      @bozhen-yuan7776 Před 9 lety +1

      Cerberus.Edson Tan hey, have you fixed this problem yet? I am facing this problem now..

    • @arexpantallano1611
      @arexpantallano1611 Před 7 lety

      the error is same mine and it's a file not found exception

    • @edw0919
      @edw0919 Před 5 lety

      help me, I have a Problem, print a message "No process the imagen"

  • @Jerry_Desi
    @Jerry_Desi Před 12 lety

    waw... keren bgt... saya juga lagi berusaha untuk hand detection in c# juga ^^.. btw saya sudah kerem message ke @nakagawa53 .. mohon di baca ya ^^.. hope a great response

  • @arifrachmanh
    @arifrachmanh Před 14 lety

    sangar,.,.,.,.,.,TA opo TA iki,.,.ancen DEWA koncoq iki,.,.,
    tp sayang backgroundne nguilani jeh,.,.,
    kwkwkwkwkwkwk,.,.,hahahahahhaha,.,.,:))

  • @arexpantallano1611
    @arexpantallano1611 Před 7 lety

    Please help me thank you

  • @piyushagrawal8992
    @piyushagrawal8992 Před 11 lety

    Same Error Did You Got The Solution..?

  • @piyushagrawal8992
    @piyushagrawal8992 Před 11 lety

    Plz Reply Soon

  • @muhammadfirman8159
    @muhammadfirman8159 Před 7 lety

    Selamat malam mas

  • @snehitvaddi
    @snehitvaddi Před 3 lety

    Ohh man!! You did it 10 years ago....😂🙄LOL!!...
    People like me are thinking it is the trending project nowadays.

  • @tangyorangesour
    @tangyorangesour Před 14 lety

    Hi!!
    This is a great video.. sent you a youtube mail... please check..thanks!