mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 08:36:33 +00:00
Small fixes to AI Controller
- removed QtSerialPort from the Qt CONFIG parameters - remove compiler warnings - reduced logging - fixed FPS to show what AI really analyzed - RTSP reader tries to connect to the stream once per second until it succeeds
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <QElapsedTimer>
|
||||
#include <QObject>
|
||||
#include <opencv2/core.hpp>
|
||||
#include <opencv2/videoio.hpp>
|
||||
#include "aienginertsplistener.h"
|
||||
@@ -26,8 +26,9 @@ signals:
|
||||
void inferenceFrame3(cv::Mat frame);
|
||||
|
||||
private:
|
||||
QElapsedTimer mElapsedTimer;
|
||||
uint32_t mFrameCounter = 0;
|
||||
uint32_t mRtspFrameCounter;
|
||||
uint32_t mInferenceFrameCounter;
|
||||
QElapsedTimer mRtspElapsedTimer;
|
||||
AiEngineRtspListener *mRtspListener;
|
||||
AiEngineInference *mInference;
|
||||
AiEngineInference *mInference2;
|
||||
|
||||
Reference in New Issue
Block a user