Archive for February, 2009

Feb 27 2009

Report 3

Published by Michael Doyle under Documentation

Finished Report 3

No responses yet

Feb 26 2009

Processor Usage

Published by Michael Doyle under JMyron, Research, Visual, Web Cam

Took a couple of screen grabs of Processor usage on laptop and PC when running JMyron. CPU usage is high.
Laptop:
processor
Desktop:
processor_pc

No responses yet

Feb 24 2009

ess r2

Published by Michael Doyle under Audio, Processing, ess r2

Been playing around with ess r2. I made a small throwaway prototype to control audio and pitch. It's not working really well at the moment due to the report deadline.

  1.  
  2. if(mouseButton == LEFT)
  3. myWave=new SineWave(pitch,volume++);
  4. myWave.generate(myChannel,0,myChannel.frames(1000));
  5. myChannel.play();
  6.  

Have to come back to it later and implement it with controlP5.

No responses yet

Feb 23 2009

GlobDetection

Published by Michael Doyle under JMyron, Processing, Visual

After talking to pat, he advised me to wear a glove or something that will be easily tracked when working with JMyron. So I tapped some white paper to a transparent ruler. It's working a lot better :)

No responses yet

Feb 23 2009

Report 3 + Formative Demonstrations

Published by Michael Doyle under Documentation

Report 3 due on Friday 27th

Formative Demonstrations 4th March

No responses yet

Feb 21 2009

Webcam Vs. DV Camera

Published by Michael Doyle under JMyron, Processing, Visual

Testing out the differences between the DV camera and web cam. The webcam picks up less globs due to the lower resolution. This could be good work out well due to the fact that pixels of similar value may not be picked up which will not cause the centre point problem.

No responses yet

Feb 20 2009

Center Point Problem

Published by Michael Doyle under JMyron, Processing, Visual

Doing more work with JMyron, the mirroring problem is going on the back burner (it's taking up too much time).

From testing, I've found that the Library to get the centre point of all globs works by calculating the average of all available globs and placing a circle in the middle. This has it's downfall in that once the a glob is detected with similar color values, the area to be calculated gets bigger, thus changing the center point.

No responses yet

Feb 18 2009

Mirroring update

Published by Michael Doyle under JMyron, Processing, Visual

Talked to Karl about Mirroring, he that the globs have to have a point of origin. Using graph paper would save me some headache.

Looking back on the code, the globs are output on the screen in a multi-dimensional array. After researching them, I can't get my head around them yet.

No responses yet

Feb 17 2009

Mirroring

Published by Michael Doyle under JMyron, Processing, Visual

Having an annoying problem with mirroring. I can get the video feed to mirrror, but I can't mirror the globs.

here's the code for mirroring the video feed:

void drawCamera(){
int[] img = m.image();
loadPixels();
for(int i=1;i<width;i++){
for (int j=1;j<height;j++){
pixels[(m.width() - i - 1) + j * m.width()]= img[(i) + j * m.width()];
}
}
updatePixels();
}

No responses yet

Feb 15 2009

DV Camera

Published by Michael Doyle under JMyron, Processing, Visual

Got a loan of a DV Camera, connected through firewire and it's working great :)

Much more responsive, accurate and larger resolution.

No responses yet

Next »