Custom Vision Service

  • Out of the box APIs: https://azure.microsoft.com/en-us/try/cognitive-services/
  • Custom Vision
    • https://www.customvision.ai/projects
    • There are 2 types of projects you can create:
      • Object Recognition
        • Here, you can train your Vision AI to find checkboxes in a doc:
          • Don’t use the following training data pattern:
            • trainCB.PNG
          • Instead, the training data should be real docs:
            • trainR1.PNG
          • Then manually mark checkboxes as regions:
            • trainR2.PNG
        • Finally test the Model using the real Image like so:
          • doc.PNG
        • Here’s the accuracy I see with only 15 images in training set:
          • 1 region matched
      • Classification
    • Export the project’s model: https://docs.microsoft.com/en-us/azure/cognitive-services/custom-vision-service/export-your-model
Advertisements

Hyperledger Explorer

Plex advanced settings

  • Plex Media Player Decoding of Audio vs. Passthrough
    • use the audio decoder that Plex Media Player is using. The reasons for this are many:
      • Plex Media Player handles PCM better. Features like  can only work with PCM as there is no way to resample encoded data, and the worry about needing exclusive audio access is not there.
      • Some operating systems (like Mac OS X) can not passthrough some audio formats, so issues will arise.
      • If you enable passthrough for something that is not 100% supported on your device, you may just get noise, or silence.

      So in short; when using decoding the only drawbacks are the lack of the extended Atmos data bits, and that your receiver will not light up the TrueHD light. Don’t worry, though: even if the pretty light doesn’t go on, you’re still getting identical sound!

      Lastly; if you know what you do, it is absolutely possible to use passthrough. E.g. if you want the Atmos extra bits and you are using an operating system on the client side which supports it (for example Windows), then you can enable it. Just remember that if your TV does not support 23.976hz, or your computer does not support outputting 23.976 hz, you will not be able to enjoy the Sync Mode we call Display. This mode resamples the audio slightly to allow the 0.1% speedup needed to avoid the 41.6 second judder that is plaguing some setups.

  • refresh rate switching
    • This feature enables Plex Media Player to change the display refresh rate to the same value (or multiple of) as the fps the video was encoded in (or as close as possible) before starting playback. This allows Plex Media Player to minimize the amount of stutter/judder that you might otherwise see when playing back videos which do not match up well.
  • Video Quality
    • This sets the quality to use when streaming content on your local network. In most cases, you can set this to a high value (such as “Original”). Higher settings produce better video quality but require more network bandwidth.

Render React Widget in Angular Component

In Angular Wrapper Component Template (which will host the react component), identify the ID of the host div:

Then in component’s TS, do:

import * as ReactDOM from "react-dom";
import * as React from "react";

ngAfterViewChecked() {

initializeReactWidget("react-wrapper");

}

In initializeReactWidget.js, return the react template:

ReactDOM.render(
<ReactWidgetWrapper AHandler={AHandler}
BHandler={BHandler}><WidgetContainer/></ReactWidgetWrapper>,
document.getElementById("react-wrapper")
);

 

Finally, ReactWidgetWrapper.js:

import React, {PropTypes, Component} from 'react';

class ReactWidgetWrapper extends Component {
constructor(props) {
super(props);
}

getChildContext() {
return {

}
}

render() {
return

{this.props.children}


}
}

ReactWidgetWrapper.childContextTypes = {

};

ReactWidgetWrapper.contextTypes = {

};

ReactWidgetWrapper.propTypes = {

};

export default ReactWidgetWrapper;