Calibrate works?
This commit is contained in:
parent
26e34f7671
commit
cc711c6343
1104 changed files with 636510 additions and 75 deletions
|
|
@ -0,0 +1,17 @@
|
|||
import gab.opencv.*;
|
||||
|
||||
PImage img;
|
||||
OpenCV opencv;
|
||||
|
||||
void setup(){
|
||||
img = loadImage("test.jpg");
|
||||
size(img.width, img.height);
|
||||
opencv = new OpenCV(this, img);
|
||||
}
|
||||
|
||||
void draw(){
|
||||
opencv.loadImage(img);
|
||||
opencv.brightness((int)map(mouseX, 0, width, -255, 255));
|
||||
image(opencv.getOutput(),0,0);
|
||||
}
|
||||
|
||||
BIN
lib/opencv_processing/examples/BrightnessContrast/test.jpg
Normal file
BIN
lib/opencv_processing/examples/BrightnessContrast/test.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 100 KiB |
Loading…
Add table
Add a link
Reference in a new issue