Feature Guideslocal keypointscropped imagesvisual search

Find a Complete Image from a Crop or Small Detail

Find a complete image with a crop and Local · Keypoints, check low-contrast boosting, index status and keypoint counts, and verify candidate images.

Assist Local Image Search Team2026-11-1716 min read
The complete 900×600 stream image imported into the library (Chinese interface)

Find a complete image with a crop and Local · Keypoints, check low-contrast boosting, index status and keypoint counts, and verify candidate images.

Use 「Local · Keypoints」 when you have only a book-cover corner, illustration detail, design screenshot fragment, product edge or fabric pattern and want the complete image containing it in your library.

The workflow is: prepare local-keypoint data → open image search → crop a distinctive detail → choose 「Local · Keypoints」 → set scope, minimum similarity and count → search → open complete candidates to verify them.

For a demonstration, choose a complete image and search with a crop from it, so the reference and full result are easy to compare. A small example does not estimate accuracy for other libraries.

This demonstration used a small library of 8 images: 5 program-generated pattern originals, 1 stream photograph and 2 program-generated landscape distractors. The stream original was 900×600; a 315×228 crop was used as the query and was not imported. With 「Local · Keypoints」, 「Entire database」, minimum similarity 0 and a maximum of 200 results, the search returned 1 image: 「溪流原图.png」 ranked first at 99.57% similarity in 59 ms. No other candidates or candidate scores were returned. This small-sample demonstration does not represent the hit rate for other libraries.

The complete 900×600 stream image imported into the library (Chinese interface)
The complete 900×600 stream image imported into the library (Chinese interface)
The 315×228 query crop from the stream image (Chinese interface)
The 315×228 query crop from the stream image (Chinese interface)

Useful scenarios

  • Books and publishing: use a cover corner, spine, illustration or page fragment to find a complete cover, page or source image.
  • Art and image libraries: use brushwork, a decorative element or a pattern detail to find the complete artwork.
  • Design and packaging: use a client screenshot, packaging detail or poster element to find the complete design.
  • Products and fabrics: use product structure, an edge or surface texture to find the complete product or fabric image.

1. Prepare local-keypoint data

When adding folders, enable 「Image Search」 and select 「Local · Keypoints」 under 「Image search strategy」. Add the source folder and click 「Start adding」.

Add-folder dialog, Chinese interface
Add-folder dialog, Chinese interface

The folder row shows how many files can be added. The system picker lists folders only, so not seeing images there is normal. You can also drop a folder into the add-folder dialog.

For existing images without 「Local · Keypoints」 data, back up the database first. Under 「Settings → Add Files」, retain other needed parsing options and select this strategy, then right-click a few files and choose 「Reparse the file」. Keypoint repair in 「Repair Database」 does not replace initial parsing.

After the task succeeds, open database details to refresh keypoint statistics, then reopen image search. Reprocessing may affect existing collection associations. Check a few files and search results before expanding the scope.

If a pale, low-contrast image yields fewer points than 「Keypoint floor」, contrast is boosted and detection runs again. Both importing and searching use this behavior. The floor defaults to 50 and can be changed under 「Settings → Local · Keypoints」; 0 disables boosting. Boosting does not guarantee a minimum count. See article 99.

Local-keypoint parsing uses more resources than ordinary global parsing. For a large library, try one project folder and check the results before continuing.

2. Open Image Search and add a reference

In the workspace, click 「Image」 to open 「Image Search」. Choose a local image, drop an image, or click 「Screenshot and paste」, then choose 「Local · Keypoints」. If the strategy is unavailable, check the parsing task and database statistics first.

Searching with only the stream crop using Local · Keypoints, entire database, minimum 0 and maximum 200 (Chinese interface)
Searching with only the stream crop using Local · Keypoints, entire database, minimum 0 and maximum 200 (Chinese interface)

3. Search with an actual crop

Use an existing detail directly. For a complete screenshot, book page, poster or design, click 「Crop」, reduce the selection to the detail you need and click 「OK」. Back in the search dialog, the reference should contain only that area. Clicking 「Start」 searches with this crop.

The smallest crop is not always best. Keep distinctive lines, patterns, edges or product structure, and exclude chat bubbles, buttons, borders and unrelated backgrounds. Flat colors, blurred edges or repetitive texture may provide too little information. Try a larger crop with more varied detail.

4. Set the strategy and scope

