Open CV with Processing

1: Hello my name is joel torres and today I’m going to talk about OpenCV with processing explain the example of face recognition.
2: the first that I am going to explain is what is processing. In the world programming language exists one programm Since 2001, this program is processing. And you can download it from this website
3: the first step that we should do is download and install processing; in processing.org there are a link that guides you to download processing, you have to click in no donation and then…
4: for this example we have to download they left lastest version of processing, that is 2.1 version, and download it in the 32 bits version, because in 64 bit version its probably that don’t works.
5. The second step is import library of OpenCV processing, on the way that we have to do is in the toolbar go to sketch, and when you click on sketch you open a new window, in this window, you have to search OpenCV and then will appear two libraries we have to download the second one.
6. In this library that we have just downloaded there are lots of examples of OpenCV. Here you can see so many examples but in real there are hundreds more.
7.No I am going to explain what is OpenCV library.
OpenCV it’s a library that have a C++ interface. the official page of opencv it’s http://www.opencv.org And in this website you can see how it works and a lot of examples.
8. the 3rd step its open face recognition. what we’re going to do its go to the toolbar and click in file, then we have to click in Examples and then we are going to see what is going to happen…
9. when you click on examples new window is going to open, in this window download of examples of OpenCV we have to choose the life cam test. this is the example of face recognition
10. here you have the code of face recognition and now we are going to explain how the code works
11. I just say that I am going to explain the code in the first part of the code we have two little parts: the first part is which libraries we have to use and in the second part there are the setup of the example, that is how big is going to be the window of the example.
12. The second part of the code is the information collect this means that this part of the code explain from where the program have to collect information to make the face recognition
13. this third part od the code have two small parts, the part number one is to marking the face and before i am going to explain what is this, and the second part is how mark the face. (internal programm process)
14. Now I am going to explain what is the marking face the marking face is when the face recognition detect one face automatically the program make a rectangle in the interface this rectangle you can choose the color of the rectangle changing this three numbers, that are in a RGB escale.
15. doing this work I have to solve some problems because OpenCV library is a difficult library and one of the problem is that at first i have downloaded the wrong version that is 2.0.3 in case of 2.1 version.
16. The problem number 2 is that there are millions of wrong libraries in internet and you only have to download the official library that is in the programm processing 2.1
17. The problem number 3 is that probably we are going to boo the library on a incorrect folder because you don’t have to put the library in libraries you have to put the libraries in modes/java/ libraries if you want that the code works.
18. Then play the example face recognition of OpenCV processing 2.1 can recognize three faces at the same time in this image I had only try to do with two faces, and the example work perfectly.
19. In conclusion have to say that the work have been a little bit difficult, but this work has introduced to me in this enormous world of programming, and i hope that this helps me in the future.
20. so thank you very much for listen to me and i hope you enjoy it

Leave a comment