Changeset 513
- Timestamp:
- 06/03/09 20:44:53 (3 years ago)
- Location:
- trunk/software
- Files:
-
- 2 modified
-
Makefile (modified) (1 diff)
-
rb/vision/classify.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/software/Makefile
r485 r513 1 1 default: all 2 2 3 all: $(SUBDIRS) rb/gui/gui.xml rb/vision/classify_dtree.o 3 all: rb/gui/gui.xml rb/vision/classify_dtree.o 4 ( cd rb/vision/; make $(MFLAGS) all ) 4 5 python setup.py build_ext --inplace 5 6 -
trunk/software/rb/vision/classify.c
r511 r513 72 72 cvRealScalar(get_type(cvGet2D(image, row, col)))); 73 73 74 printf("reshaping, %dx%d\n", image->height, image->width);75 74 cvReshape(desired, desired, 1, image->height * image->width); 76 printf("done reshaping");77 75 return desired; 78 76 } … … 88 86 case RB_DTREE: classifier->classifier = dtree_create(); break; 89 87 case RB_HARD: break; 88 default: fprintf(stderr, "Warning: unknown classifier id %d\n", type); 90 89 } 91 90 return classifier;

