import * as tf from '@tensorflow/tfjs'; import { IndicatorService } from './indicator.service'; import { ModalService } from './modal.service'; import * as i0 from "@angular/core"; export interface ImageDetectionData { boxes_data: Array; scores_data: Array; classes_data: Array; ratios: Array; } export interface ImageSimpleDetData { tag: number; minX: number; minY: number; width: number; height: number; score: number; } export declare class ImagedetectionService { private indicatorSrv; private modalSrv; modelMaps: { [key: string]: any; }; constructor(indicatorSrv: IndicatorService, modalSrv: ModalService); detect(modelId: string, source: any, numClass: number, showBussy?: boolean, showErrors?: boolean): Promise | null>; processInputSource(source: any, localModel: any, numClass: any): Promise | null>; processDetectedData(data: ImageDetectionData, widthP: number, heightP: number, callback: Function): void; mapToArray(mapa: any): any[]; preprocess(source: any, modelWidth: any, modelHeight: any): any[]; prepareModel(model: string): Promise>; completeImagePath(path: string, suffix?: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }