Skip to content

Instantly share code, notes, and snippets.

@pphuth
pphuth / omc.repo
Created May 24, 2023 20:15
Openmodelica repo file for fedora, which uses the release version variable.
[openmodelica]
name=OpenModelica Fedora $releasever Repository
baseurl=https://build.openmodelica.org/rpm/fc$releasever/
enabled=1
gpgcheck=0
@pphuth
pphuth / nms_fast.m
Created January 21, 2021 17:09 — forked from quantombone/nms_fast.m
blazing fast nms (non-maximum suppression)
function top = nms(boxes, overlap)
% top = nms_fast(boxes, overlap)
% Non-maximum suppression. (FAST VERSION)
% Greedily select high-scoring detections and skip detections
% that are significantly covered by a previously selected
% detection.
% NOTE: This is adapted from Pedro Felzenszwalb's version (nms.m),
% but an inner loop has been eliminated to significantly speed it
% up in the case of a large number of boxes
% Tomasz Malisiewicz (tomasz@cmu.edu)