# Revision history [back]

### error: detector.detect, image size too large

I met errors when I extract SIFT for a large image. It is ok for smaller image.

Does anyone know how to solve it? Does the size of the image matter?

The size of the image is 2816 * 2122. The code I used is:

SiftFeatureDetector detector;
std::vector<KeyPoint> keypoints_object;
detector.detect(img, keypoints_object);  // Here I met errors.


The error I met: