@@ -13,10 +13,10 @@ You can find the utility script for Google Drive here: [generate_coco_from_drive
13
13
- Create a Google Apps script project
14
14
- Go to https://script.google.com
15
15
- Click on "New Project"
16
- - Rename the project name to your desired project name
16
+ - Rename the project name to ` your- project- name `
17
17
- 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
20
20
- Replace ` your_coco_export.json ` with your output filename
21
21
- Replace ` your_public_folder_id ` with the ID of your Google Drive folder
22
22
> 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
26
26
- Press Run
27
27
- Accept the authorization prompts the first time you run the script
28
28
- 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
31
31
- Download the json file
32
32
33
33
## DropBox
@@ -42,7 +42,7 @@ You can find the utility script for DropBox here: [generate_coco_from_dropbox.py
42
42
- Update ` Permission type `
43
43
- Go to the app settings
44
44
- Click ** Scoped App**
45
- - Tick the following
45
+ - Tick the following permissions
46
46
- files.metadata.read
47
47
- files.content.write
48
48
- files.content.read
@@ -55,7 +55,6 @@ You can find the utility script for DropBox here: [generate_coco_from_dropbox.py
55
55
- Install uv on your system: https://docs.astral.sh/uv/getting-started/installation/
56
56
- Download the [ generate_coco_from_dropbox.py] ( ./generate_coco_from_dropbox.py ) script
57
57
- Create a DropBox folder and upload images
58
- - Your image files should be stored in a public DropBox folder
59
58
60
59
### Creation Steps
61
60
- Copy the folder pathname in DropBox
@@ -69,6 +68,6 @@ You can find the utility script for DropBox here: [generate_coco_from_dropbox.py
69
68
uv run generate_coco_dropbox.py " DROPBOX_ACCESS_TOKEN" " FOLDER_PATHNAME_IN_DROPBOX" " DESTINATION_EXPORT_FILE_NAME_IN_DROPBOX"
70
69
71
70
# 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"
73
72
```
74
73
- Download the exported coco json from the link in terminal or your DropBox folder
0 commit comments