Skip to content

Conversation

@alpha-carinae29
Copy link
Contributor

I implemented two box filtering strategy based on background subtraction and box prior distributions.
this will close #30

@mhejrati
Copy link
Contributor

@alpha-carinae29 thanks a lot for this PR. Do you have any quantitative or qualitative results to compare performance of the detection before and after applying these filters?

@alpha-carinae29
Copy link
Contributor Author

@alpha-carinae29 thanks a lot for this PR. Do you have any quantitative or qualitative results to compare performance of the detection before and after applying these filters?

Yeah I have computed the mAP for last 1000 frames of Oxford Town Center dataset, however since the models are trained on this environment and have high accuracy and also there are relatively few number of frames for computing the prior distributions, there was not a distinguishable improvement in accuracy. We had just 0.2% improvement in mAP.

@mhejrati
Copy link
Contributor

@alpha-carinae29 can you please resubmit this PR to the smart-social-distancing repo?

[PostProcessor]
MaxTrackFrame: 5
NMSThreshold: 0.98
CalibrationFrames: 100
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please provide explanation about post processing config parameters.

3. apply a simple object tracker to make the detection more robust.
4. filter bounding boxes based on boxes prior distribution.
5. filter bounding boxes based on the amount of foreground pixels exist on the box.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Post processing step is getting complex and it's good to have a detailed documentation outside of code.
  • I have an idea to develop a scoring algorithm for each bounding boxes based on these 5 steps criteria and detection score to omit extra bounding boxes in a unified way. each of steps add or reduce each bounding box acceptance score with a weighted score and bounding boxes with a score greater than a threshold will remain.

@mhejrati
Copy link
Contributor

mhejrati commented Jun 3, 2020

@alpha-carinae29 any updates on this?

@alpha-carinae29
Copy link
Contributor Author

alpha-carinae29 commented Jun 3, 2020

@mhejrati, can you review this?
I don't know what should I do. Thanks

@alpha-carinae29
Copy link
Contributor Author

migrated to:
galliot-us/smart-social-distancing#11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve detection box filtering strategies

3 participants