MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / DecodeString

Function DecodeString

rtpose_wrapper/src/caffe/data_transformer.cpp:570–578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568}
569
570string DecodeString(const string& data, size_t idx) {
571 string result = "";
572 int i = 0;
573 while(data[idx+i] != 0){
574 result.push_back(char(data[idx+i]));
575 i++;
576 }
577 return result;
578}
579
580template<typename Dtype>
581void DataTransformer<Dtype>::ReadMetaData(MetaData& meta, const string& data, size_t offset3, size_t offset1) { //very specific to genLMDB.py

Callers 1

ReadMetaDataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected