00001 // 00002 // Created by banerjs on 12/13/16. 00003 // 00004 00005 #include "rail_object_detector/darknet_detector.h" 00006 00007 using namespace rail_object_detector; 00008 00009 int main(int argc, char **argv) 00010 { 00011 ros::init(argc, argv, "detector_node"); 00012 ros::NodeHandle nh; 00013 ros::NodeHandle private_handle("~"); 00014 DarknetDetector detector(nh, private_handle); 00015 detector.start(); 00016 ros::spin(); 00017 detector.stop(); 00018 return 0; 00019 }