I have about 300 time lapse photos of a glass jar with water in it. There is a chemical reaction going on inside that produces gas and this gas accumulates at the top of the jar (observable). I want to create a program that analyzes all the photos and gives a report of how much the bubble grew over time.
I am kinda new to image processing, any help and ideas is appreciated.
I have the following code that supposed to listen on the Local network port and display the incoming data.
I want to have it as a single executable... I tried the export function, but all I get is a white screen...
Any thoughts on this:
PS. I am running a windows 7 machine.
PPS. processing version 2.0b9
Thanks
// Network Monitor Program // PABLO: 192.168.1.67:5204 // CARLOS: 192.168.1.73:5206
// check values every minute if (millis() > lastCheck) { if ((dataPablo.equals(lastDataPablo)) || (dataCarlos.equals(lastDataCarlos))) { // Pablo or Carlos is the same println("Fail "+ count++); frame.toFront(); open(beep); } else { // Pablo or Carlos is different } lastDataPablo = dataPablo; lastDataCarlos = dataCarlos; lastCheck += 60000; }
I want to check if a variable has changed within a minute, and if not I want to raise a flag...
I know that the minute() function returns computer minute, but I was wondering about the implementation of the above statement...
Is there a way to write data to a network address with processing that other computers on the same network can see this data just by viewing that network address or port (etc) on internet explorer or google chrome (etc)???
I am running 2 testing system on 2 different computers that are on a local network. The testing systems consist of an Arduino that is the interface between some hardware and computer. The computer program is in processing. Each system is a datalogging application; the arduino tests some hardware and sends data to computer and the processing is analyzing and saving data from time to time... (meaning not always and not on every test).
Here is what I want to do and I am looking for ideas...
Given the 2 systems, I want to be able to monitor the 2 systems from a third computer on the same local network. I want this to be in way that this monitoring application does not interfere in any way with either of the test systems. The network monitoring should just indicate in some way whether or not the test system is running normally.
Any idea?
Please also ask question... I tried explaining as best as I could...
I am running a datalogging program I wrote on Arduino and Processing forgive me if I cant share it because of IP.
In one section of the code, Processing is sending data to arduino. Arduino copies the data, adds 3 more data to it and sends all back for the processing to check them. This send and receive happens very fast.
This code works beautifully on a 2.2GHz Quad core computer, but it sometimes stalls on a 600MHz computer (I know its old).
My questions is that is there any limitation on the computer speed running the processing program?
I want to know exactly how serialEvent() gets activated. Is it always monitoring the serial port for incoming data and get called when there is data? Does it act as an interrupt for the draw() loop? does it stop other functions and get called when there is data?
Please share some light on this matter.
I have a state machine structure that the states are spread across draw() and serialEvent()... It is working fine.
My question is if there is any drawbacks against doing this:
Here is an example of what it looks like:
SerialEvent(Serial p) {
myData = p.readString();
Switch (myState) {
case 1:
// does something with myData
case 3:
// does something with myData
}
}
Darw() {
Switch (myState) {
case 0:
I want to play a siren sound at the end of my program. When the playback has finished I want to exit the program with the commands: noLoop(); exit();
My siren gets triggered with the letter 'h' on keyboard. If I dont have the noloop and exit commands it works fine, but sadly it does not exit...
here is my code: