Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
qr_code.h File Reference

Parse video stream to detect and decode QR-codes using the ZBAR library. More...

#include <stdint.h>
#include "../lib/vision/image.h"
Include dependency graph for qr_code.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void qrcode_init (void)
struct image_t * qrscan (struct image_t *img, uint8_t camera_id)

Variables

bool drawRectangleAroundQRCode

Detailed Description

Parse video stream to detect and decode QR-codes using the ZBAR library.

Definition in file qr_code.h.

Function Documentation

◆ qrcode_init()

void qrcode_init ( void )
extern

Definition at line 42 of file qr_code.c.

References cv_add_to_device(), QRCODE_FPS, qrcode_init(), and qrscan().

Referenced by qrcode_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ qrscan()

struct image_t * qrscan ( struct image_t * img,
uint8_t camera_id )
extern

Definition at line 54 of file qr_code.c.

References image_t::buf, image_t::buf_size, DefaultChannel, DefaultDevice, drawRectangleAroundQRCode, image_t::h, image_create(), image_draw_line(), IMAGE_GRAYSCALE, scanner, image_t::w, point_t::x, and point_t::y.

Referenced by qrcode_init().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ drawRectangleAroundQRCode

bool drawRectangleAroundQRCode
extern

Definition at line 35 of file qr_code.c.

Referenced by qrscan().