Week 11 Report
Over the term, Dr. Stonedahl and I have worked on the videos of the chicks to find a way to accurately track their movements and create a model of them. So far, we have accomplished the following goals: · We effectively remove the background of the video by using Gaussian blur and threshold to convert the video into black-and-white. We further use erosion to reduce the area of the chicks so that it decreases the occasions when the chicks move next to one another and they merge in the process. We also use the contour tool to mark the center of the chicks (the blue dot) because it makes it easier to store the coordinates of the current position of each chick further on. Background Removal · Learning from the Whirligig Beetle Project, we also successfully create a multiple frame tracking function. We create a Chick class where it stores the current location of one chick. Then we use 3 lists of the Chick object to keep track of all the chicks: one to store the chic