Log in or register to post comments

Crop image between black border

July 28, 2015 - 8:20am #1

Hi, it may not be exactly a vuforia question but it is a part of my vuforia project and I hope there is a solution for it within vuforia sdk.

I have an image which has a black border around it , I want to crop the image which is inside the black border. I wanted to ask if there are any solutions to this.

Thanks very much

Crop image between black border

July 31, 2015 - 9:38pm #5

Thanks very much Maximrouf , your script works great. and of course it needs the marker to be completely in the camera view. 

Do you have any tips on how to know when the marker is completely in the camera's view ?

Thanks very much

Crop image between black border

July 29, 2015 - 3:14am #4

Crop image between black border

July 28, 2015 - 11:18pm #3

Hi, here's a sample image. suppose I have taken this image from a paper with black borders on a desk. I want to crop the image with black border from the other parts of the image. and then skew it and make it like an orthographic image without perspective , like the second image I have attached.

I want to implement something like Microsoft Office Lens, and I have added black borders to maybe make it easier.

Thanks very much

AttachmentSize
Image icon temp.JPG26.92 KB
Image icon temp2.jpg24.79 KB

Crop image between black border

July 28, 2015 - 10:55am #2

Can you show a picture of what you want?

Log in or register to post comments