Skip to content

v1.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Nov 12:24
· 174 commits to main since this release
3f952ff

Changelog

Added

  • Annotations

    • In edit mode, click a box or mask to open a card next to it. From the card, change its class, move it to another annotation source, or delete it.
    • When no class is selected, a new box asks for its class right at the box.
    • Delete an annotation source and its annotations in the new "Annotation sources" tab of the settings, or in Python with ImageDataset.delete_annotation_source.
    • Press Delete or Backspace to delete the selected annotation in edit mode.
  • Filtering

    • Find images with any bounding box, segmentation mask, or classification in the query editor with object_detection(), segmentation_mask(), or classification().
    • Filter images and videos without annotations with the "No annotations" option in the annotation class filter. Combine it with classes to also see the samples of those classes.
    • Filter video collections by categorical metadata.
    • The query editor shows a warning when a query uses a tag that does not exist.
  • Video queries

    • Filter videos by temporal events in the query editor, for example event(class_name = "run" AND start_time_s < 5).
    • Use frame(...) in the video query editor to match annotations and timestamps on the same frame.
  • Sample details

    • Collapse the right side panel in the sample and video details to give the image or video more space.
    • Brightness, contrast and mask opacity sliders are in a popover next to the zoom controls, also outside edit mode.
    • Edit, Undo, Plugins and Settings are in the breadcrumb row.
  • Embedding plot

    • The embedding plot asks before it computes a plot for 250,000 or more samples, and shows a timer while the plot computes.
    • The embedding plot shows a hint for what Shift + click does on the hovered point: pick, add, or remove.
  • Polygon annotations groundwork

    • The GUI shows polygon annotations as boxes. Polygons can't be edited in the GUI yet.
    • Export polygons to YOLO with the new "Image Segmentation Polygons (YOLO)" export, or with to_yolo_instance_segmentation in the Python SDK.

Changed

  • Video queries

    • BREAKING: In the video query editor, classification(...) now matches whole-video classifications. Use event(...) for temporal events, or combine both with OR to include both kinds.
    • BREAKING: Python SDK: On videos, ClassificationQuery now matches whole-video classifications. Use VideoEventQuery for temporal events, or combine both queries with OR(...) to keep both kinds of matches.
  • Other

    • BREAKING: Python SDK: to_annotation_create(...) of CreateClassification, CreateObjectDetection, and CreateSegmentationMask takes the annotation class ID in place of session and dataset_id. To add annotations by class name, use sample.add_annotations(...).
    • The "Image Segmentation Mask (COCO)" export is now "Image Segmentation (COCO)" and includes polygons.
    • Each metadata field in the filter panel has a checkbox. A collapsed field shows a short summary of its filter, for example a range or "2 of 3" values. Active fields move to the top, and the metadata filter chips are removed.
    • The embedding plot keeps showing its points while new ones load after a filter change.
    • Locked annotations are easier to see in edit mode: their lock icon in the sample details shows in the primary color.

Deprecated

  • Python SDK: to_coco_segmentation_masks. Use to_coco_instance_segmentation instead.

Fixed

  • Embedding plot

    • The embedding plot keeps its hidden classes, zoom and active tool when you close it, switch tabs, change filters, or draw a selection.
    • The embedding plot selection is cleared when you switch to another tab, so the grid no longer stays narrowed after the Plot filter chip is gone.
  • Other

    • Images with many annotations open faster when LightlyStudio runs on a remote server.
    • In the sample details, the outline of the selected annotation source and of the "Source name" input is no longer cut off at the sides.
    • LightlyStudio no longer prints DuckDB leak warnings when it exits, for example when you stop the GUI with Ctrl+C.

