@@ -13,10 +13,10 @@ You can find the utility script for Google Drive here: [generate_coco_from_drive
1313- Create a Google Apps script project
1414 - Go to https://script.google.com
1515 - Click on "New Project"
16- - Rename the project name to your desired project name
16+ - Rename the project name to ` your- project- name `
1717- Paste the utility script
18- - Replace any existing default code the code from this utility file
19- - Replace Placeholder Values
18+ - Replace the default code with the utility file's code
19+ - Replace placeholder values
2020 - Replace ` your_coco_export.json ` with your output filename
2121 - Replace ` your_public_folder_id ` with the ID of your Google Drive folder
2222> The folder ID is the alphanumeric string that appears after "/folders/" in the URL.\
@@ -26,8 +26,8 @@ You can find the utility script for Google Drive here: [generate_coco_from_drive
2626 - Press Run
2727 - Accept the authorization prompts the first time you run the script
2828- View COCO JSON Output
29- - Go to View > Logs
30- - Copy the Google Drive URL where the coco file is created and generated
29+ - Go to ** View > Logs**
30+ - Copy the Google Drive URL where the coco file is generated
3131 - Download the json file
3232
3333## DropBox
@@ -42,7 +42,7 @@ You can find the utility script for DropBox here: [generate_coco_from_dropbox.py
4242- Update ` Permission type `
4343 - Go to the app settings
4444 - Click ** Scoped App**
45- - Tick the following
45+ - Tick the following permissions
4646 - files.metadata.read
4747 - files.content.write
4848 - files.content.read
@@ -55,7 +55,6 @@ You can find the utility script for DropBox here: [generate_coco_from_dropbox.py
5555- Install uv on your system: https://docs.astral.sh/uv/getting-started/installation/
5656- Download the [ generate_coco_from_dropbox.py] ( ./generate_coco_from_dropbox.py ) script
5757- Create a DropBox folder and upload images
58- - Your image files should be stored in a public DropBox folder
5958
6059### Creation Steps
6160- Copy the folder pathname in DropBox
@@ -69,6 +68,6 @@ You can find the utility script for DropBox here: [generate_coco_from_dropbox.py
6968 uv run generate_coco_dropbox.py " DROPBOX_ACCESS_TOKEN" " FOLDER_PATHNAME_IN_DROPBOX" " DESTINATION_EXPORT_FILE_NAME_IN_DROPBOX"
7069
7170 # Example
72- uv run generate_coco_dropbox.py sl.yourAccessTokenHere “ /COCO TEST” “ coco_export.json”
71+ uv run generate_coco_dropbox.py sl.yourAccessTokenHere " /COCO TEST" " coco_export.json"
7372```
7473- Download the exported coco json from the link in terminal or your DropBox folder
0 commit comments