Kh-Mudassar / jjil

Automatically exported from code.google.com/p/jjil
0 stars 0 forks source link

Face Detect Midlet #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run FaceDetect jar in Netbeans IDE/Wireless Toolkit doesn't capture
video and hangs
2.
3.

What is the expected output? What do you see instead?
It appears that netbeans has a standard video stream it will play when you
realize a camera. When selecting option 4 from menu nothing happens and the
application is hung. I checked out the source from subversion and put a
netbeans project together and the same results. I am really interested in
using this in J2SE but figured I would test the delivered demos. I didn't
see a working project for doing face detect in J2SE where I would supply
the image.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by willi...@gmail.com on 15 Jul 2008 at 5:32

GoogleCodeExporter commented 8 years ago
Looked at the source and for the cmdFileCapture the doCapture method was not 
being
called. Added this to get file capture to work. I also needed to add 
-Xheapsize:32M
to the run options for the emulator to avoid out of memory problem on load.

        } else if (c == this.cmdFileCapture) {
            this.oCaptureFromFile = true;
            try {
                doCapture();
            } catch (jjil.core.Error e) {
                reportJjilError(e);
            }
        // don't restart player -- we just use the file instead of
        // the videoControl when we capture
        } 

Original comment by willi...@gmail.com on 15 Jul 2008 at 6:00

GoogleCodeExporter commented 8 years ago
The "Capture from file" option, like the other capture options, changes the 
source of
the image capture. It doesn't actually do the capture until you hit the Enter 
button
on the phone. So I think the code should stay as it is. It might be better to 
reword
things -- e.g., "Switch to file" but I'd rather not rebuild the app just for 
this.

Original comment by jonaw...@gmail.com on 17 Jul 2008 at 6:28