Commit bb605480 authored by samesh97's avatar samesh97

changes

parent 75d0f21f
......@@ -111,6 +111,12 @@ public class LowLightEnhanceActivity extends AppCompatActivity
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_low_light_enhance);
inputImage = ImageList.getInstance().getCurrentBitmap();
//Views
......
......@@ -95,14 +95,14 @@ public class ComputerVision
Bitmap bitmap = Methods.matToBit(mat);
try
{
Methods.saveImage(activity.getApplicationContext(),bitmap,"Idle");
}
catch (IOException e)
{
e.printStackTrace();
}
// try
// {
// Methods.saveImage(activity.getApplicationContext(),bitmap,"Idle");
// }
// catch (IOException e)
// {
// e.printStackTrace();
// }
gestureDetection.detectGestures(bitmap);
}
......@@ -111,14 +111,14 @@ public class ComputerVision
{
Bitmap bitmap = Methods.matToBit(mat);
try
{
Methods.saveImage(activity.getApplicationContext(),bitmap,"EyeOpen");
}
catch (IOException e)
{
e.printStackTrace();
}
// try
// {
// Methods.saveImage(activity.getApplicationContext(),bitmap,"EyeOpen");
// }
// catch (IOException e)
// {
// e.printStackTrace();
// }
if(eyeBlinkDetection != null)
eyeBlinkDetection.detectEyeBlinkState(bitmap);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment