Skip to content

0.12.0-alpha.6

Pre-release
Pre-release
Compare
Choose a tag to compare
@astraw astraw released this 31 May 14:15
· 303 commits to main since this release

0.12.0-alpha.6 - 2024-05-31

Changes since 0.11.0 are listed. This is a pre-release and has not been fully tested.

Added

  • Support PTP synchronized cameras without external triggering hardware. Tested
    with Basler Ace2 GigE cameras.
  • Save video to .mp4 files in Strand Camera (instead of .mkv files). Update
    Braid, braid-process-video, strand-convert, and other utilities to use
    MP4. Video is encoded with the H.264 codec and metadata, including precise
    timestamps, are stored in the h264 stream. To do compression, the openh264
    encoder
    is always available. With
    appropriate NVENC
    hardware
    ,
    hardware-accelerated encoding is also supported.
  • Added support from Allied Vision Technologies cameras using the Vimba X
    driver. In the braid .toml configuration file, specify the camera with
    start_backend = "vimba".
  • Braidz Viewer website at https://braidz.strawlab.org/ can be installed as a
    Progressive Web App
    (PWA)
    .
    When the Braidz Viewer is installed locally, double-clicking on a .braidz
    file will open it in the app automatically.
  • Braid can now start saving MP4 files in all cameras with a single button.
    Furthermore, additional support for post-triggering of all cameras can be
    done.
  • Support for Rerun to visualize data. If the
    environment variable RERUN_VIEWER_ADDR is set, Braid will attempt to connect
    to the rerun viewer at this address. A new utility (braidz-export-rrd)
    converts .braidz files (and, if specified, also multi-camera .mp4 videos) into
    a .rrd file for viewing with the Rerun viewer.
  • Add ability for a single Strand Camera instance to perform 2D tracking in
    multiple mini arenas simultaneously. Inspired by
    MARGO. Trajectories are confined to
    individual mini arenas. Automatic camera calibration can be performed by
    making us of April Tags embedded in the arena walls.
  • Added support to save raw, uncompressed video to the MP4 container format.
  • Save camera gamma to MP4 files.
  • Strand Cam defaults to including the camera name in the saved MP4, FMF, uFMF,
    and April Tags .csv.gz files.
  • Substantial improvements to the braid-process-video program for processing
    saved videos and data.
  • For Strand Cam and Braid, simplify defaults so that cargo build --release is
    as close to just working as possible. The browser frontends still need to be
    built but an explicit compile time error is shown if this remains to be done.
  • Build for Ubuntu 22.04 (Jammy)
  • On systems with an Nvidia GPU, set the default encoding for MP4 video saving
    to H264 using NvEnc hardware.
  • New light mode for browser UI. Selection between dark and light mode is done
    according to browser and OS preferences.
  • Security of web sessions is simplified. Braid and Strand Camera now use a
    cookie signing secret which is persisted to disk and does not require the user
    to set. A token is needed for the first request via HTTP but typically the
    token-free URL can be used for subsequent requests.
  • Live view video field has new viewing modes, namely "25%", "50%" and "100%"
    scaled modes in addition to the existing "Fit" mode. Also "Rotate CW" and
    "Rotate CCW" buttons were added.
  • Binary release compiled with Basler Pylon version 7.3.

Changed

  • No longer saves .mkv files. (Will now save .mp4 files instead.)
  • Parameter fps for FakeSync trigger mode renamed framerate.
  • Braid no longer runs an in-process strand-cam but rather launches a child
    process for each camera. This enables support of other camera drivers and will
    enable braid to run with cameras from multiple vendors. This builds off the
    remote camera support.
  • Remote cameras for braid are specified using start_backend = "remote" in the
    [[cameras]] section of the Braid .toml configuration file. (To update,
    replace remote_camera = true with start_backend = "remote". The default
    setting is now start_backend = "pylon" to enable Basler Pylon cameras to
    continue with existing Braid .toml configuration files.)
  • Rename command line program offline-retrack to braid-offline-retrack.
  • MP4 and FMF files use frame timestamps computed from the triggerbox device if
    available.
  • When saving MP4, FMF and April Tag CSV files, default filenames include the
    camera name.
  • Rename command line program strand-cam-offline-kalmanize to
    flytrax-csv-to-braidz.

Fixed

  • Browser caching is turned off. This reduces disk usage.
  • When saving MP4 files, the maximum framerate parameter is respected.
  • The alpha parameter in the feature detector was inadvertently ignored. This
    has been corrected. Thanks to Antoine Cribellier for noticing this.
  • Increased the default size of the buffer used to save data to disk to 10000
    from a previous value of 10. Additionally, made this value configurable by
    creating a new parameter write_buffer_size_num_messages in the [mainbrain]
    section of the Braid .toml configuration file.

Full Changelog: 0.11.0...0.12.0-alpha.6
Changes since 0.12.0-alpha.5: 0.12.0-alpha.5...0.12.0-alpha.6