Skip to content
Snippets Groups Projects
Commit a6f924d1 authored by Aylen Ricca's avatar Aylen Ricca
Browse files

bug killed

parent 013a46b5
Branches
Tags
No related merge requests found
...@@ -7,6 +7,7 @@ import android.media.AudioManager; ...@@ -7,6 +7,7 @@ import android.media.AudioManager;
import android.media.ToneGenerator; import android.media.ToneGenerator;
import android.util.Log; import android.util.Log;
import uy.edu.fing.chesstrack.communication.Client; import uy.edu.fing.chesstrack.communication.Client;
import uy.edu.fing.chesstrack.modulovision.imgproc.DetectorOclusion;
public class Manager { public class Manager {
...@@ -28,6 +29,7 @@ public class Manager { ...@@ -28,6 +29,7 @@ public class Manager {
private static int _salida; private static int _salida;
private static Adquisicion _adquisicion; private static Adquisicion _adquisicion;
private static Client _client; private static Client _client;
private static DetectorOclusion _detectorOclusion;
private boolean _debug; private boolean _debug;
protected Manager() { protected Manager() {
...@@ -77,7 +79,7 @@ public class Manager { ...@@ -77,7 +79,7 @@ public class Manager {
// Modelador -> genera la imagen 0-1 y se la pasa al manager // Modelador -> genera la imagen 0-1 y se la pasa al manager
// Modelador.Validar // Modelador.Validar
// //
region = _detectorOclusion.procesarImagen(region);
// cuando paso a estado jugando mando al socket si salida==OK // cuando paso a estado jugando mando al socket si salida==OK
break; break;
case JUGANDO: case JUGANDO:
...@@ -112,6 +114,7 @@ public class Manager { ...@@ -112,6 +114,7 @@ public class Manager {
} }
try { try {
_adquisicion = new Adquisicion(); _adquisicion = new Adquisicion();
_detectorOclusion = new DetectorOclusion();
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return false; return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment