Week 9
To start the week off I began with more gesture transcription all of Monday.
On Tuesday, Tia and I met up in the LSRI lab to finish up finding the color codes for thresholding without the projector. It took a while for some of the colors because they were very close to each other such as, red and orange or blue and black. We completed our task of getting all of the colors to work. Our next task was to find the coordinates of the squares on the black/white backgrounds again, but with the projector this time. I also had to find the correct HSV scale for the colors with the projector on as well. At first we couldn't get the projector hooked up with the VGA cable, but Matt found an HDMI hook up, so that it would work. I decided I would do the testing with the black pieces on white background and white pieces on the black background like before. I finished up the black pieces on the white background, and then called it a day.
Wednesday I came into a full workspace. Matt and another worker already were in the office area, so it was a little crowded. I finished up the white pieces on the black background by looking through old code to find the threshold colors necessary. It worked perfectly, but shortly, something went wrong. The projector stopped connecting to my computer that was projecting the map. So much time was spent trying to figure out what was wrong with it. Tia has also left for a week long vacation, so I was stuck doing this myself. After many hours I finally finished! I was so proud of myself, I think I actually understand the concept of HSV values for openCV. The first sets of parenthesis are for the lower sets and the second for the higher, so when you set them you want to look for the color in between the two. The saturation was explained to me first as being grayer, that's what it looked like in the pictures, and I was also explained that it was like the pigment of the color. The value is the light and darkness. In openCV the hue only goes to 180 unlike the regular wheel which is 360, so everything is split in half, but the saturation and value both go up to 255. I learned a lot about these doing the testing on this part of the project. My next task will be to set up a switch operation in the code so that while running it can read more than one color and print the coordinates of each color read.
On Thursday I came in and decided that I should test the other silicon piece out that we had to see if the bolder color made a difference. In testing this piece out I realized that I would also have to retest the other colors to make sure they didn't clash with this piece. While retesting the pieces I decided I'd try to rethresh each one so that they would be more consistent. I was more successful in some than others. This is a very long process, but I wanted to get it right and look better for when Tia returned and Professor Lyons took a look at the project. What I really needed to be doing was trying to add the switch method, but I'm still not confident enough in my coding skills to do so. Once I finished trying to perfect the thresholding methods I would attempt the switch method. After looking up how the switch method is done I attempted to place it in my code. I had no idea what I was doing and beginning to see so many errors was becoming very frustrating. I really wasn't sure what to do and figured the best thing to do was wait until Tia got back. I knew on Friday there would be a photo shoot for the prototype of the project, so that would hopefully fill my time.
Friday started off well. There was a photo shoot for the prototype of the board game. Some very interesting angles and shots were taken. Matt also made some new stains for the pieces. I think a few of them are still going to be effected by the projector when placed on the board, but I would have to find out when I tested it. For now all I could do was test it without the projector.