[qrcode] plug into computer vision framework

This commit is contained in:
Christophe De Wagter
2015-09-04 15:39:23 +02:00
parent f255970649
commit f81f35dd86
2 changed files with 4 additions and 2 deletions
@@ -24,6 +24,7 @@
*/
#include "qr_code.h"
#include "cv.h"
#include "zbar.h"
#include <stdio.h>
@@ -31,6 +32,7 @@
void qrcode_init(void)
{
// TODO: add qrscan to the list of image processing tasks in viewvideo
cv_add(qrscan);
}
// Telemetry
@@ -39,7 +41,7 @@ void qrcode_init(void)
zbar_image_scanner_t *scanner = 0;
void qrscan(struct image_t *img)
bool_t qrscan(struct image_t *img)
{
int i, j;
@@ -34,7 +34,7 @@
#include "../lib/vision/image.h"
extern void qrcode_init(void);
extern void qrscan(struct image_t *img);
extern bool_t qrscan(struct image_t *img);
#endif