mirror of https://github.com/vladmandic/human
swtich to custom tfjs bundle
parent
d7f5dc7a1f
commit
9391acd72d
|
@ -1,4 +1,4 @@
|
||||||
import { tf } from '../tf.js';
|
import { tf } from '../../dist/tfjs.esm.js';
|
||||||
import * as profile from '../profile.js';
|
import * as profile from '../profile.js';
|
||||||
|
|
||||||
const models = {};
|
const models = {};
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { tf } from '../tf.js';
|
import { tf } from '../../dist/tfjs.esm.js';
|
||||||
import * as profile from '../profile.js';
|
import * as profile from '../profile.js';
|
||||||
|
|
||||||
const annotations = ['angry', 'disgust', 'fear', 'happy', 'sad', 'surpise', 'neutral'];
|
const annotations = ['angry', 'disgust', 'fear', 'happy', 'sad', 'surpise', 'neutral'];
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { tf } from '../tf.js';
|
import { tf } from '../../dist/tfjs.esm.js';
|
||||||
import * as profile from '../profile.js';
|
import * as profile from '../profile.js';
|
||||||
|
|
||||||
const models = {};
|
const models = {};
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
* =============================================================================
|
* =============================================================================
|
||||||
*/
|
*/
|
||||||
import { tf } from '../tf.js';
|
import { tf } from '../../dist/tfjs.esm.js';
|
||||||
|
|
||||||
function getBoxSize(box) {
|
function getBoxSize(box) {
|
||||||
return [
|
return [
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* =============================================================================
|
* =============================================================================
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { tf } from '../tf.js';
|
import { tf } from '../../dist/tfjs.esm.js';
|
||||||
import * as box from './box';
|
import * as box from './box';
|
||||||
|
|
||||||
class HandDetector {
|
class HandDetector {
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* =============================================================================
|
* =============================================================================
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { tf } from '../tf.js';
|
import { tf } from '../../dist/tfjs.esm.js';
|
||||||
import * as box from './box';
|
import * as box from './box';
|
||||||
import * as util from './util';
|
import * as util from './util';
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*/
|
*/
|
||||||
// https://storage.googleapis.com/tfjs-models/demos/handpose/index.html
|
// https://storage.googleapis.com/tfjs-models/demos/handpose/index.html
|
||||||
|
|
||||||
import { tf } from '../tf.js';
|
import { tf } from '../../dist/tfjs.esm.js';
|
||||||
import * as handdetector from './handdetector';
|
import * as handdetector from './handdetector';
|
||||||
import * as pipeline from './handpipeline';
|
import * as pipeline from './handpipeline';
|
||||||
import * as anchors from './anchors';
|
import * as anchors from './anchors';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { tf, wasm } from './tf.js';
|
import { tf, wasm } from '../dist/tfjs.esm.js';
|
||||||
import * as facemesh from './face/facemesh.js';
|
import * as facemesh from './face/facemesh.js';
|
||||||
import * as age from './age/age.js';
|
import * as age from './age/age.js';
|
||||||
import * as gender from './gender/gender.js';
|
import * as gender from './gender/gender.js';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { tf } from './tf.js';
|
import { tf } from '../dist/tfjs.esm.js';
|
||||||
import * as fxImage from './imagefx.js';
|
import * as fxImage from './imagefx.js';
|
||||||
|
|
||||||
// internal temp canvases
|
// internal temp canvases
|
||||||
|
|
2
wiki
2
wiki
|
@ -1 +1 @@
|
||||||
Subproject commit 86775430d497ec4c35f3703267cd273d16498179
|
Subproject commit 66b2c0f895189f0dda2ef2edc76fe81bbefecc9d
|
Loading…
Reference in New Issue