Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
ashubhatt
ashubhatt's Profile
6
Posts
20
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
Can someone explain me how to access functions of this java file?
[3 Replies]
08-Apr-2013 11:43 AM
Forum:
Programming Questions
The java source is:
package pFaceDetect;
import processing.core.PApplet;
import processing.core.PConstants;
import processing.core.PImage;
public class PFaceDetect implements PConstants {
static {
System.loadLibrary("PFaceDetect");
}
private int w;
private int h;
private PImage img;
private PApplet parent;
public PFaceDetect(PApplet _p, int _w, int _h, String _s) {
parent = _p;
w = _w;
h = _h;
img = parent.createImage(w, h, ARGB);
String path = parent.dataPath(_s);
init(w, h, path);
}
private native void init(int _w, int _h, String _s);
private native void check(int[] _i);
public native int[][] getFaces();
public long ptr;
public void findFaces(PImage _i) {
img.copy(_i, 0, 0, _i.width, _i.height, 0, 0, img.width, img.height);
img.updatePixels();
check(img.pixels);
}
}
Can anybody explain me how to use it in processing sketch?
And which functions does it provide and what parameters should i pass into it ?
How to use use Opev CV with processing for face detection?
[8 Replies]
07-Apr-2013 08:37 PM
Forum:
Contributed Library Questions
I found that Open CV can be used with processing. Has anybody tried it?
And can it be used for face detection on live video?
How to manipulate data at the time of closing the program?
[8 Replies]
07-Apr-2013 05:31 AM
Forum:
General Discussion
I'm writing a data to a text file using PrintWriter.
Now if user closes the program only half of data will be wrote inside it.
How to know the instance of closing of program and write all the data completely to the text file before closing the program?
how to connect points in modest maps?
[14 Replies]
07-Apr-2013 03:24 AM
Forum:
Contributed Library Questions
I'm using modest maps library to plot GPS co-ordinates.
Now how to connect those co-ordinates by a line in order to make a track record of co-ordinates.
how to concat strings coming from serial input?
[8 Replies]
06-Apr-2013 02:06 AM
Forum:
Programming Questions
I want to concat strings until i get a comma (,) in between strings.
For example :
If i'm getting data :
23.02
q23e489,
8923.09
q344,
2
345,
234
how to concat above data?
And split the data only when i get a comma in between.
so that i get the final result as:
23.02q23e489
8923.09q344
2345
234
Thanks 4 any help.
how to pass data from one program to another?
[5 Replies]
01-Apr-2013 11:15 AM
Forum:
General Discussion
How to pass data like strings or characters from one Processing Program to another?
«Prev
Next »
Moderate user : ashubhatt
Forum