1 of 20 made by: dag t. b. pedersen niels b. pedersen rasmus f. gadensgaard kasper plejdrup...

20
1 of 20 P1 Project Passport Photo Program Made by: Dag T. B. Pedersen Niels B. Pedersen Rasmus F. Gadensgaard Kasper Plejdrup Christian J. O’Keeffe Aleksander S. Nilsson Mette T. Pedersen

Upload: shon-goodman

Post on 03-Jan-2016

221 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: 1 of 20 Made by: Dag T. B. Pedersen Niels B. Pedersen Rasmus F. Gadensgaard Kasper Plejdrup Christian J. O’Keeffe Aleksander S. Nilsson Mette T. Pedersen

1 of 20

P1 ProjectPassport Photo Program

Made by:Dag T. B. PedersenNiels B. PedersenRasmus F. GadensgaardKasper PlejdrupChristian J. O’KeeffeAleksander S. NilssonMette T. Pedersen

Page 2: 1 of 20 Made by: Dag T. B. Pedersen Niels B. Pedersen Rasmus F. Gadensgaard Kasper Plejdrup Christian J. O’Keeffe Aleksander S. Nilsson Mette T. Pedersen

2 of 20

Content of presentationProblem AnalysisTheoryDesignDevelopmentTestingDiscussion & ConclusionProcess Analysis

Page 3: 1 of 20 Made by: Dag T. B. Pedersen Niels B. Pedersen Rasmus F. Gadensgaard Kasper Plejdrup Christian J. O’Keeffe Aleksander S. Nilsson Mette T. Pedersen

3 of 20

Initializing problemProgrammatic Image EditingDifficult to make a passport photo right

Page 4: 1 of 20 Made by: Dag T. B. Pedersen Niels B. Pedersen Rasmus F. Gadensgaard Kasper Plejdrup Christian J. O’Keeffe Aleksander S. Nilsson Mette T. Pedersen

4 of 20

Documentation of problemWhy do we have passports?80 % of photos taken in a photo booth gets

rejectedExpensive to take photo at photograph

(around 100 DKK)No program on the market, which solve the

problem for free.

Page 5: 1 of 20 Made by: Dag T. B. Pedersen Niels B. Pedersen Rasmus F. Gadensgaard Kasper Plejdrup Christian J. O’Keeffe Aleksander S. Nilsson Mette T. Pedersen

5 of 20

Page 6: 1 of 20 Made by: Dag T. B. Pedersen Niels B. Pedersen Rasmus F. Gadensgaard Kasper Plejdrup Christian J. O’Keeffe Aleksander S. Nilsson Mette T. Pedersen

6 of 20

Thesis Statement”Is it possible to develop a program that

helps the customer through the process of making a passport photo”

Substatements

Page 7: 1 of 20 Made by: Dag T. B. Pedersen Niels B. Pedersen Rasmus F. Gadensgaard Kasper Plejdrup Christian J. O’Keeffe Aleksander S. Nilsson Mette T. Pedersen

7 of 20

MethodWork by the Aalborg PBL model.Source criticism

Page 8: 1 of 20 Made by: Dag T. B. Pedersen Niels B. Pedersen Rasmus F. Gadensgaard Kasper Plejdrup Christian J. O’Keeffe Aleksander S. Nilsson Mette T. Pedersen

8 of 20

Choice of libraryA library is necessary for C to work with

JPEGChoice was between the libraries libJPEG,

libJPEG-turbo, OpenCV, and ImageMagicklibJPEG provided the necessary functions.

Page 9: 1 of 20 Made by: Dag T. B. Pedersen Niels B. Pedersen Rasmus F. Gadensgaard Kasper Plejdrup Christian J. O’Keeffe Aleksander S. Nilsson Mette T. Pedersen

9 of 20

Target Group AnalysisOur Target Group is the modern segment on

the Gallup Compass.The program was developed to satisfy the

need of the target group.

Page 10: 1 of 20 Made by: Dag T. B. Pedersen Niels B. Pedersen Rasmus F. Gadensgaard Kasper Plejdrup Christian J. O’Keeffe Aleksander S. Nilsson Mette T. Pedersen

10 of 20

Specification RequirementsThe program must:

