|
|
|
@ -110,8 +110,7 @@ char *CreateLocalModelBuffer(JNIEnv *env, jobject modelBuffer) {
|
|
|
|
|
* @param srcImageHeight The height of the original input image.
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
std::string ProcessRunnetResult(std::unordered_map<std::string,
|
|
|
|
|
mindspore::tensor::MSTensor *> msOutputs,
|
|
|
|
|
std::string ProcessRunnetResult(std::unordered_map<std::string, mindspore::tensor::MSTensor *> msOutputs,
|
|
|
|
|
int srcImageWidth, int srcImageHeight) {
|
|
|
|
|
std::unordered_map<std::string, mindspore::tensor::MSTensor *>::iterator iter;
|
|
|
|
|
iter = msOutputs.begin();
|
|
|
|
|