uprm-inso4115-2023-2024-s2 / semester-project-photofit-a-closet-inventory-app

semester-project-photofit-a-closet-inventory-app created by GitHub Classroom
0 stars 1 forks source link

Implement Photo Capture Feature #21

Closed Adhel-Esteban1 closed 6 months ago

Adhel-Esteban1 commented 8 months ago

In this development task, the team is tasked with implementing the Photo Capture Feature, allowing users to use the device's camera to snap pictures of clothing items. The feature involves the creation of a new "Cloth" class item from the captured photo. Developers will focus on integrating camera functionality, ensuring a user-friendly and responsive interface for capturing images. The system should then process the image to extract relevant information, such as color and type of clothing, to instantiate a new "Cloth" class item. This task aims to enhance the PhotoFit app's usability by enabling users to effortlessly add and categorize clothing items through a seamless photo capture experience.

However, for Milestone 2, the goal would be to have the process from photo snapping up to the class creation, and user-modifiable attributes. The computer processing would come later for milestone 3.

Adhel-Esteban1 commented 8 months ago

Urgency 9 Difficulty 8

AngelGonzs commented 8 months ago

Would it be ideal that the Capture Feature fills all the information like Clothing type and Color? Maybe only color at most, but I think users themselves should be prompted to provide specifics on the type of clothing added, as it wouldn't only be complicated to develop, but it would certainly allow for errors that the user might have to correct. Letting the user fill in such information also permits them to have greater control over the organization of their Virtual Closet I'd say.

Adhel-Esteban1 commented 8 months ago

Hi, Angel. Absolutely. There is another issue that addresses this very problem: The user adjusts the tags. Of course, even after implementing the photo processing, the user will still be able to adjust the tags. Right now, for Milestone 1, we’ll just focus on making the camera capture the photo. The photo processing will come later.

AngelGonzs commented 8 months ago

I see, however, I think that the photo processing which you describe is still far too complicated given the short amount of time that we'd have to develop it. I'd suggest dismissing the idea of creating this processing algorithm and instead focusing on more simple tasks that wouldn't take as much efforts as this.

For example, we could instead develop different Grids that would allow users to take better pictures of their clothing pieces (this would help for centering and getting the right distance for a shot)... something else like lighting adjustment or removing background like Photoroom does.

It is also important to take into consideration that not all clothing pieces would be directly uploaded from a Camera Capture, some could simply be uploaded from existing images in the user's gallery!

Adhel-Esteban1 commented 7 months ago

UPDATE: The feature will consist of being a modular "packageable" UI page so it can be used in many places. The goal for milestone 2, would be to have it snap photos, and the processing would come later. But this feature will have the option to choose a photo from the user's gallery, and store these photos into the clothes class that it will be used in.