This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #include <atomic> | |
| #include <cerrno> | |
| #include <cstddef> | |
| #include <cstdint> | |
| #include <filesystem> | |
| #include <limits> | |
| #include <string> | |
| #include <string_view> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #ifndef ENCODER_HPP | |
| #define ENCODER_HPP | |
| #include <algorithm> | |
| #include <array> | |
| #include <cerrno> | |
| #include <cmath> | |
| #include <cstddef> | |
| #include <cstdint> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| interface CIE { | |
| x: number; | |
| y: number; | |
| z: number; | |
| }; | |
| interface RGB { | |
| r: number; | |
| g: number; | |
| b: number; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // JSerializer - An exceptionally fast, stream-oriented, header-only C++ JSON serialization library. | |
| // MIT License Copyright (c) 2025 Unbinilium | |
| #pragma once | |
| #ifndef JSERIALIZER_HPP | |
| #define JSERIALIZER_HPP | |
| #include <array> | |
| #include <cerrno> | |
| #include <charconv> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #ifndef RING_BUFFER_HPP | |
| #define RING_BUFFER_HPP | |
| #include "logger.hpp" | |
| #include <atomic> | |
| #include <cmath> | |
| #include <cstddef> | |
| #include <cstdint> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #include <hailo/hailort.hpp> | |
| #include <chrono> | |
| #include <future> | |
| #include <iostream> | |
| #include <mutex> | |
| #include <string> | |
| #include <string_view> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #include <string> | |
| #include <vector> | |
| #include <utility> | |
| #include <torch/torch.h> | |
| #include <torch/script.h> | |
| #include <opencv2/core.hpp> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import os, argparse, secrets | |
| import numpy as np | |
| from array import * | |
| from pathlib import Path | |
| from PIL import Image | |
| def data_2_mnist(data_folder:Path, img_size:int, output_folder:Path): | |
| print("Dataset folder ->", data_folder) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #include <algorithm> | |
| #include <string> | |
| #include <utility> | |
| #include <vector> | |
| #include <opencv2/core.hpp> | |
| #include <opencv2/dnn.hpp> | |
| #include <opencv2/imgproc.hpp> |
NewerOlder