Week 6 (4/10 - 8/10)

Working on the MVP

Converting old prototype

My main goal was to implement my prototype scripts in the MVP. In short, this allows the user to submit an image URL and have that image analysed using OpenFace. The initial prototype was made using C++, but the application is now being made in Django. This means the scripts have to be converted to Python and implemented within the general structure of Django.

The image upload form.

Once an image URL is provided, it is downloaded on the remote VM. Once it is downloaded it can be scanned using OpenFace and the .csv containing the analysis information can be returned to the user.

def analyse_image(self):
        name = self.generate_name(10)
        
        #
        os.system("cd ~/test_images && curl %s > %s.png" %(self.imageUrl, name,))

        return self.__csvLocation
Console output of an image URL being provided.

This is functional up to the actual analysis using OpenFace. I hope to finish that next week.

Other activities

I received feedback on my research reports. Some small edits are needed (such as expanding upon the summary in the Cloud Deployment article). Another tip was also given: add a section to future research articles in which I outline what the impact of the conclusion is on the rest of the project. This allows the reader to better understand how a specific research article fits in to the project as a whole. It also ties nicely in to my personal goal of better grounding my decisions in research.

Spoilers for next week

  • Complete OpenFace analysis and basic result output in Django

  • Implement feedback on research reports

  • Work on proposal for cloud hosting and discussion with Bartosz

Last updated

Was this helpful?