# \#shape

**URL:** https://forum.opencv.org/tag/shape/72.md

[Latest](https://forum.opencv.org/latest.md) · [Categories](https://forum.opencv.org/categories.md) · [Tags](https://forum.opencv.org/tags.md)

---

## [Thin plate spline warpImage produces only zeros](https://forum.opencv.org/t/thin-plate-spline-warpimage-produces-only-zeros/1125)

<div class="topic-metadata">

**Author:** [@pakoun](https://forum.opencv.org/u/pakoun)\
**Replies:** 14\
**Last updated:** [September 4, 2025, 2:52am UTC](https://forum.opencv.org/t/thin-plate-spline-warpimage-produces-only-zeros/1125 "2025-09-04T02:52:37Z")

</div>

Dear all, I am trying to warp an image using the thinplatespline but after warping, the image contains only 0 values. I am attaching a working code example and the datasets as well. I hope for some help to show me the r…

---

## [How to use Thin Plate Spline Shape Transformer correctly?](https://forum.opencv.org/t/how-to-use-thin-plate-spline-shape-transformer-correctly/19147)

<div class="topic-metadata">

**Author:** [@wl2776](https://forum.opencv.org/u/wl2776)\
**Replies:** 6\
**Last updated:** [October 30, 2024, 1:11pm UTC](https://forum.opencv.org/t/how-to-use-thin-plate-spline-shape-transformer-correctly/19147 "2024-10-30T13:11:52Z")

</div>

I’ve got a grid of 9 landmarks, shown in the picture below My goal is to obtain warped image of a palm region, like this Here, L1 on the source image is translated to point 0, 0 in the resulting image, L9 in the s…

---

## [Contours matching by matchShapes whitch return big difference for two similar shapes](https://forum.opencv.org/t/contours-matching-by-matchshapes-whitch-return-big-difference-for-two-similar-shapes/12292)

<div class="topic-metadata">

**Author:** [@AlexAlex](https://forum.opencv.org/u/AlexAlex)\
**Replies:** 8\
**Last updated:** [March 10, 2023, 7:03pm UTC](https://forum.opencv.org/t/contours-matching-by-matchshapes-whitch-return-big-difference-for-two-similar-shapes/12292 "2023-03-10T19:03:49Z")

</div>

Hello. I have two similar images: As you can see - the images absolutely match! here is my c++ code: vector\<vector\<cv::Point\>\> LoadImage1(cv::Mat m) { cv::Mat g\_gray, g\_blur, g\_binary; cv::cvtColor(m…

---

## [Using shape inside a picture as template for matching](https://forum.opencv.org/t/using-shape-inside-a-picture-as-template-for-matching/8615)

<div class="topic-metadata">

**Author:** [@skrippsta](https://forum.opencv.org/u/skrippsta)\
**Replies:** 0\
**Last updated:** [May 2, 2022, 2:25pm UTC](https://forum.opencv.org/t/using-shape-inside-a-picture-as-template-for-matching/8615 "2022-05-02T14:25:23Z")

</div>

Hey, I want to build a program that will detect shapes and use them as a template for the Template Matching- or Shape Matching- algorithm . In the next step identical shapes inside the image will be marked. Do you think…

---

## [Is there any good face-shape detection solution based on OpenCV?](https://forum.opencv.org/t/is-there-any-good-face-shape-detection-solution-based-on-opencv/5663)

<div class="topic-metadata">

**Author:** [@frob](https://forum.opencv.org/u/frob)\
**Replies:** 1\
**Last updated:** [October 15, 2021, 6:23pm UTC](https://forum.opencv.org/t/is-there-any-good-face-shape-detection-solution-based-on-opencv/5663 "2021-10-15T18:23:08Z")

</div>

Hi there Do you know of any reasonably good face-shape detection solution based on OpenCV? Thank you.

---

## [OpenCV shape\_example](https://forum.opencv.org/t/opencv-shape-example/3500)

<div class="topic-metadata">

**Author:** [@wulicheng](https://forum.opencv.org/u/wulicheng)\
**Replies:** 1\
**Last updated:** [May 24, 2021, 11:57am UTC](https://forum.opencv.org/t/opencv-shape-example/3500 "2021-05-24T11:57:49Z")

</div>

I know the ShapeContextDistanceExtractorImpl::computeDistance(InputArray contour1, in sc\_dis.cpp, and I have tried the exmaple of “OpenCV shape\_example”, But I does not know the algorithm。Can anyone give me an annotati…

---

## [Identify stair projection](https://forum.opencv.org/t/identify-stair-projection/1717)

<div class="topic-metadata">

**Author:** [@Liam](https://forum.opencv.org/u/Liam)\
**Replies:** 1\
**Last updated:** [February 24, 2021, 6:32am UTC](https://forum.opencv.org/t/identify-stair-projection/1717 "2021-02-24T06:32:35Z")

</div>

Hi, I am trying to mark the stair projection which generated by SLAM. I think the stair projection is similar with zebra crossing. Thus, I want to adjust zebra crossing code for identifying stair. However, I’m new to op…
