Part 4 β€” SDK Preview [Lemons counter app]

In this part, we will load a project from the Ecosystem and count the number of annotated lemons.

Table of contents

Step 1 β€” Clone Lemons (Annotated) project from Ecosystem

Clone Lemons (Annotated) project from Ecosystem to your Workspace

Step 2 β€” Environments files

For our convenience, let's make two files in application directory: debug.env and secret_debug.env

Add .env files

We will add constants to these files to access the Supervisely SDK

debug.env

secret_debug.env (warning keep the file in secret)

Step 3 β€” Python script && Results

Let's write a simple script that:

  1. downloads the project

  2. retrieves annotations

  3. counts the number of lemons

Here is the completed code:

src/main.py

Results:

Step 4 β€” Complete SDK documentation

You can find more information here:

Last updated

Was this helpful?