Fix ALPR pipeline. Ready for production
This commit is contained in:
@@ -6,12 +6,12 @@ namespace ByteTrackNCNN {
|
||||
class BYTETracker
|
||||
{
|
||||
public:
|
||||
BYTETracker(int frame_rate = 30, int track_buffer = 30);
|
||||
BYTETracker(int frame_rate = 10, int track_buffer = 30);
|
||||
~BYTETracker();
|
||||
|
||||
std::vector<STrack> update(const std::vector<ByteTrackNCNN::Object>& objects);
|
||||
//cv::Scalar get_color(int idx);
|
||||
void update_parameters(int frameRate = 30, int trackBuffer = 30, double trackThreshold = 0.5, double highThreshold = 0.6, double matchThresold = 0.8, bool autoFrameRate = false);
|
||||
void update_parameters(int frameRate = 10, int trackBuffer = 30, double trackThreshold = 0.5, double highThreshold = 0.6, double matchThresold = 0.8, bool autoFrameRate = false);
|
||||
float getEstimatedFps() const;
|
||||
private:
|
||||
std::vector<STrack*> joint_stracks(std::vector<STrack*>& tlista, std::vector<STrack>& tlistb);
|
||||
|
||||
Reference in New Issue
Block a user