UNPKG

@tensorflow-models/body-pix

Version:

Pretrained BodyPix model in TensorFlow.js

38 lines 3.09 kB
"use strict"; /** * @license * Copyright 2019 Google Inc. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * ============================================================================= */ Object.defineProperty(exports, "__esModule", { value: true }); exports.version = exports.scaleAndCropToInputTensorShape = exports.resizeAndPadTo = exports.flipPoseHorizontal = exports.PART_CHANNELS = exports.toMask = exports.toColoredPartMask = exports.drawPixelatedMask = exports.drawMask = exports.drawBokehEffect = exports.blurBodyPart = exports.load = exports.BodyPix = void 0; var body_pix_model_1 = require("./body_pix_model"); Object.defineProperty(exports, "BodyPix", { enumerable: true, get: function () { return body_pix_model_1.BodyPix; } }); Object.defineProperty(exports, "load", { enumerable: true, get: function () { return body_pix_model_1.load; } }); var output_rendering_util_1 = require("./output_rendering_util"); Object.defineProperty(exports, "blurBodyPart", { enumerable: true, get: function () { return output_rendering_util_1.blurBodyPart; } }); Object.defineProperty(exports, "drawBokehEffect", { enumerable: true, get: function () { return output_rendering_util_1.drawBokehEffect; } }); Object.defineProperty(exports, "drawMask", { enumerable: true, get: function () { return output_rendering_util_1.drawMask; } }); Object.defineProperty(exports, "drawPixelatedMask", { enumerable: true, get: function () { return output_rendering_util_1.drawPixelatedMask; } }); Object.defineProperty(exports, "toColoredPartMask", { enumerable: true, get: function () { return output_rendering_util_1.toColoredPartMask; } }); Object.defineProperty(exports, "toMask", { enumerable: true, get: function () { return output_rendering_util_1.toMask; } }); var part_channels_1 = require("./part_channels"); Object.defineProperty(exports, "PART_CHANNELS", { enumerable: true, get: function () { return part_channels_1.PART_CHANNELS; } }); var util_1 = require("./util"); Object.defineProperty(exports, "flipPoseHorizontal", { enumerable: true, get: function () { return util_1.flipPoseHorizontal; } }); Object.defineProperty(exports, "resizeAndPadTo", { enumerable: true, get: function () { return util_1.resizeAndPadTo; } }); Object.defineProperty(exports, "scaleAndCropToInputTensorShape", { enumerable: true, get: function () { return util_1.scaleAndCropToInputTensorShape; } }); var version_1 = require("./version"); Object.defineProperty(exports, "version", { enumerable: true, get: function () { return version_1.version; } }); //# sourceMappingURL=index.js.map