static sendYoloJson(stream, detections) {
    if (stream) {
      stream.write(`${JSON.stringify(detections)},`);
    } else {
      console.warn("JSONStream connection isn't opened yet");
    }
  }
Writes the detecion of a single frame to the stream

@param {*} stream The stream to write to
@param {*} detections The detecion object to write