Skip to content
Browse files

changed default tld param a bit because the scale factor changed in lk

  • Loading branch information...
1 parent d5069d8 commit a6a7f3878d22f9c1815e9517d68cc984f8825f85 @liuliu committed Nov 18, 2012
Showing with 7 additions and 1 deletion.
  1. +1 −1 lib/ccv_tld.c
  2. +6 −0 serve/serve.c
View
2 lib/ccv_tld.c
@@ -10,7 +10,7 @@ const ccv_tld_param_t ccv_tld_default_params = {
},
.level = 5,
.min_forward_backward_error = 100,
- .min_eigen = 0.05,
+ .min_eigen = 0.1,
.min_win = 20,
.interval = 3,
.shift = 0.1,
View
6 serve/serve.c
@@ -57,6 +57,11 @@ static void on_request_part_data(ebb_request* request, const char* at, size_t le
part_data[length] = eof;
}
+static void on_request_part_data_complete(ebb_request* request)
+{
+ printf("completed one part\n");
+}
+
static void on_request_body(ebb_request* request, const char* at, size_t length)
{
ebb_request_extras* request_extras = (ebb_request_extras*)request->data;
@@ -135,6 +140,7 @@ static ebb_request* new_request(ebb_connection* connection)
request->data = request_extras;
request->on_path = on_request_path;
request->on_part_data = on_request_part_data;
+ request->on_part_data_complete = on_request_part_data_complete;
request->on_body = on_request_body;
request->on_query_string = on_request_query_string;
request->on_complete = on_request_dispatch;

0 comments on commit a6a7f38

Please sign in to comment.
Something went wrong with that request. Please try again.