What's Changed

  • chore: remove the unused @tailwindcss/typography plugin by @iunir in #3361
  • docs: add consistency, constant, and root-cause rules to clean-code by @iunir in #3400
  • feat: let the annotations filter match samples without annotations by @JonasWurst in #3369
  • Query categorical value counts per field with an image or video filter by @JonasWurst in #3384
  • feat: show a Shift + click hint on the plot selection chip by @gabrielfruet in #3372
  • Ask for the class of a new box at the box by @gabrielfruet in #3123
  • Relabel, move and delete a box from a card at the box by @gabrielfruet in #3124
  • Delete an annotation source from the API and the SDK by @gabrielfruet in #3125
  • Move the class list parts of Settings into NameList by @gabrielfruet in #3126
  • Delete annotation sources in Settings by @gabrielfruet in #3127
  • feat: cascade the annotation source delete through the collection subtree by @gabrielfruet in #3353
  • docs: let agents question old design in clean-code consistency rule by @iunir in #3403
  • Support CompressedImage cameras in MCAP datasets by @horatiualmasan in #3107
  • Add Grand Tour dataset support by @horatiualmasan in #3108
  • feat: count the images and videos without annotations by @JonasWurst in #3370
  • feat: return tag names with the samples of a query by @iunir in #3328
  • feat: add the v1 API with routes to read collections by @iunir in #3329
  • feat: add the v1 route to query samples by @iunir in #3330
  • rename the point-cloud route by @ikondrat in #3402
  • fix: require video parents for temporal annotations by @lukas-lightly in #3407
  • feat: add the v1 routes to read tags and tag samples by @iunir in #3331
  • feat: list the collections of a parent through the transport by @iunir in #3332
  • feat: add local transports for sample queries and tags by @iunir in #3333
  • Add a checkbox and a short value to metadata field headers by @JonasWurst in #3391
  • filter MCAP sequences by annotation class in the filter panel by @horatiualmasan in #3401
  • feat: add the requests of the HTTP transport by @iunir in #3334
  • feat: add HttpTransport with collection reads by @iunir in #3335
  • feat: add a "No annotations" option to the annotation class filter by @JonasWurst in #3371
  • feat: match annotations on a video frame in the query editor by @lukas-lightly in #3388
  • fix: render the header logo from SVG by @michal-lightly in #3409
  • fix: delete the evaluation class metrics of a deleted annotation label by @lorinczszabolcs in #2978
  • feat: query and tag samples over HTTP by @iunir in #3336
  • feat: convert dataset queries on image fields and tags to QueryExpr by @iunir in #3337
  • Introduce undo support for some actions for 3d annotations by @ikondrat in #3377
  • refactor: remove unused updateEmbeddingRegion from image and video filters by @JonasWurst in #3382
  • feat: add an image sample that reads the data of a sample query by @iunir in #3338
  • interpolate the cuboids of an object track between its manual cuboids by @horatiualmasan in #3404
  • feat: keep the selected cuboid selected on a tick change by @ikondrat in #3410
  • feat: run image dataset queries through the transport by @iunir in #3339
  • feat: load datasets through the transport and open the session lazily by @iunir in #3340
  • feat: block the local database while the client uses a remote transport by @iunir in #3341
  • Show metadata fields with checkboxes, active fields first by @JonasWurst in #3408
  • test: run the thin slice through LocalTransport and HttpTransport by @iunir in #3342
  • feat: connect the Python client over HTTP behind a flag by @iunir in #3343
  • Remove the metadata filter chips by @JonasWurst in #3412
  • Keep the embedding plot request stable across selections by @gabrielfruet in #3414
  • Fix: Draw image annotations from the image instead of fetching each one by @gabrielfruet in #3398
  • Fetch the embedding plot once when coloring by annotations by @gabrielfruet in #3415
  • Split the category passes out of usePlotData by @gabrielfruet in #3420
  • Parse the plot's Arrow data in the embeddings query so equal refetches keep hidden classes by @gabrielfruet in #3419
  • Keep a moved metadata field in place on screen by @JonasWurst in #3413
  • Keep the metadata list height during a field search and highlight matches by @JonasWurst in #3423
  • Fix: Speed up dataset overview endpoint by @IgorSusmelj in #3425
  • feat: add a route that returns the embedding plot status by @gabrielfruet in #3346
  • refactor: return image rows from image_resolver.get_for_export by @iunir in #3429
  • refactor: create and load dataset collections through the transport by @iunir in #3427
  • Update initial cuboid placement by @horatiualmasan in #3411
  • refactor: create and get group components through the collection transport by @iunir in #3428
  • refactor: add, remove and read sample tags through the transport by @iunir in #3430
  • feat: report labeling models that are still loading by @mrpositron in #3452
  • refactor: add tags to query results and split them through the transport by @iunir in #3431
  • feat: get metadata and captions for many samples in one query by @iunir in #3443
  • feat: add the auto-label tool to the image editor by @mrpositron in #3253
  • feat: add the local transport for metadata and captions by @iunir in #3444
  • Fix full-screen point cloud workspace by @horatiualmasan in #3421
  • Add a LightlyTrain labeling model example by @mrpositron in #3257
  • feat: query temporal events in the video editor by @lukas-lightly in #3387
  • design: add polygon annotations to the backend by @michal-lightly in #3469
  • refactor: keep only implemented methods in the ingestion protocol by @iunir in #3432
  • refactor: embed new images through the ingestion transport by @iunir in #3433
  • fix!: restrict video classification queries to whole-video annotations by @lukas-lightly in #3474
  • refactor: add images from a path through the ingestion transport by @iunir in #3434
  • refactor: add a list of images through the ingestion transport by @iunir in #3435
  • refactor: add the images of label files through the ingestion transport by @iunir in #3436
  • refactor: add split and folder tags of new images through the transports by @iunir in #3437
  • refactor: embed new videos through the ingestion transport by @iunir in #3446
  • test: verify event and frame searches in the video grid by @lukas-lightly in #3389
  • Clear the image and video plot region when leaving a collection by @gabrielfruet in #3416
  • Add name-based keys for embedding plot legend classes by @gabrielfruet in #3417
  • Add a per-collection store for the embedding plot view by @gabrielfruet in #3418
  • show markers on object timeline based on tags by @ikondrat in #3468
  • refactor: add videos from a path through the ingestion transport by @iunir in #3447
  • refactor: add the videos of YouTube-VIS through the ingestion transport by @iunir in #3448
  • refactor: add group samples through the ingestion transport by @iunir in #3449
  • refactor: add MCAP calibrations and transforms through the ingestion transport by @iunir in #3450
  • feat: add the wire models of the labeling protocol by @mrpositron in #3258
  • Parse query responses in select, not in a separate reader by @gabrielfruet in #3422
  • chore: exclude test files from the Fast Track size limit by @michal-lightly in #3477
  • Warn about tags that do not exist in the query editor by @mrpositron in #3242
  • refactor: add MCAP sequence samples through the ingestion transport by @iunir in #3451
  • refactor: move McapComponentSpec to a module without database imports by @iunir in #3453
  • refactor: build MCAP recording rows in a module without the transport by @iunir in #3455
  • refactor: write indexed MCAP recordings with resolvers by @iunir in #3456
  • refactor: look up the MCAP dataset with resolvers during indexing by @iunir in #3457
  • refactor: index MCAP recordings by collection ID by @iunir in #3458
  • refactor: add MCAP recordings through the ingestion transport by @iunir in #3459
  • refactor: create MCAP components through the transport by @iunir in #3460
  • refactor: read and write sample metadata and captions through the transport by @iunir in #3445
  • Rotate the point cloud camera around the viewed points (ENT-582) by @horatiualmasan in #3489
  • Keep the embedding plot's points on screen while a filter change loads by @gabrielfruet in #3496
  • Show a spinner and ignore selections while new plot points load by @gabrielfruet in #3497
  • Keep a hidden "Excluded by filters" class hidden after a plot selection by @gabrielfruet in #3498
  • Keep hidden plot classes hidden across filter changes by @gabrielfruet in #3499
  • Improve point cloud labeling workspace UX by @horatiualmasan in #3488
  • fix: write COCO captions after each batch of images by @iunir in #3478
  • fix: count only default-schema tables in the table coverage check by @iunir in #3492
  • refactor: share the persistent session fixture of the tests by @iunir in #3479
  • refactor: use the shared persistent session fixture in the image tests by @iunir in #3480
  • refactor: move captions to their own transport by @iunir in #3493
  • Keep the plot's hidden classes, zoom and tool when the plot closes by @gabrielfruet in #3500
  • feat: add the polygon annotation type and table by @michal-lightly in #3481
  • feat: create, read and delete polygon annotations by @michal-lightly in #3482
  • feat: copy, relabel and crop polygon annotations by @michal-lightly in #3483
  • refactor: add a service that creates annotations and marks evaluation runs stale by @iunir in #3438
  • refactor: add the local annotation transport by @iunir in #3439
  • refactor: add the HTTP annotation transport that reports missing routes by @iunir in #3440
  • fix: make add buttons full-width in sample details by @LeonardoRosaa in #3470
  • Move the embeddings Arrow parser next to useEmbeddings by @gabrielfruet in #3502
  • feat: edit polygon annotations by @michal-lightly in #3494
  • feat: query polygon annotations by box by @michal-lightly in #3495
  • test: use the persistent session in the sample annotation tests by @iunir in #3441
  • refactor: add and delete sample annotations through the transport by @iunir in #3442
  • chore: bump setuptools to 84.2.1 by @iunir in #3509
  • chore: bump mako to 1.4.3 by @iunir in #3510
  • chore: bump multidict to 6.9.1 by @iunir in #3511
  • chore: bump pygments to 2.21.0 by @iunir in #3512
  • chore: bump mkdocs-material to 9.8.2 by @iunir in #3513
  • Make get_identity a replaceable dependency with a local default by @iunir in #3206
  • chore: bump pydantic-settings to 2.16.3 by @iunir in #3514
  • chore: bump typescript-eslint to 8.74.0 by @iunir in #3515
  • chore: bump ts-json-schema-generator to 2.10.0 by @iunir in #3516
  • Compare only the default schema in Alembic autogenerate by @iunir in #3207
  • Run extension migrations in the order of writing by @iunir in #3222
  • feat: collapsible right side panel in sample and video details by @LeonardoRosaa in #3231
  • feat: color the lock icon of locked annotations in sample details by @LeonardoRosaa in #3506
  • feat: move display adjustments into a popover next to the zoom controls by @LeonardoRosaa in #3232
  • feat: add the embedding plot compute gate and prompt component by @gabrielfruet in #3347
  • feat: delete selected annotation via Delete/Backspace key by @LeonardoRosaa in #3234
  • feat: relocate header actions into the breadcrumb row on sample details by @LeonardoRosaa in #3236
  • feat: add the plot status query and compute options to the plot query by @gabrielfruet in #3348
  • feat: add a hook that gates the embedding plot request by @gabrielfruet in #3349
  • feat: ask before computing large embedding plots by @gabrielfruet in #3350
  • Add create_app to build the FastAPI app with extra routers and replacements by @iunir in #3208
  • refactor: add serve_app to serve a given app by @iunir in #3209
  • feat: add the permissions dependency and GET /api/capabilities by @iunir in #3212
  • refactor: add get_policy to Replaceable and check route dependencies by @iunir in #3505
  • fix: keep Enter from deselecting a clicked box in sample details by @gabrielfruet in #3526
  • feat: allow annotation queries without a condition in the API by @lukas-lightly in #3527
  • feat: export polygon annotations to COCO and YOLO by @michal-lightly in #3503
  • feat: add instance segmentation exports to the export dialog by @michal-lightly in #3504
  • feat: show polygon annotations as boxes in the GUI by @michal-lightly in #3522
  • feat: match any annotation of a type in the query editor by @lukas-lightly in #3529
  • fix: stop clipping the annotation source outlines in the sidebar by @mrpositron in #3535
  • chore: bump globals to 17 and eslint-config-prettier to 10 by @iunir in #3538
  • chore: bump uuid to 14 by @iunir in #3542
  • chore: bump vitest to 5 by @iunir in #3546
  • refactor: cover samples without annotations in the create annotations service by @iunir in #3454
  • refactor: get image sample IDs by path through the sample transport by @iunir in #3461
  • refactor: add annotations from image label files through the transport by @iunir in #3462
  • add read access to MCAP sequence frames for plugins by @horatiualmasan in #3555
  • fix: remove duckdb leak warnings on exit by @mrpositron in #3554
  • refactor: add ActivityNet annotations through the transport by @iunir in #3463
  • refactor: add the cuboids and frame tags of annotation MCAPs through the transport by @iunir in #3464
  • refactor: allocate the object tracks of annotation MCAPs through the transport by @iunir in #3465
  • refactor: delete overwritten annotations of annotation MCAPs through the transport by @iunir in #3466
  • refactor: find labeled MCAP sequences through the transport by @iunir in #3467
  • chore: bump eslint-plugin-svelte to 3 by @iunir in #3548
  • chore: bump prettier-plugin-svelte to 4 by @iunir in #3541
  • Bump lightly-studio version to 1.5.0 by @github-actions[bot] in #3563

Full Changelog: v1.4.0...v1.5.0

Released by @michal-lightly