In this post, I will be talking about my dissertation project, which is based on Computer Vision. Lets start from the beginning, I’m working on Ball detection and distance measurement for RoboCup, specifically on NAO Robots. I’m developing this project in Java and using Java Media Framework (JMF) for visual input from webcam and grabbing frames for extracting information from them. As I mentioned earlier in this post, this program will be implemented on NAO Robots for RoboCup. It has to be really quick as ball can move around very quickly in matches. Also, it should use very low amount of resources because NAO Robot has limited resources and there will be a lot of other processing as well.
I posted ‘Real-time Shape Detection’ demonstration video long back, which is also developed in Java and follows almost same logic. However in this project, shape detection isn’t required for multiple and ‘same looking’ objects. Main target will be detecting ball only but one major problem is noise removal and high variance on lightness and surrounding colours which has high impact on the balls colour.
This is where Image Processing will be used, Noise removal and image enhancement algorithms can be applied. But Is it efficient to apply Image processing here? considering the frame processing rate as those algorithms will surely make it slow. Even with enhancement algorithms, you can’t do much about high variance on lightness. So far, all this post and development plan is focused on RGB model and even shape detection demonstration is based on RGB model as well.
The problem with RGB model is, RGB focuses on implementation details. RGB is how computer or machine treats and uses colours not how human eyes perceive colours. On the other hand, HSV focuses on actual colour components and HSV is how human eyes perceive colours. HSV can be used to find the dominating or highly influenced colour as well as its intensity.
Ironically HSV is used more than RGB for Computer Vision techniques. So right now, I’m reading and working on HSV colour model, applying it for shape detection and hoping to get better results. If all goes well, then I will be using HSV colour model for my dissertation project.
That’s it for now and I will update soon on this experiment!