Skip to main content
Earlham CS/DS Portfolios

Week of April 20th

This last week I tried to connect my C++ code with my Python code. I failed because I couldn’t convert from cv::Mat to Numpy Array. There were several problems with that. I will instead save the output of my C++ code as a jpg, and read the jpg in python. This is still considerably faster … Read more

Week of April 13th

I finished the first draft of the poster. While doing that, I needed to get the accuracies for my AI model and my image processing algorithm overall. My AI accuracy was around 90% for the testing set. However, I realized my initial idea for measuring image processing accuracy was flawed. I have been working on … Read more

Week of march 30

I am struggling with linking my C++ code and Python code. The conversion from numpy array to cv2::Mat and back is the problem. There are libraries to help with that, but I fail at setting them up.

Week of 23 March

I parallelized some of the python code. I also rewrote the color processing code into C++. The C++ code for individually changing each pixel is 600 times faster. I read up on how to make images of food look better and added more algorithms. I want to improve the algorithms/add more algorithms. They are currently … Read more

Week 7

 I fixed the problem where all returned images look the same. I started looking into how to parallelize the code and learning photography techniques to make images better.  I have also made a more presentable diagram, which I will also use in my paper and poster.

Week 6

I did not manage to get the foreground (the food) with zero user interaction. I have achieved pretty good success at picking just the food with minimal user interaction. I will try it with a pure white background next. I can now successfully manipulating individual contour areas.  For next week, I will (finally) work on … Read more

Week 5

I am trying to succesfully detect the foreground object in the image, which will be food. While the initial idea was to use AI to detect the food in the image, this is not a completely solved problem yet. Since I can choose my own input, using the foreground image makes more sense. Charlie recommended … Read more

Week 4

I finished the ranking module. It take a folder of images, converts them to an array, passes the n best images to another function, which keeps processing the images, and then picking the best n again to be processed. There is no processing yet. For the processing, I have started working on the genetic pixel … Read more

Week 3

I have started working on passing images to the ranking algorithm. I also have found some online food-photography courses I want to look at. Learning that will be helpful in knowing how to improve my images.

Week 2

I have spent some time thinking about how to split up the timeline into more detail. I have met with Charlie, and decided that the program should take a bulk of images as an input rather than a video. The next step is to learn more on the photography aspect of things.

Week 13

This week I have not been able to do much progress. I have decided to scrap the idea to use Machine Learning in the module for altering images, due to difficulty in implementation. Besides that, I have worked on the second draft of my proposal.

Week 12

I have been continuing learning machine learning with Python, specifically  PyTorch. I started with PyTorch because it has a less steep learning curve compared to Tensorflow (the alternative). However, there are more tutorials for Tensorflow and I might pivot next semester as the image processing gets more complicated and I need more resources in incorporating … Read more

Week 11

I finally received the Gourmet Dataset. In fact, I received a devised version that has twice as many images as the original one. I also have the Yelp dataset, although that dataset has not be curated by humans, I am hoping to use it for training my algorithm in addition/instead of ImageNet or AVA. Since … Read more

Week 10

I have been looking more into the image processing part. I have created my first draft of the code to alter the colors of an image. I have also looked into the rotating of the food in the image. This seems not doable (in the way and scope I wanted to), so I changed my … Read more

Week 9

During my weakly meeting with Igor, he brought to my attention a better way to increment the ranking algorithm. In the first round, a certain number of image processing techniques will be applied to the original image and the top 10 or so images will be passed on to the next round. For each round … Read more

Week 8

While preparing my diagram for the quiz, I got a much better conceptual understanding of what I want my project to look like. I have also found nice papers this week. I started thinking of a few different image processing techniques that might help with making the image, and picked a computer vision algorithm for … Read more

Week 6

I am going with the auto-image processing for food. I have been looking more into the literature, and there is limited literature that deals with making food look better, and they are all relatively recent publications. However, there is literature about how to train machines to assess how aesthetically pleasing images of food are, and … Read more

Week 5

I am pretty certain at this point that I want to do something food and image processing related. This evolved out of my first idea (MyOrder), but is not quite the same. I want to do some sort of auto image processing to make food look better, and provide an interface/API to use the service. … Read more

Week 4

After talking to Igor, I realized I could incorporate a food recommendation system to my food ordering app. After thinking some more, I realized the food recommender might actually be more interesting than the food ordering system.

Week 3

I have read some literature on all three of my ideas, and was pleasantly surprised to see that there was a lot of academic research potential in the ideas that I thought were a little dry in research, which was my main concern with my ideas. The most exciting idea I got was adding a … Read more

Week 2

Idea 1 My first idea stays the same, making an online food ordering system that works over wifi. I need to think about how to differentiate my product, what is new with this, and how to test it. Idea 2 A web platform aimed at helping people learn/practice math. Using a template, it would generate … Read more