How to train new model

darknet is still in C
(and no, you dont want to build tensorflow on your box, or use it’s c++ api, believe me ;- )

what kind of data do you have ?
even if you retrain an existing network, you would need some 50 annotated (!) images per class