-
It works well through ‘Processing Tool’.
-
However, ‘application export’ (ex. exe file) / does not work.
Any reason?
surface.setTitle(“3”);
int tries = 0; int limit = 3;
while(tries < limit){
try {
surface.setTitle(“4-1”);
delay(100); cam = new Capture(this, “pipeline:autovideosrc”); delay(100);
delay(100); cam.start();} catch(Exception e){ tries++; e.printStackTrace(); continue; } surface.setTitle("4-"+str(tries+1)); break;
}
why
If I export it as an exe, will it not work?
cam = new Capture(this, “pipeline:autovideosrc”);
It freezes when I use the ‘Capture’ function above.
- Execute with ‘processing tool’: It works well.
- Execute with ‘exe, export’: Does not work.
Do you know why? help.