Refine matToBlob function from derived classes to BaseModel
gitpqLee opened this issue · 2 comments
gitpqLee commented
Currently, in ObjectDetectionModel , the virtual function matToBlob has no implementation and each derived classes have their own implemantation.
We want to refine the common function to the ObjectDetectionModel or BaseModel. For the model specific pre-process, we can use some functions to implemente which can be overrideed. For example:
bool matToBlob (...) {
[some common implementation];
func_1();
func_2();
}
func_1() / func_2() can be overrideed by derived model classes and implement some model specific pre-process logic.
ChloeWu1 commented
ROS_Team2 working on this issue.