tdholodok.ru
Log In

How to make edges of OpenCV skin detection output “smooth

$ 22.99

4.8 (286) In stock

I did skin detection with OpenCV, it is based on HSV color space: cvtColor(src, hsv, CV_BGR2HSV); inRange(hsv, Scalar(0, 48, 80), Scalar(20, 255, 255), bw); vector<vector<Point>> contours; vector<Vec4i> hierarchy; findContours(bw, contours, hierarchy, CV_RETR_TREE, CV_CHAIN_APPROX_SIMPLE, Point(0, 0)); int s = findBiggestContour(contours); Mat output = Mat::zeros(src.size(), CV_8UC1); drawContours(output, contours, s, Scalar(255), -1, 8, hierarchy, 0, Point()); It finds the contour of the skin correctly, however, the edge of the output is not "smooth". Is there a way I can smooth the output contour (Please note "contours" is a vector of coordinates of the contour)? I want to "smooth" the output based on coordinates or black/white image, not by means of algorithms like "image blur". Any suggestions? It'll be kind if you show me some OpenCV codes.

Age Detection using Haar Cascades on Flo Edge One - Flo Mobility

Topological image modification for object detection and topological image processing of skin lesions

Flow chart the open CV classifier.

Canny Edge Detection Step by Step in Python — Computer Vision, by Sofiane Sahir

OpenCV Python - Edge Detection

Crack the Code: OpenCV Interview Questions Explained

Python OpenCV - Smoothing and Blurring - GeeksforGeeks

c++ - smoothing rough edges contour opencv - Stack Overflow

Image Filtering Using Convolution in OpenCV - GeeksforGeeks

Group 1) Fasecure – A live recognition and detection System – TUM OpenPower

Related products

How To Get Smooth Edges After You Cut Out an Image in Photoshop

How to smooth edges in Photoshop » Fix pixelated cutouts

Plugin: Edge Smoother - Community Resources - Developer Forum

Edge Detection steps 1. Image Smoothing: This step involves filtering

NexSheen Arganics OutSmooth This! Moisturizing Strengthening & Split End Repair Edge Smoothing Jar Hair Styling Gel with Extra Virgin Olive Oil & Argan Oil, 8 oz