LogoLogo
AI HubCommunityWebsite
  • Start Here
  • AI Hub
    • Overview
    • Quickstart
    • Teams
    • Device Farm
    • Browser Inference
    • Model Zoo
      • Hailo
      • Intel
      • MemryX
      • BrainChip
      • Google
      • DeGirum
      • Rockchip
    • View and Create Model Zoos
    • Model Compiler
    • PySDK Integration
  • PySDK
    • Overview
    • Quickstart
    • Installation
    • Runtimes and Drivers
      • Hailo
      • OpenVINO
      • MemryX
      • BrainChip
      • Rockchip
      • ONNX
    • PySDK User Guide
      • Core Concepts
      • Organizing Models
      • Setting Up an AI Server
      • Loading an AI Model
      • Running AI Model Inference
      • Model JSON Structure
      • Command Line Interface
      • API Reference Guide
        • PySDK Package
        • Model Module
        • Zoo Manager Module
        • Postprocessor Module
        • AI Server Module
        • Miscellaneous Modules
      • Older PySDK User Guides
        • PySDK 0.16.0
        • PySDK 0.15.2
        • PySDK 0.15.1
        • PySDK 0.15.0
        • PySDK 0.14.3
        • PySDK 0.14.2
        • PySDK 0.14.1
        • PySDK 0.14.0
        • PySDK 0.13.4
        • PySDK 0.13.3
        • PySDK 0.13.2
        • PySDK 0.13.1
        • PySDK 0.13.0
    • Release Notes
      • Retired Versions
    • EULA
  • DeGirum Tools
    • Overview
      • Streams
        • Streams Base
        • Streams Gizmos
      • Compound Models
      • Result Analyzer Base
      • Inference Support
  • DeGirumJS
    • Overview
    • Get Started
    • Understanding Results
    • Release Notes
    • API Reference Guides
      • DeGirumJS 0.1.3
      • DeGirumJS 0.1.2
      • DeGirumJS 0.1.1
      • DeGirumJS 0.1.0
      • DeGirumJS 0.0.9
      • DeGirumJS 0.0.8
      • DeGirumJS 0.0.7
      • DeGirumJS 0.0.6
      • DeGirumJS 0.0.5
      • DeGirumJS 0.0.4
      • DeGirumJS 0.0.3
      • DeGirumJS 0.0.2
      • DeGirumJS 0.0.1
  • Orca
    • Overview
    • Benchmarks
    • Unboxing and Installation
    • M.2 Setup
    • USB Setup
    • Thermal Management
    • Tools
  • Resources
    • External Links
Powered by GitBook

Get Started

  • AI Hub Quickstart
  • PySDK Quickstart
  • PySDK in Colab

Resources

  • AI Hub
  • Community
  • DeGirum Website

Social

  • LinkedIn
  • YouTube

Legal

  • PySDK EULA
  • Terms of Service
  • Privacy Policy

© 2025 DeGirum Corp.

On this page
  • Version 0.1.3 (1/8/2025)
  • Version 0.1.2 (1/7/2025)
  • Version 0.1.1 (12/31/2024)
  • Version 0.1.0 (10/4/2024)
  • Version 0.0.9 (9/17/2024)

Was this helpful?

  1. DeGirumJS

Release Notes

This page documents the release history of DeGirumJS, detailing new features, modifications, and bug fixes for each version of the SDK.

Version 0.1.3 (1/8/2025)

New Features and Modifications

  1. New drawing parameters for autoScaleDrawing in the model classes

    • Added two optional parameters, targetDisplayWidth and targetDisplayHeight, to specify a custom reference resolution when autoScaleDrawing is enabled. (previously, the reference resolution was fixed at 1920x1080)

    • Defaults to 1920x1080 if no values are provided.

    • Ensures consistent scaling of overlays (e.g., bounding boxes, labels, keypoints) across varying input image dimensions.

Bug Fixes

  1. Fixed a bug where backend errors were thrown asynchronously from predict and predict_batch functions. Now, the user can catch these errors and handle them gracefully.


Version 0.1.2 (1/7/2025)

New Features and Modifications

  1. Lightweight listModels() function: Now, querying the list of models from the cloud (for CloudZoo classes) only fetches the names of the models. The parameters can now be fetched with a new function: getModelInfo(modelName).

  2. Updated autoScaleDrawing parameter for model classes displayResultToCanvas() function: Now, the parameter is made to scale all results to optimal viewing for 1080p resolution. autoScaleDrawing saves you from guesswork about how to size overlays for various input image dimensions by comparing the actual canvas size to a reference (e.g., 1080p) and scaling accordingly.


Version 0.1.1 (12/31/2024)

New Features and Modifications

  1. Asynchronous dg.connect(...) The dg.connect(...) method is now asynchronous. You should use await dg.connect(...) to properly wait for initialization. This improvement ensures the AI Server or Cloud connections (and their respective zoo classes) are fully ready before returning objects.

    let dg = new dg_sdk();
    // Old:
    // let inference_manager = dg.connect('ws://localhost:8779');
    // New:
    let inference_manager = await dg.connect('ws://localhost:8779');
  2. ReadableStream Support in predict_batch Both AIServerModel and CloudServerModel now accept a ReadableStream in addition to an async iterable for the predict_batch(...) method. This makes it easier to stream frames or data chunks directly from sources like the new WebCodecs API or other stream-based pipelines.

  3. predict() and predict_batch() Accept VideoFrame These methods now also allow VideoFrame objects as valid inputs.

  4. OffscreenCanvas Support in displayResultToCanvas() You can now draw inference results onto an OffscreenCanvas as well as a standard <canvas> element.

  5. Brighter Overlay Colors Default generated overlay colors have been adjusted to be more visible on dark backgrounds.

  6. Support for SegmentationYoloV8 Postprocessing Added the ability to draw results from models that use the SegmentationYoloV8 postprocessor.

Bug Fixes

  1. Proper Overlay Color for Age Classification Overlay colors for per-person text in age classification models are now correctly set.

  2. Postprocessing Improvements Various fixes and optimizations have been implemented in the postprocessing code.


Version 0.1.0 (10/4/2024)

New Features and Modifications

  1. Optimized Cloud inference connection handling, now resources are used only when needed and released properly.

  2. New default color generation logic creates a more visually appealing set of colors for different types of models when viewing inference results.


Version 0.0.9 (9/17/2024)

New Features and Modifications

  1. Optimized Mask Drawing in displayResultToCanvas() for results from Detection models with masks per detected object.

Bug Fixes

  1. Postprocessing for Detection models that return masks now handles inputPadMethod options properly.


PreviousUnderstanding ResultsNextAPI Reference Guides

Last updated 2 months ago

Was this helpful?