• The primary addition is ProcessWrapperTransform, which takes a transform as a
    child, and creates a worker process that runs that transform. The main point of
    this is to handle cases where we interface with non-threadsafe code, and need
    to isolate transforms in their own processes if we want to use multiple copies
    of them.
    
    Inter-process communication is handled using QLocalServer/QLocalSocket, the
    actual worker processes are additional instance of br, which does mean this
    bleeds out to the public API to an unfortunate extent.
    
    Initial trvial tests seem promising, but generally we can expect performance
    to degrade if larger amounts of data are transfered, ideally we should do
    ProcessWrapper(Open+FeatureExtraction), so the data transfered to the worker
    is an image name, and the data transfered from the worker is a feature vector.
    Charles Otto authored
     
    Browse Dir »


























  • Josh Klontz authored
     
    Browse Dir »
  • Add Show2Transform (should replace ShowTransform eventually), which displays
    input images using QT, rather than going through openCV.
    Additional modifications to support doing this (since qt is quite particular
    about how GUI elements are created/modified). Create a QApplication instead
    of a QCoreApplication (if not building BR_EMBEDDED), restructure br.cpp's main
    to run its main work in a separate thread while the main thread sits in an
    event loop.
    Charles Otto authored
     
    Browse Dir »