remove absolute path
This commit is contained in:
parent
69e256ce1b
commit
d331f957f0
|
@ -62,7 +62,7 @@ int currentPoseRotCount = 0;
|
|||
void getPositionRotation(glm::vec3 &position, float& rotX, float& rotY, float& rotZ, char* filename) {
|
||||
// Change position, rotation and Z value
|
||||
printf("Updating position rotation\n");
|
||||
const char * path = "/home/jerry/Desktop/view3d/realenv/depth/posefile";
|
||||
const char * path = "posefile";
|
||||
FILE * file = fopen(path, "r");
|
||||
if( file == NULL ){
|
||||
printf("Impossible to open the file !\n");
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
import zmq
|
||||
import numpy as np
|
||||
import PIL
|
||||
from PIL import Image
|
||||
from PIL import Image
|
||||
import scipy.misc
|
||||
|
||||
context = zmq.Context()
|
||||
|
||||
img_path = "/home/jerry/Pictures/hwclient"
|
||||
img_path = "./"
|
||||
|
||||
# Socket to talk to server
|
||||
print("Connecting to hello world server...")
|
||||
|
@ -32,4 +32,4 @@ for request in range(10):
|
|||
#img = Image.fromarray(data[0])
|
||||
#img.save(img_path + str(request) + ".tiff")
|
||||
scipy.misc.imsave(img_path + str(request) + ".tiff", data)
|
||||
print("Received reply %s [ %s ]" % (request, data))
|
||||
print("Received reply %s [ %s ]" % (request, data))
|
||||
|
|
Loading…
Reference in New Issue