Download the Code

Because this project is completed by a team of students, each aspect of the project’s code (below) is stored on a Github repository. This allows all team members to easily work together on the project in parallel, and it also allows the instructors to share code with the students throughout the project. There are three Github repositories for this project, as follows:

NameLinkPurpose
student-image-processing https://github.com/bwsi-hadr/student-image-processing Process Images using Python and OpenCV, and show the analysis in Flask.
student-access-images https://github.com/bwsi-hadr/student-access-images Use MongoDB to store Raspberry Pi images to a database, and create methods to open them in the Flask application.
student-pi-imaging https://github.com/bwsi-hadr/student-pi-imaging Take time lapse images on the Raspberry Pi during flights.

Creating Forks of the Repositories

  1. Open the image processing repository above. On the page, click the ‘Fork’ button in the top right corner of the page. This will create a copy of the repository that you can use for writing your own code.

    Image here

  2. Now you should have a forked repository of student-image-processing. Make sure that you now have a repository on github with the following text:

    Image here

    Please note: Your fork should be <username>/student-image-processing, replacing my username (intermezzio).

  3. Repeat steps 1-2 for all three repositories: student-image-processing, student-access-images, and student-pi-imaging.

Cloning the Repositories to your Computer

  1. Open your newly created repository for image processing (<username>/student-image-processing). Now, press the ‘Clone or download’ button and copy the link. If you are not familiar with using git, make sure HTTPS is selected. If you want to clone using SSH, however, follow this tutorial to add SSH to your github account.

    Image Here

  2. Open a terminal (or git bash) on your computer and go to the directory where you want to place your repository. Then, type in the following command to clone (copy) the online repository to your computer:

    git clone https://github.com/<username>/student-image-processing

    Code here

    The git clone command creates a folder on your computer with the same name as the online repository. All of the files are then copied into that folder.
    Please note: You will not see the directory student-access-images/ in your repository when you clone it. You will add that in a future tutorial.

  3. Repeat steps 1-2 for all three repositories: student-image-processing, student-access-images, and student-pi-imaging.

  4. When all three repositories are cloned (into separate folders), check that they all have the right files in them:

    Code here