import http from '../../../utils/http' ; import { HttpClient , InternalConfiguration } from '../../../utils/types' ; import { objectDetection } from './objectDetection' ; export const machineLearning = ( configuration , encodingId , httpClient ) : MachineLearning => ( { objectDetection : objectDetection ( configuration , encodingId , httpClient ) } ) ; export interface MachineLearning { objectDetection : any ; } export default ( configuration , encodingId ) : MachineLearning => { return machineLearning ( configuration , encodingId , http ) ; } ;