package project;

import javafx.concurrent.Task;

public class MyTask extends Task {

	Detect detect = new Detect();
	public Controller controller;

	@Override
	public void run() {
		detect.controller = controller;
		detect.detection();
	}

	@Override
	protected Object call() throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

}
