Thanks for writing c++ code and can you give a tutorial about how to replace hog with re-id feature that I have already got in hand?