Be written in CGuide the user through the programHelp the user to pinpoint the head on the photoScale the photo to right sizeDisplay the image on the screen to the userCheck if the image is in high enough qualityCheck if the image meets the requirements to

passport photosPreview the final picture to the user.

Page 11: 1 of 20 Made by: Dag T. B. Pedersen Niels B. Pedersen Rasmus F. Gadensgaard Kasper Plejdrup Christian J. O’Keeffe Aleksander S. Nilsson Mette T. Pedersen

11 of 20

Demonstration of program

Page 12: 1 of 20 Made by: Dag T. B. Pedersen Niels B. Pedersen Rasmus F. Gadensgaard Kasper Plejdrup Christian J. O’Keeffe Aleksander S. Nilsson Mette T. Pedersen

12 of 20

Different function descriptionsWe will describe the functions to:

Mark the head on pictureCalculate selection into passport photo formatLight/dark checkCheck photo for passport rules

Page 13: 1 of 20 Made by: Dag T. B. Pedersen Niels B. Pedersen Rasmus F. Gadensgaard Kasper Plejdrup Christian J. O’Keeffe Aleksander S. Nilsson Mette T. Pedersen

13 of 20

Mark the head on pictureApplies a red frame of the marked area on

the pictureDarkens the image

outside the frame.

Page 14: 1 of 20 Made by: Dag T. B. Pedersen Niels B. Pedersen Rasmus F. Gadensgaard Kasper Plejdrup Christian J. O’Keeffe Aleksander S. Nilsson Mette T. Pedersen

14 of 20

Calculate selection into passport photo formatMake the marked area of the head into

passport photo format (45/35)A function will later calculate the required

DPI, so the size will be 45 mm in height and 35 mm in width.

Page 15: 1 of 20 Made by: Dag T. B. Pedersen Niels B. Pedersen Rasmus F. Gadensgaard Kasper Plejdrup Christian J. O’Keeffe Aleksander S. Nilsson Mette T. Pedersen

15 of 20

Light/dark checkFind the average color valueIs approximate, but can give an idea if

something is wrong.

Page 16: 1 of 20 Made by: Dag T. B. Pedersen Niels B. Pedersen Rasmus F. Gadensgaard Kasper Plejdrup Christian J. O’Keeffe Aleksander S. Nilsson Mette T. Pedersen

16 of 20

Pixel selection

Page 17: 1 of 20 Made by: Dag T. B. Pedersen Niels B. Pedersen Rasmus F. Gadensgaard Kasper Plejdrup Christian J. O’Keeffe Aleksander S. Nilsson Mette T. Pedersen

17 of 20

Check photo for passport rulesAsk the user if the photo meets the

requirements the program cannot check.If the photo does not meet the requirements,

the errors will be listed.

Page 18: 1 of 20 Made by: Dag T. B. Pedersen Niels B. Pedersen Rasmus F. Gadensgaard Kasper Plejdrup Christian J. O’Keeffe Aleksander S. Nilsson Mette T. Pedersen

18 of 20

TestingWe tested the program with persons from our

target groupThe program was corrected from the

feedback from the test persons.

Page 19: 1 of 20 Made by: Dag T. B. Pedersen Niels B. Pedersen Rasmus F. Gadensgaard Kasper Plejdrup Christian J. O’Keeffe Aleksander S. Nilsson Mette T. Pedersen

19 of 20

Discussion, Perspective & ConclusionThe program meets the requirementsThere where positive feedback from the test

persons.The program was a success

Page 20: 1 of 20 Made by: Dag T. B. Pedersen Niels B. Pedersen Rasmus F. Gadensgaard Kasper Plejdrup Christian J. O’Keeffe Aleksander S. Nilsson Mette T. Pedersen

20 of 20

Process analysisWhat we did well What we will change to next

time

We had a leader and a coordinator which had the overview of the project

More concentration at the meetings.

We worked 9-16 every day More concentration at group work at lectures

We had our morning meetings, so we new what has been done and what to do.

Make it a common responsibility that we keep concentration, so it is not only the responsibility of the group coordinator.

Good communication with the supervisors

Have more respect for the agenda manager at the meetings

Our good internal communication and knowledge sharing in the group.