Skip to content

Commit 6f2cf86

Browse files
Merge pull request #21 from luxonis/low-packet-size-fix
Don't limit packet sizes to > 16
2 parents 1022dbb + fa0d585 commit 6f2cf86

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

host/core/pipeline/cnn_host_pipeline.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ std::list<std::shared_ptr<NNetPacket>> CNNHostPipeline::getConsumedNNetPackets()
1212
// search for cnn result packet
1313
for (auto &packet : _consumed_packets)
1414
{
15-
if ((packet->size() > 16) && (packet->stream_name == cnn_result_stream_name))
15+
if ((packet->size() > 0) && (packet->stream_name == cnn_result_stream_name))
1616
{
1717
std::vector<std::shared_ptr<HostDataPacket>> tensors;
1818
tensors.push_back(packet);

host/core/pipeline/host_pipeline.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ std::list<std::shared_ptr<HostDataPacket>> HostPipeline::getConsumedDataPackets(
109109

110110
for (auto &packet : _consumed_packets)
111111
{
112-
if ((packet->size() > 16) && (packet->stream_name != "metaout"))
112+
if ((packet->size() > 0) && (packet->stream_name != "metaout"))
113113
{
114114
result.push_back(packet);
115115
}

0 commit comments

Comments
 (0)