Functions | Variables
neural_network_test.cpp File Reference
#include <catch2/catch_all.hpp>
#include <atomic>
#include <iostream>
#include <depthai/depthai.hpp>
Include dependency graph for neural_network_test.cpp:

Go to the source code of this file.

Functions

dai::Pipeline createNeuralNetworkPipeline (bool manualBlob)
 
void test (bool manualBlob)
 
 TEST_CASE ("Neural network node data checks - setBlob")
 
 TEST_CASE ("Neural network node data checks - setBlobPath")
 

Variables

const auto MOBILENET_BLOB_PATH = BLOB_PATH
 
const auto MOBILENET_CHANNEL = 3
 
const size_t MOBILENET_DATA_SIZE = MOBILENET_WIDTH * MOBILENET_HEIGHT * MOBILENET_CHANNEL
 
const auto MOBILENET_HEIGHT = 300
 
const auto MOBILENET_INPUT_TENSOR = "data"
 
const auto MOBILENET_OUTPUT_TENSOR = "detection_out"
 
const auto MOBILENET_WIDTH = 300
 

Function Documentation

◆ createNeuralNetworkPipeline()

dai::Pipeline createNeuralNetworkPipeline ( bool  manualBlob)

Definition at line 18 of file neural_network_test.cpp.

◆ test()

void test ( bool  manualBlob)

Definition at line 43 of file neural_network_test.cpp.

◆ TEST_CASE() [1/2]

TEST_CASE ( "Neural network node data checks - setBlob"  )

Definition at line 102 of file neural_network_test.cpp.

◆ TEST_CASE() [2/2]

TEST_CASE ( "Neural network node data checks - setBlobPath"  )

Definition at line 99 of file neural_network_test.cpp.

Variable Documentation

◆ MOBILENET_BLOB_PATH

const auto MOBILENET_BLOB_PATH = BLOB_PATH

Definition at line 10 of file neural_network_test.cpp.

◆ MOBILENET_CHANNEL

const auto MOBILENET_CHANNEL = 3

Definition at line 13 of file neural_network_test.cpp.

◆ MOBILENET_DATA_SIZE

const size_t MOBILENET_DATA_SIZE = MOBILENET_WIDTH * MOBILENET_HEIGHT * MOBILENET_CHANNEL

Definition at line 14 of file neural_network_test.cpp.

◆ MOBILENET_HEIGHT

const auto MOBILENET_HEIGHT = 300

Definition at line 12 of file neural_network_test.cpp.

◆ MOBILENET_INPUT_TENSOR

const auto MOBILENET_INPUT_TENSOR = "data"

Definition at line 15 of file neural_network_test.cpp.

◆ MOBILENET_OUTPUT_TENSOR

const auto MOBILENET_OUTPUT_TENSOR = "detection_out"

Definition at line 16 of file neural_network_test.cpp.

◆ MOBILENET_WIDTH

const auto MOBILENET_WIDTH = 300

Definition at line 11 of file neural_network_test.cpp.



depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19