I. Introduction Computer vision and face recognition are both the areas closely related to machine learning technique. In this project, we used the grey-scale face images donated by Tom Mitchell [1] to classify if the person in picture is wearing a pair of sunglasses. We are trying to discover significant features in face recognition projects.
II. Data format A total 640 grey-scale images are in .pgm format. They are collected from 20 volunteers. 32 different pictures are taken from each volunteer. During the image collection process, volunteers are requested to turn their heads to four different positions: up, left, right and bottom. They are also asked to express four different facial expressions: neutral, happy, sad, and angry. For each composition of positions and facial expressions, two pictures of the volunteer are taken, one with a pair of sunglasses and the other without. All these features are packed in the title of the picture files. A sample picture is shown in Fig. 1.
Fig.1 A sample picture in the images.
Each picture is in three formats: a full-resolution (128*120), a half-resolution image (64*60), and a quarter-resolution image (32*30). For each pixel, it is represented as an 8-bit unsigned integer number for the grey-scale. Images are in 20 different folders named after the volunteer name. For the baseline test, we use pixels as features for classification. We use the quarter-resolution image with 960 pixels, since a dataset with higher resolution will cause heap overflow problem in weka. There are 960 features and 640 instances totally.
III. Baseline performance To run a Baseline test on the data set, we built a python program to traverse the data folders to get image names and path, read the image pixels and tagged them as with glass or without glass. Then the data set was outputted into a .csv file, which can be read by weka. The dataset is shown in Fig. 2.
Fig.2 Dataset of the project In the baseline test, we ran a linear regression algorithm on the data set in weka. We guessed linear regression algorithm tends to work well in this project. This is because intuitively, when a person in the image is wearing sunglasses, the image will have more dark pixels. The result is shown in Fig. 3. Without any advanced computer vision algorithm and
Related Documents: Is she/he wearing sunglasses? Essay
the treatment for Albinism is to try and relieve the symptoms. But, treatment depends on how server the case is. One way people with Albinism can treat themselves is by staying out of the sun or wearing sunblock. Also make sure the person is clothed well so no sun has a way of hitting them. Wearing sunglasses also plays a huge role because this may help with light sensitivity. Most doctors prescribe glasses for people with Albinism to correct vision problems and eye position. But, sometimes eye muscle…
invented around 1000AD by the Greeks, they were called reading stones; they were a glass sphere that was laid on top of the reading material to magnify the letters. Alessandro Della of Spin, was the first person who revolutionate the look of glasses. He came up with the idea of making 2 cristal stones, and to put 2 iron thics within them so humans could hold them with their hands, since then the glases have been revolutionazing the ones we now have. Glasses are very important to all people who…
Arnold Friend’s physical appearance seems to be that of a perfectly typical young man – which is just how the Devil would want it to look. With closer inspection, though, it becomes apparent that this is merely a facade. Upon removing his mirrored sunglasses, Arnold reveals one of the most obviously unnatural aspects of his physical appearance, his eyes. They are, as Oates describes them, “[…] like holes that were not in shadow but instead in light. His eyes were like chips of broken glass that catch…
reads, “and he lifted up his eyes and saw the traveler in the open square of the city; and the old man said, “where are you going, and where do you come from?”(King James Version, Judges 19:17). Is this directly connected to Arnold Friend, along with other implications suggesting that he is, in fact, Satan? In the beginning of the story, Connie is described as beautiful and maybe even self absorbed. She seems self conscious at the same time. Oates described her as, “was fifteen and she had a quick…
as possible. It was spring and the weather was warm, and she had air conditioning at her house. We were watching Me Resbala a very funny show and all of a sudden we hear a woman screaming down the hall. We made our way to the noise and we saw a woman crying, screaming, and hitting a guy with her purse. I didn’t pay much attention to the way the way the guy was dressed because I was focusing on the woman hitting him. The woman was wearing some boots, jeans and a t shirt. On the right of the road…
funny, but stubborn man with a passion for family and motorcycles. Harley Davidson motorcycles to be exact. I remember him spending hours cleaning up his 1984 Harley Davison Roadster; it was his pride and joy. The motorcycle was an older version that he had owned for 17 years, but it was in favorably good condition given the age of it. Many of those hours were endured by rebuilding the motor on the engine carrying almost 50,000 miles. The gas tank was black with orange letters Harley Davidson scripted…
outside the home. His mother works as Vice President of Events at Bank of the West and his father is a self-employed dog walker. Jack enjoys swimming, karate, and playing outside. His dream job when he grows up is to build and own a hands-on museum for kids to play in, like the one he went to when he visited his grandparents in Ann Arbor, Michigan. 1. Question: Jack, could you give me your personal definition of Happiness? Response: Happiness is when your face is filled with joy and you can’t…
carried are ready to wear designer lines that are casual and contemporary apparel and accessories for women. The line of accessories includes unique designer jewelry from local artists and also including gloves, small leather goods, bags, belts and sunglasses. Dulcinea’s is a woman’s owned business with over 14 years of experience and is currently organized as a sole proprietorship. Dulcinea’s main mission is to provide woman with a boutique that offers: A comfortable and approachable environment.…
EXEMPLAR FOR EXCELLENCE Slumdog Millionaire, directed by Danny Boyle, is a film that follows the films protagonist, Jamal, as he endevours on a winning stint on the popular show Who wants to be a Millionaire? Jamal is a slumdog a boy who was raised on the poverty of the Mumbai slums. The director uses setting, colour, juxtaposition and dialogue to give the viewer a strong idea of the importance of money in an impoverished society. The setting of the Juhu slums gives the audience an insight into…
Advertising War In the mid-1920’s GM began introducing annual model changes to their vehicles and had to convince consumers of their need to buy a new car only a few years after buying their first car. GM was successful in marketing their new cars to the public, surpassing Ford as the leading automaker. GM’s success prompted a variety of companies to attempt to market their products to the masses, which in turn gave birth to a new profession: advertising firms (Murrin 613). These firms continued…