From b2ed3a502d392c914246daf5c831568391064edc Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期四, 27 六月 2019 16:56:27 +0800
Subject: [PATCH] test

---
 service/FaceSdkService.go |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/service/FaceSdkService.go b/service/FaceSdkService.go
index 2737ff4..782bfa8 100644
--- a/service/FaceSdkService.go
+++ b/service/FaceSdkService.go
@@ -29,6 +29,8 @@
 	InitService()
 
 	i := readImgFile()
+	fmt.Printf("width:%d,height:%d,data.length:%d,timestamp:%s,id:%d\n",i.Width,i.Height,len(i.Data),i.Timestamp,i.Id)
+	i.Data = []byte("hello")
 	if b, err := proto.Marshal(&i);err !=nil{
 		fmt.Println("protoImage marshal err")
 		return
@@ -73,7 +75,6 @@
 	width := int32(picMat.Rows())
 	height := int32(picMat.Cols())
 	data := picMat.DataPtrUint8()
-	fmt.Printf("width:%d,height:%d,data.length:%d,timestamp:%s",width,height,len(data),formatTimeStr)
 	i = protomsg.Image{
 		Width: width,
 		Height: height,

--
Gitblit v1.8.0