3D reconstruction using a PDA
TOPIC : 3 D reconstruction using the PDA.
Description:
The project is divided in to two sub task.
1) Capturing images on the PDA - transfer to Laptop for processing automatically using bluetooth(code developed on LYME developed by Calerga company ).
2) Processing of the images for system callibration and displaying on the Rapid form.
Device used :
PDA - HTC
Problem encountered :
The PDA sents the image using Bluetooth with status message " End of file After sending operation", however the Laptop doesn't receive any file properly.
File transfer from PDA to Laptop :
The Image captured in the PDA needs to be transferred to the Laptop for further image processing and 3D reconstruction algorithms to implement.
To transfer the image code was developed using the LYME software from Calerga (www.calerga.com ).The piece of code to perform the operation
has been mentioned below:
//We need 2 file descriptors, one for the file to be send and another one for the device connection
use stdlib;
fd = fopen(path); //Open the file
fd_dev = serialdevopen('COM6:',serialdevset); //Open the device (COM6: is running under windows)
while ~feof(fd);
line = fgetl(fd), //Start locating the pointer at the beginning of the file
fwrite(fd_dev,line), //Write the row
position1 = ftell(fd),
position2 = ftell(fd_dev),
fseek(fd,position1,’c’),
fseek(fd_dev,position2,’c’),
end
fclose(‘all’);
Status message given PDA after running the code : end of file
describing the file being transferred from PDA using the Bluetooth serial port communication , however the Laptop
doesn't recognise any such file being received.
We request you kind responses in the comment box below:
or contact me or David Munoz http://sites.google.com/site/3dreconstructionpda/