Confirm 「Strategy」 is 「Local · Keypoints」, set 「Lower limit of image similarity (%)」, 「Maximum number of images displayed」 and the scope, then click 「Start」.

  • For an initial check, try 「entire database」 and 100–200 results to look for clear candidates.
  • For project review, narrow the scope to the client, project or product folder.
  • If there are too few results, lower the minimum similarity, widen the scope or increase the count.
  • If there are too many unrelated results, raise the minimum similarity, narrow the scope or crop a more distinctive detail.

5. Check the local image-search index if needed

「Local · Keypoints」 selects its search method automatically; there is no need to adjust a search level. Open 「Settings → Local · Keypoints」, or click 「Local · Keypoints parsing and index」 under 「Settings → Search」 to jump to the index card.

Settings → Local · Keypoints: keypoint limit, floor, the three-stage index card and keypoint spread (Chinese interface)
Settings → Local · Keypoints: keypoint limit, floor, the three-stage index card and keypoint spread (Chinese interface)

「Local image-search index」 shows its current status in three steps:

  1. 「Index template」: click 「Download template」 if missing. Use 「Download again」 after a failure or 「Cancel download」 while downloading.
  2. 「Upgrade to fast index」: small libraries show 「Library is small; no upgrade needed」. Large libraries upgrade automatically, and search keeps working during the upgrade. Click 「Retry upgrade」 after a failure.
  3. 「Optimize with your own images」: click 「Optimize local image-search index」 when available. Read the card’s explanation if the button is unavailable.

Check the summary at the top and click 「Refresh」, or 「Retry」 if status could not be read. These actions do not replace initial image parsing. See article 99 for the limit, floor, spread and debugging workflow.

After you enter the search workspace, a notice appears in the lower-right corner if the index is upgrading, the upgrade did not finish, or the template is missing, for example 「Upgrading the local image-search index in the background (about N min). You can keep using the app.」, 「The local image-search index upgrade did not finish, so Local · Keypoints search is not accelerated yet.」 or 「The local image-search index template is missing, so Local · Keypoints search is not accelerated yet.」. Click 「View progress」, 「View details」 or 「Download」 on the notice to open this index card directly. When the upgrade finishes, you will see 「The local image-search index upgrade is complete. Local · Keypoints search is now faster.」

6. Verify the complete image

Results may contain similar textures, especially fabrics, wood grain, repeating patterns and packaging families. Check candidates individually.

Local-keypoint results with the complete stream image first at 99.57% similarity (Chinese interface)
Local-keypoint results with the complete stream image first at 99.57% similarity (Chinese interface)

In 「Local Keypoint Search Results」, double-click a candidate thumbnail to open the complete image. Confirm the detail is present, its direction and edges agree, and the filename, path, dimensions and quality suit your needs. Similarity helps rank candidates; it is not an accuracy percentage or proof of identity.

The complete stream image preview opened by double-clicking the result, with details collapsed (Chinese interface)
The complete stream image preview opened by double-clicking the result, with details collapsed (Chinese interface)

To check how many points an image has, open its 「Local · Keypoints」 parsing image in file details. The preview toolbar shows 「N keypoints found」. Use the count and distribution to decide whether tuning is needed.

The stream image keypoint preview with 2,349 detected keypoints in the toolbar (Chinese interface)
The stream image keypoint preview with 2,349 detected keypoints in the toolbar (Chinese interface)

7. Choose another strategy when appropriate

  • For a complete reference and overall appearance, try 「Global」.
  • For a clear product or object, try 「Global · Subject」.
  • For color palettes, use 「Global · Color」.
  • To find the same person, use 「Face」.
  • To search by action, use 「Pose」.

Common situations

  • If 「Local · Keypoints」 is unavailable, confirm parsing succeeded and refresh database statistics. Index repair cannot supply image data that was never parsed.
  • If nothing is found, confirm the complete target was imported, try a clearer detail, enlarge the crop or lower the minimum similarity.
  • If many similar textures appear, narrow the scope, raise the minimum similarity or retain more distinctive pattern edges.
  • If colors match but patterns do not, avoid flat-color crops and choose a more textured area.

Tune with keypoint previews

Click 「Debug」 under 「Settings → Local · Keypoints」 to preview keypoints and their heatmap on a real image, comparing 「Keypoint limit」, 「Keypoint floor」 and 「Keypoint spread」. The floor triggers low-contrast boosting and does not guarantee a minimum count; 0 disables it.

See article 99, “Tune Local Search with Keypoint Previews”. When satisfied, click 「Save as setting」 and restart. Reprocess existing images to apply the new parameters, then search with the same reference to check the result.