Export Processing sketch to Java app

In Progress

I have a Processing sketch which works great on my system but I cannot successfully export to Java application for PC and Mac.

I need someone familiar with exporting from Processing -- and with Java imports and jars -- to help me export to a distributable app.

The sketch follows FOR REFERENCE ONLY. This is sufficient to understand the project but NOT to complete it. You'll need, at minimum, a couple of jars from com.google.zxing.

import processing.video.*;

import com.google.zxing.*;

import [url removed, login to view];

import ddf.minim.*;

Minim minim;

AudioSnippet player;

Capture cam; // declare the capture object

[url removed, login to view] reader = new [url removed, login to view]();

int WIDTH = 400;

int HEIGHT = 400;

void setup() {

size(400, 400);

minim = new Minim(this);

player = [url removed, login to view]("[url removed, login to view]");

String[] cameras = [url removed, login to view]();

if ([url removed, login to view] == 0) {

// println("There are no cameras available for capture.");


} else {

// println("Available cameras:");

for (int i = 0; i < [url removed, login to view]; i++) {

// println(cameras[i]);


// cam = new Capture(this, WIDTH, HEIGHT); // hmmm...

cam = new Capture(this, cameras[0]);

[url removed, login to view]();



void draw() {

if ([url removed, login to view]() == true) {

[url removed, login to view]();

image(cam, 0,0);


line( 80, 80,120, 80); line( 80, 80, 80,120);

line(280, 80,320, 80); line(320, 80,320,120);

line( 80,280, 80,320); line( 80,320,120,320);

line(320,280,320,320); line(280,320,320,320);

try {

//Create a bufferedimage

BufferedImage buf = new BufferedImage(WIDTH,HEIGHT, 1); // last arg (1) is the same as TYPE_INT_RGB

[url removed, login to view]().drawImage([url removed, login to view](),0,0,null);

// test to see if image contains a QR code

LuminanceSource source = new BufferedImageLuminanceSource((BufferedImage)[url removed, login to view]());

BinaryBitmap bitmap = new BinaryBitmap(new HybridBinarizer(source));

Result result = [url removed, login to view](bitmap);

// if result, we can do some display

if ([url removed, login to view]() != null) {

[url removed, login to view]();

[url removed, login to view]();

open([url removed, login to view]()); // Note: open() not supported in JS mode

delay(2000); // delay to avoid multiple reads of same image


} catch (Exception e) {

// println([url removed, login to view]());




Skills: Java

See more: java processing sketch, processing export app, processing export, processing mac export, export processing java, exporting minim java, export java processing, import java processing, processing export application mac, java ddf minim, processing export application, processing sketch, string source code java, string processing in c, int size c, int i, help with java code, c# getgraphics, cam import, google sketch it, on line processing, video processing, sketch, sketch we, sketch to

About the Employer:
( 29 reviews ) Denver-area, United States

Project ID: #4415321

Awarded to:


I have much experience on Java, I will give you a quality job. Best regards.

$30 USD in 2 days
(0 Reviews)

5 freelancers are bidding on average $75 for this job


I can help you in making a distributable. Please provide complete code with jars.

$65 USD in 1 day
(274 Reviews)

Hi, I can help you with this project, Please share current project which is running fine on your system.

$99 USD in 2 days
(170 Reviews)

Hi there, Good to see processing dev here. I'm passionate about processing my own project is also developed using processing (SimpleOpenNI) . Thanks for considering my bid, Owat

$105 USD in 2 days
(10 Reviews)

Yes , Let's make a deal...

$75 USD in 2 days
(0 Reviews)