filter(error, result) 
	{

		// if there's an error return it
		if (error) {
		console.error(error);
		return;
		}
		// console.log(result)
		// set the result to the global segmentation variable
		this.segmentationImage = result;

	}
/* 
    * Filtering the video to extract only the person/body
	* @error: error promised triggered
	* @result: success promise triggered 
    */
Filtering the video to extract only the person/body
@error: error promised triggered
@result: success promise triggered
Filtering the video to extract only the person / body @error : error promised triggered @result : success promise triggered
filter(error, result) 
	{
		if (error) {
		console.error(error);
		return;
		}
		this.segmentationImage = result;
	}
filter ( error , result ) { if ( error ) { console . error ( error ) ; return ; } this . segmentationImage = result ; }
Filtering the video to extract only the person/body
 @error: error promised triggered
 @result: success promise triggered
Filtering the video to extract only the person / body @error : error promised triggered @result : success promise triggered
// if there's an error return it // console.log(result) // set the result to the global segmentation variable