top of page
  • Writer's pictureJoe Linogao

Laidlaw Research: Atmosphere, food models and Image Processing

Updated: Jul 28, 2021

Welcome to my first update blog for my Laidlaw programme journey! In this blog, I talk about how I'm generally feeling about the whole experience, my first "food identification" model, and some image processing techniques. Once again, I hope you enjoy the read!

Note: this blog has been shared on my personal website (where you are reading this right now), and my posts on the Laidlaw Scholars Network,


Oh boy, it has been a crazy week and a half. I have a newfound respect for all researches around the world because it is some way of work. My first week involved getting settled into my workspace on campus, confirming the scope of the project with my supervisor, and attending Leadership events hosted by the Laidlaw Foundation (p.s. keep an eye on those blogs).

What is it like being a student researcher?

It is a completely different ball game compared to doing assignments/reports for my course. I attended a talk with Allen Chen (i.e. the NASA JPL leader for two Mars rovers) who simplified the concept of researching very well saying, "There isn't going to be an answer key online. You in fact are going to be the first one to create the answer key to your question." That totally doesn't get the nerves moving at all.

To be honest, I love the new approach to problem-solving. Yes, it is something that I'm not used to yet but, the whole experience is very rewarding. The whole "researching" experience has deepened my way of taking a problem and dividing it into smaller sub-problems. Each sub-problem could in fact be divided into even smaller sub-problems. But the feeling of accumulating all that you have learned and glueing it all together is just absolutely thrilling. Am I exaggerating? Possibly. But hey, I'm finding the experience quite enjoyable if you ask me.

Oh! I almost forgot to talk about my "office" on campus. While I do have the option to work from home, I like to work in the office/lab space at the department building for a few reasons:

  1. I get away from all the distractions at home

  2. There are giant windows that let in so much light, it's amazing

  3. I really enjoy seeing the other projects students/interns are working on around me. The office space is actually one big lab room which can only have up to 4 people in it due to current COVID restrictions. I've been talking to a few people about their projects, and it's just so fascinating to see the wide range of fields there are in just one room.

What have I been working on?

Part 1: Deep Learning and Food Identification

As a reminder, my research project involves finding a new way to automate the process of counting colony-forming units (CFUs) found on contact plates. For this project, I will be exploring the potential of deep learning in classifying a valid bacteria colony, fungus growth, defects (such as air bubbles), etc etc. But what is deep learning you may ask?

My crude explanation for deep learning is that it veers away from the traditional way of creating computer programs. In short, we create a "step-by-step" process, or algorithm, which we use to perform a certain task. Deep learning on the other hand allows us to give data to a computer (such as an image database) and teach how to interpret the data (e.g. tell it what is in each image). When we then give it new data, the computer's trained model would be able to react accordingly. In short, we make the computer imitate the human mind when it comes to learning.

The library that I'll be using for any deep learning need is "" It is a robust library that allows for very easy manipulation of the syntax for my needs. Furthermore, I am following an amazing course on it by Jeremy Howard who has made the whole learning process much easier, considering the complex topic that is deep learning.

I've been doing most of my deep learning with Jupyter Notebook through jupyterlab, and through Google Colab if I require GPU power when I'm away from my desktop computer. Although it is very basic, I even made a model that can tell the difference between ice cream, pizza and cookies (most of the time)!

Yes, I know a pizza isn't a dessert. It's my first model okay? I'll get better!

To simplify what's happening here, I'm loading a trained model (created in a separate notebook) that knows the difference between pizza, ice cream and cookies. Using that, I created an upload button which when given an image, runs the model and outputs a result with a confidence rating between 0 and 1. Despite the simplicity, it really helped to solidify the foundations of deep learning in my head.

Part 2: Image Processing with Threshold Masks

To make it easier for the computer to identify CFUs, pre-processing of the image of the contact plate is done. Pre-processing simply involves changing aspects of the image, such as brightness and contrast, to allow the CFUs on the plate to "stick out" more clearly in the picture. Using OpenCV, I've been experimenting with isolating bacteria colonies as shown in the images below.

As you can see, it's not 100% accurate and the mask profile that I'm using doesn't really work for all cases. But, it's a great start in the right direction.


So yeah! That has been my first/second week as an undergraduate researcher. Again, I'd like to thank the Laidlaw Foundation for giving me such an amazing opportunity. I hope you enjoyed the read! I'm thinking of actually creating a sort of "mini-series" where I make vlogs about my day to day process. While you wait for that though, make sure to keep up to date via my Instagram, @joeceengineering!

Again, thank you so much for reading and I'll see you in the next one!

39 views0 comments

Recent Posts

See All


bottom of page