Skip to content

Commit

Permalink
Refactor: RasterHierachy: removal of demo code
Browse files Browse the repository at this point in the history
  • Loading branch information
PtrMan authored Aug 18, 2018
1 parent 72176d9 commit ddb08ee
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/main/java/org/opennars/lab/vision/RasterHierachy.java
Original file line number Diff line number Diff line change
Expand Up @@ -349,24 +349,6 @@ public void process() {
//int counter = 0;

while( true ) {
/*
* This section is used to scan the focal point across the frame
* automatically - just for demo purposes.
*/
boolean enableExperimentalScan = false;
if (enableExperimentalScan) {
int xx = focusX;
int yy = focusY;
xx += 1;
if (xx > frameWidth) {
xx = 0;
yy += 1;
if (yy > frameHeight)
yy = 0;
}
this.setFocus(xx, yy);
}

input = webcam.getImage();

synchronized( workImage ) {
Expand Down

0 comments on commit ddb08ee

Please sign in to comment.