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
18namespace jpeg_gray
19{
21bool decode(const uint8_t* jpeg, size_t len, tracking::GrayFrame& out);
22} // namespace jpeg_gray
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
Value types shared by the motion detector and the tracker (pure C++20, natively tested).
std::array< uint8_t, kCells > GrayFrame
One 40x30 luma frame, row-major (index = y * kGridW + x).
Definition tracking_types.h:21