Void Sentry
An AI-driven, real-time Sentry Turret platform leveraging asynchronous I/O and computer vision to deliver high-precision autonomous motion tracking on resource-constrained embedded hardware.
Loading...
Searching...
No Matches
jpeg_gray.h
Go to the documentation of this file.
1
11
#pragma once
12
13
#include "
tracking_types.h
"
14
15
#include <cstddef>
16
#include <cstdint>
17
18
namespace
jpeg_gray
19
{
21
bool
decode
(
const
uint8_t* jpeg,
size_t
len,
tracking::GrayFrame
& out);
22
}
// namespace jpeg_gray
jpeg_gray::decode
bool decode(const uint8_t *jpeg, size_t len, tracking::GrayFrame &out)
false if the JPEG is corrupt or its 1/8-scale size is not 40x30 (frame size must be QVGA).
Definition
jpeg_gray.cpp:54
tracking_types.h
Value types shared by the motion detector and the tracker (pure C++20, natively tested).
tracking::GrayFrame
std::array< uint8_t, kCells > GrayFrame
One 40x30 luma frame, row-major (index = y * kGridW + x).
Definition
tracking_types.h:21
lib
jpeg_gray
include
jpeg_gray.h
Generated by
1.12.0