Skip to content

latch method call in min.cpp returns empty Descriptors. #7

@buzzsuresh

Description

@buzzsuresh

Hi Chris,

Trying to run your Cuda LATCH implementation code.

Had fixed the broken compilation issues with min.cpp. On execution I couldn't get the descriptors after the "latch" method call. Had copied the descriptors into host and tried to print them, but it fails since there is no descriptor into d_D1.

For this reason I believe matching also fails (processing 'bitMatcher' method) which always gives me a count of 1.


FAST(img1g, keypoints1, fastThreshold);
latch( img1g, d_I, pitch, h_K1, d_D1, &numKP1, maxKP, d_K1, &keypoints1, d_mask, latchFinishedEvent );
cudaCalloc((void **) &h_D1, sizeD);
cudaMemcpyAsync(h_D1, d_D1, sizeD, cudaMemcpyDeviceToHost);
cout << "\nDescriptors 1: " << endl;
if ( h_D1 )
    for ( int i = 0 ; i < sizeD ; i++ )
        cout << h_D1[i] <<  " ";

Looking forward for your suggestion and Please help me on this.

thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions