Today I have started on coding for the HoloTouch project. For now I would need to create a 3D model of a rubic cube in OpenGL, with ability to rotate and turn.
I started off with learning how to create a 3D cube from a tutorial, and using what I have learned, I duplicate the codes for creating the cubes, making more and more appearing.
However, I have realised that some of the cubes seems to go out of shape when I attempt to positon them close together. Although this can be fixed by creating a small gap between them, but I am trying to find a solution for them to have no gap and yet able to appear correctly
Sunday, November 29, 2009
Monday, November 23, 2009
Week 9 Day 1
Start of a fresh new week. Today I have completed on improving the color tracker, and it is now really for showcase. Hopefully future audiences will be amazed by its ability to track fingers.
Today was spend mostly on bug fixing and code enhancement. Also watched Mr.Kevin and Mr.Ming Hong present this morning. It was simply atonishing, and I have alot to learn from the way they present themselves, talk about the product, as well as interact with the audiences.
Today was spend mostly on bug fixing and code enhancement. Also watched Mr.Kevin and Mr.Ming Hong present this morning. It was simply atonishing, and I have alot to learn from the way they present themselves, talk about the product, as well as interact with the audiences.
Week 8 Day 5
Yes! Its Friday finally. Feels so much like this week have been mostly studying about svd for me, other than working on the color tracker application.
Nevertheless, I have learned something not taught in my diploma course (Matrices is only taught to Gaming Diploma students), and that will definitely be useful in the course of HoloTouch Project.
Though I am abit worried about the time available for creating the rubic cube (suppose to submit today), but I think learning has to take place step by step. If not, misunderstanding of concepts occur, and will result in possible delay.
Though studying svd was somewhat boring, it proves to be a useful concept to learn.
=====Reflection of the week=====
In this week, I have read and studied on Singular Value Decomposition, and its use in not only graphic or Human Computer Interactions, but also in Search Engine, Sales and many other marketing areas.
Simply I was atonished about how much these businesses uses Matrix. Matrix though it seems simple, but its concept does takes time to understand.
Though I do have a bit of struggle coping with understanding Matrix, but preserverance has helped me to undeerstand the complex concept of Matrix.
During the process, I have learned on how small things, which we mostly are ignorant of, can be so useful in our lives.
Nevertheless, I have learned something not taught in my diploma course (Matrices is only taught to Gaming Diploma students), and that will definitely be useful in the course of HoloTouch Project.
Though I am abit worried about the time available for creating the rubic cube (suppose to submit today), but I think learning has to take place step by step. If not, misunderstanding of concepts occur, and will result in possible delay.
Though studying svd was somewhat boring, it proves to be a useful concept to learn.
=====Reflection of the week=====
In this week, I have read and studied on Singular Value Decomposition, and its use in not only graphic or Human Computer Interactions, but also in Search Engine, Sales and many other marketing areas.
Simply I was atonished about how much these businesses uses Matrix. Matrix though it seems simple, but its concept does takes time to understand.
Though I do have a bit of struggle coping with understanding Matrix, but preserverance has helped me to undeerstand the complex concept of Matrix.
During the process, I have learned on how small things, which we mostly are ignorant of, can be so useful in our lives.
Week 8 Day 4
Today I worked on examples of OpenGL for the entire afternoon, and switched back to create a "manual calibration" mode for colour tracker for the rest of the day. I was gald to hear that color tracker (or our hardwork) will be finally shown to the audiences.
Surely, I will need to spend time on it to make sure audience will get inspired by it, and not just treat it as some usual boring applications. Hopefully when the manual calibration mode is done, I shall start on changing the way the application manages its color range.
Surely, I will need to spend time on it to make sure audience will get inspired by it, and not just treat it as some usual boring applications. Hopefully when the manual calibration mode is done, I shall start on changing the way the application manages its color range.
Week 8 Day 3
Today I have managed to finish the entire course on Singular Value Decomposition, and proceed to OpenGL programming. Did a couple of single examples such as Pyramid and Triangle rotating and turning, fairly interesting.
Still, there are many examples to try, and many more to learn.
But nevertheless, this is the start of a new invention, inspiration as well as opportunities
Still, there are many examples to try, and many more to learn.
But nevertheless, this is the start of a new invention, inspiration as well as opportunities
Week 8 Day 2
Day 2 of the studying week, well feels like I am back in poly doing my problem-based learning. Today I had spent couple of hours to understand difficult terms like Identity Matrix, abnormal matrix and many others, and finished 3 tutorials. 2 more to go tomorrow before reaching the ending point
Week 8 Day 1
Its a brand new week ahead. This week I started on learning tutorials on doing SVD calculations.
There are many of these great ones online, but due to being new to Matrices, it took me almost half a day to learn finish and fully understand the first chapter of the tutorial, still 5 more to go.
Basically matrices are 2 or more values stored together in a set, and we are learning it as it can be used to store coordinates of our hands during the development of the "steoro" version of HoloTouch.
There are many of these great ones online, but due to being new to Matrices, it took me almost half a day to learn finish and fully understand the first chapter of the tutorial, still 5 more to go.
Basically matrices are 2 or more values stored together in a set, and we are learning it as it can be used to store coordinates of our hands during the development of the "steoro" version of HoloTouch.
Tuesday, November 17, 2009
Week 7 Day 5
Reached the end of Week 7, feels like in the blink of an eye still.
After the color tracker has once again been tested and presented, it is being put aside and we were to study on 2 things :
1) Matrix Multiplication
2) Single Value Decomposition
Our goal now was to study these 2 topics and apply them into the later part where we were to program with 3D graphics
The end of the week was fast, and soon it will be the start of week 8. Hopefully I can complete the studying of SVD and Matrix Multiplication by either tuesday or wednesday
===Reflection====
This entire week saw me programming with the camera to detect colors, as well as to write codes to ignore conflicting colors in the background. Although I was abit tired from the vigorous testing needed, but at the end I have successfully written a workable and tested code.
This brings me back to my memories of my assignment days, were debugging feel tiring to me, but still, I have manage to complete a working assignment in time that is enhanced.
The principle that I can learn through this process is perserverance and prevention of procrastination. Procrastination is the tendency to postpone certain task due to mood, and it was said by Adam Khoo as the No.1 Killer of Succcess. From all of my experience, I would totally agree with Adam Khoo.
After the color tracker has once again been tested and presented, it is being put aside and we were to study on 2 things :
1) Matrix Multiplication
2) Single Value Decomposition
Our goal now was to study these 2 topics and apply them into the later part where we were to program with 3D graphics
The end of the week was fast, and soon it will be the start of week 8. Hopefully I can complete the studying of SVD and Matrix Multiplication by either tuesday or wednesday
===Reflection====
This entire week saw me programming with the camera to detect colors, as well as to write codes to ignore conflicting colors in the background. Although I was abit tired from the vigorous testing needed, but at the end I have successfully written a workable and tested code.
This brings me back to my memories of my assignment days, were debugging feel tiring to me, but still, I have manage to complete a working assignment in time that is enhanced.
The principle that I can learn through this process is perserverance and prevention of procrastination. Procrastination is the tendency to postpone certain task due to mood, and it was said by Adam Khoo as the No.1 Killer of Succcess. From all of my experience, I would totally agree with Adam Khoo.
Thursday, November 12, 2009
Week 7 Day 4
Today I have completed measuring the HSV values for Red, Green, Blue and Yellow, and I am now progressing towards the calibrating process, where the application will also detect the surroundings, and according to the surrounding's average HSV values, it will decide upon the range for detecting the 4 colors.
I have finished the part on the setting of values, and now progressing towards manual calibrating, where users will need to lift each finger, and move it around a small rectangle, for the program to detect the HSV for each finger's color
I have finished the part on the setting of values, and now progressing towards manual calibrating, where users will need to lift each finger, and move it around a small rectangle, for the program to detect the HSV for each finger's color
Wednesday, November 11, 2009
Week 7 Day 3
Today I spend the day doing a portion to cater to auto detection of the 4 colors.
This was due to the fact that if we do not do this, we will have to find out the values for each color each day, as the color range detection values changes from day to day (which I am not sure why).
Completed the portion on detecting the environment's highest HSV and lowest HSV, and currently progressing towards comparing the environment's HSV to compare to a hard coded HSV, and then add the different to the pre-defined color range
This was due to the fact that if we do not do this, we will have to find out the values for each color each day, as the color range detection values changes from day to day (which I am not sure why).
Completed the portion on detecting the environment's highest HSV and lowest HSV, and currently progressing towards comparing the environment's HSV to compare to a hard coded HSV, and then add the different to the pre-defined color range
Tuesday, November 10, 2009
Week 7 Day 2
Today I and Victor have started on motion detection, and the process was fun.
This is because in our trial tests, we manage to move a graphical rectangle with our hands, and it really seems as we are moving it with our physical hands!
This was somewhat something interesting from the days of coding we have done on HoloTouch
Another interesting thing I discovered today was that in C/C++, when an exception happens, there will not be any error messages, the program will continue on normally, but the method or code will just skip. I was greatly shocked by this, as it means that I may have not even discovered exceptions that may have caused by my codes throughout all my assignments at IHPC.
Indeed C/C++ is a powerful langauge, but I think this is one of its weak point.
This is because in our trial tests, we manage to move a graphical rectangle with our hands, and it really seems as we are moving it with our physical hands!
This was somewhat something interesting from the days of coding we have done on HoloTouch
Another interesting thing I discovered today was that in C/C++, when an exception happens, there will not be any error messages, the program will continue on normally, but the method or code will just skip. I was greatly shocked by this, as it means that I may have not even discovered exceptions that may have caused by my codes throughout all my assignments at IHPC.
Indeed C/C++ is a powerful langauge, but I think this is one of its weak point.
Monday, November 9, 2009
Week 7 Day 1
Today we finished on the detection for 4 fingers (different colors), and we are now working towards making the application able to detect motion, and move a square around,and resizing it according to various hand gestures.
However, today was spend on bug fixing and improvements as bugs occurred during our presentation to our supervisor
However, today was spend on bug fixing and improvements as bugs occurred during our presentation to our supervisor
Saturday, November 7, 2009
Week 6 day 5
TGIF!
Glad its a Friday once again, and today, I and my colleague registered and tested more colors in the application. We tested it with a coloured gloves (with different colors for each finger), and it worked perfectly.
The rest of the entire day we were thinking of ways for motion detection
Glad its a Friday once again, and today, I and my colleague registered and tested more colors in the application. We tested it with a coloured gloves (with different colors for each finger), and it worked perfectly.
The rest of the entire day we were thinking of ways for motion detection
Week 6 Day 4
After various tries on my code and logic, I decided to temporarily put away my codes, and help my colleague, Victor, in his implementation, which is showing more successful results for blue detection.
I studied a bit on HSV colors detection and found it to be quite unique. HSV uses an angle for its Hue, rather than a value from 0-255, and it has 2 other values for identifying its Saturation and Value, which I feel, helps to counter the detecting of blue as black, which happened to LAB.
The rest of the day was actually spend on testing of color ranges, fixing and refactoring of codes, and showing our supervisor of our current progress.
After our supervisor left, we tried to register our skin color as a detection color, and was glad it worked well. However,we give up the idea of using skin color as a means for detection of hands, as the solution have quite a number of constraints
I studied a bit on HSV colors detection and found it to be quite unique. HSV uses an angle for its Hue, rather than a value from 0-255, and it has 2 other values for identifying its Saturation and Value, which I feel, helps to counter the detecting of blue as black, which happened to LAB.
The rest of the day was actually spend on testing of color ranges, fixing and refactoring of codes, and showing our supervisor of our current progress.
After our supervisor left, we tried to register our skin color as a detection color, and was glad it worked well. However,we give up the idea of using skin color as a means for detection of hands, as the solution have quite a number of constraints
Week 6 Day 3
Today I realised that block detection apparently failed for blue color. As the LAB's value for dark blue color is very close to the values for black, the application would sometimes regconize black as blue, which results in it detecting irrevelant objects in the surrounding as a block.
I have added codes to allow my program to ignore the environment's default LAB values, and it does provide a little improvement on the block detection for blue, but that was still not sufficient to allow blue block detection to work completely
Next, I expanded the range for block detection, and put a tighter limit for the initial detection point. This does helps in block detection for red, green and yellow, but blue is now not even detected.
For the rest of the days, I tried on expanding and changing the range for block detection of blue, which apparently still doesn`t work as it detects the surround's dark black as blue
I have added codes to allow my program to ignore the environment's default LAB values, and it does provide a little improvement on the block detection for blue, but that was still not sufficient to allow blue block detection to work completely
Next, I expanded the range for block detection, and put a tighter limit for the initial detection point. This does helps in block detection for red, green and yellow, but blue is now not even detected.
For the rest of the days, I tried on expanding and changing the range for block detection of blue, which apparently still doesn`t work as it detects the surround's dark black as blue
Tuesday, November 3, 2009
Week 6 Day 2
Progressed on the assignment, now the application is able to do block detection, but failed in green and blue color
Monday, November 2, 2009
Week 6 Day 1
Start of a brand new week! Today was a great day at IHPC, made great progress on the assignment. The application now can detect 4 colours, and ignore any of these lighter colors detected in the background.
My goal ahead now is to learn on block detection, and how to identify motion
My goal ahead now is to learn on block detection, and how to identify motion
Week 5 Day 5
Yep, its Friday again, 2 days of full sleep and rest before the usual 9-5 pm day comes again.
Just began to use Macintosh and realize it isn`t as easy as Windows . Imagine a machine with shortcut keys different from Windows (even the simple copy and paste), no start menu, no mspaint, no Aero Snap, and whose mouse is somewhat not as sensitive as the normal mouse that comes with your PC desktops or laptops.
Well, it does takes a bit of time to adjust, and though I am still having some trouble with little stuffs such as failing to remember how to switch between applications, and how to add a new tab to safari, and sometimes missing the completely-easy-to-use Windows 7, using Macintosh allows me to learn yet another OS, and be more "platform-independent" when working in the IT industry.
Reflection :
Yep, its been another week, and I have completed two assignments, now started to work on the real "Hollow Touch" project itself. Up to today, my application is only able to detect and identify one color out of the 4 colours.
Despite this, I have learned more on OpenCV and its potential in the world of movies and design. Though it will take time for me to learn OpenCV sufficiently to complete this project, I believe that with passion and dedication, this will be a fun and interesting assignment for me, and OpenCV will be definitely useful in aiding me on creating applications related to Human Computer Interaction in the future.
Just began to use Macintosh and realize it isn`t as easy as Windows . Imagine a machine with shortcut keys different from Windows (even the simple copy and paste), no start menu, no mspaint, no Aero Snap, and whose mouse is somewhat not as sensitive as the normal mouse that comes with your PC desktops or laptops.
Well, it does takes a bit of time to adjust, and though I am still having some trouble with little stuffs such as failing to remember how to switch between applications, and how to add a new tab to safari, and sometimes missing the completely-easy-to-use Windows 7, using Macintosh allows me to learn yet another OS, and be more "platform-independent" when working in the IT industry.
Reflection :
Yep, its been another week, and I have completed two assignments, now started to work on the real "Hollow Touch" project itself. Up to today, my application is only able to detect and identify one color out of the 4 colours.
Despite this, I have learned more on OpenCV and its potential in the world of movies and design. Though it will take time for me to learn OpenCV sufficiently to complete this project, I believe that with passion and dedication, this will be a fun and interesting assignment for me, and OpenCV will be definitely useful in aiding me on creating applications related to Human Computer Interaction in the future.
Subscribe to:
Comments (Atom)