Please put a header of this format at the top of each file. This will help with the documentation process and make the final publication stronger.
'''
Author: Ivan Torriani
Description: This file uses the Moondream multimodal model
to convert .jpg images to textual descriptions in json format.
'''Basic Setup Instructions, feel free to skip if you've cloned repositories before.
- On the repository homepage, click the green
Codebutton and copy the URL. - On your local machine, open a terminal and navigate to where you want the project to live.
- Type
git clone <url>with the copied URL to download the repository. - Navigate into the project folder with
cd <repo-name>.
Please use branches and pull requests when completing tasks so that our working code remains intact and our work doesn't become overwritten. If you already know how this works, feel free to skip.
- Next to
mainon the repository homepage, clickBranches. - Make a new branch by clicking
New Branchwith sourcemainand give it an legible title with your last name somewhere (ex. Torriani-Autonomous-Team) - On your local cloned repo, type in the terminal
git pullto acknowledge your new branch andgit checkout <your branch>to select your branch. - Whenever you push your code with
git push, make sure that you are on your branch such that code doesn't get overwritten (I will add safeguards though just in case)
- When you've completed a task that is ready to be incorporated, go to the repository homepage and click
Pull Requests. - Click
New Pull Requestand set thebasebranch tomainand thecomparebranch to your branch. - Give your pull request a clear title and description of what changes you made and select me as a reviewer.
- Click
Create Pull Request.
Please commit reasonably regularly and use general commit message structure so that it's easier for me to review work and add it in. Most importantly, use "feat" when introducing a new feature/new code and "fix" when debugging. For example:
"feat * added motion detection script" "fix * fixed bug in motion detection script"