Centroid tracking using DCV

Ferhat Kurtulmuş aferust at gmail.com
Tue Feb 28 12:03:34 UTC 2023


On Wednesday, 15 February 2023 at 17:32:33 UTC, Ferhat Kurtulmuş 
wrote:
> I heard you are not having fun enough with d today.
>
> Do you know you can do things like this with dlang now? After 
> some fiddling with it, my last commits made this possible.
>
> how it looks like: https://www.youtube.com/watch?v=ACC_-TDAtqc
> source code: 
> https://github.com/aferust/oclcv/tree/main/examples/centroidtracking
> DCV: https://github.com/libmir/dcv
>
> Sorry for the potato-quality video. My art director is on 
> vacation.
>
> I am cheating a little with OpenCL since things are not fast 
> enough at the moment.
>
> Hope you like it.
>
> Enjoy!

Hello everyone,

I was looking for ways to run pre-trained DCNN models (inference) 
using D. I then ran across onnxruntime, which has a c API. 
Luckily, it has a bindbc binding readily available. Nowadays, to 
run inference routines of CNN models, we only need some basic 
image processing to satisfy the input shape requirements of those 
models. We have mir.ndslice and dcv, and then we should be able 
to run, for instance, tinyYOLOv3 with video streams. I believe 
that such applications will attract more people's attention to d.

Here is how it looks like and the source code:

https://www.youtube.com/watch?v=m3ex9lDELfQ
https://github.com/aferust/dcv-tinyyolov3


More information about the Digitalmars-d-announce mailing list