mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 07:16:34 +00:00
Fixed opi_rtsp to use network module
This commit is contained in:
@@ -27,6 +27,5 @@ uint8_t RemoteControl::sendData(uint16_t top, uint16_t left, uint16_t bottom, ui
|
||||
qDebug("Datagram sent successfully");
|
||||
}
|
||||
|
||||
QThread::msleep(100);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ void AiEngine::inferenceResultsReceivedSlot(AiEngineInferenceResult result)
|
||||
//qDebug() << "AiEngine got inference results in thread: " << QThread::currentThreadId();
|
||||
|
||||
mGimbalControl->inferenceResultSlot(result);
|
||||
//cv::imshow("Received Frame", result.frame);
|
||||
cv::imshow("Received Frame", result.frame);
|
||||
|
||||
//#ifndef OPI5_BUILD
|
||||
//cv::imshow("Received Frame", result.frame);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
QT += core
|
||||
QT += core network
|
||||
QT -= gui
|
||||
CONFIG += c++11 link_pkgconfig concurrent console
|
||||
PKGCONFIG += opencv4
|
||||
|
||||
Reference in New Issue
Block a user