Project

General

Profile

Revision 465

Added by Jason knichel almost 14 years ago

increased the threshold range so it identifies things again, however, sometimes it segfaults

View differences:

trunk/code/projects/colonet/vision/vision.c
15 15
#include <stdlib.h>
16 16

  
17 17
#define MINH 100 //min threshold level
18
#define MAXH 150 //max threshold level
18
#define MAXH 220 //max threshold level
19 19
#define DEBUG 0 //Debug to find threshold level
20 20

  
21 21
struct CenterP {
trunk/code/projects/colonet/vision/Makefile
8 8
	$(CC) -ggdb `pkg-config opencv --cflags --libs` -c -I . vision.c
9 9
	
10 10
vision_driver: vision
11
	$(CC) -ggdb `pkg-config opencv --cflags --libs` -I . vision_driver.c vision.o -o vision_driverO5D
11
	$(CC) -ggdb `pkg-config opencv --cflags --libs` -I . vision_driver.c vision.o -o vision_driver
12 12

  
13 13
fitellipse: 
14 14
	$(CC) -ggdb `pkg-config opencv --cflags --libs` fitellipse.c -o fitellipse

Also available in: Unified diff