0

I'm currently working on an app that has got some face detection in it. i'm using android's FaceDetector class and one of it's methods. i'm getting the frame from the previewframe callback but the format is YuvImage. i need it to be a bitmap for the facedetection to work. The problem is when i run the program there's an error saying classnotfoundexception with regard to the yuvimage. i've imported the yuvimage class and there's no errors in the source file. why can't the yuvimage class be found?

thanks

turtleboy
  • 8,210
  • 27
  • 100
  • 199

1 Answers1

1

If it is a activity or service must and should mention it in android manifest file

Pinki
  • 21,723
  • 16
  • 55
  • 88
  • why must it be declared in the manifest? the yuvimage as in the class android.graphics.yuvimage should be available. it's as if the class is not on the classpath or buildpath for the project. – turtleboy Feb 09 '11 at 12:11
  • yuvimage is only available since Froyo+, you're on that version, right? – Mathias Conradt Apr 03 '12 at 08:41