# pencilSketch in android/opencv

**URL:** <https://forum.opencv.org/t/pencilsketch-in-android-opencv/7142>\
**Category:** Android/Java\
**Tags:** photo\
**Created:** [January 15, 2022, 8:34pm UTC](https://forum.opencv.org/t/pencilsketch-in-android-opencv/7142 "2022-01-15T20:34:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abdorreza\_Joe\_Afshan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/abdorreza_joe_afshan/32/4246_2.png) [@Abdorreza\_Joe\_Afshan](https://forum.opencv.org/u/Abdorreza_Joe_Afshan)\
**Post date:** [January 15, 2022, 8:34pm UTC](https://forum.opencv.org/t/pencilsketch-in-android-opencv/7142/1 "2022-01-15T20:34:26Z")

</div>

Hi,  
I installed OpenCV in Android Studio and it works properly, But I can not find “pencilSketch” for use it.  
please guide me.

---

<div class="post-metadata">

**Author:** ![crackwitz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/crackwitz/32/14_2.png) [@crackwitz](https://forum.opencv.org/u/crackwitz)\
**Post date:** [January 15, 2022, 8:54pm UTC](https://forum.opencv.org/t/pencilsketch-in-android-opencv/7142/2 "2022-01-15T20:54:51Z")

</div>

> [@Abdorreza\_Joe\_Afshan](#):
>
> pencilSketch

probably a bug. I browsed the java docs for 4.x… search function claims to know it, but when I click a result, I get a 404 page.

I’ve never used opencv with java, so that’s all I can contribute.

---

<div class="post-metadata">

**Author:** ![Abdorreza\_Joe\_Afshan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/abdorreza_joe_afshan/32/4246_2.png) [@Abdorreza\_Joe\_Afshan](https://forum.opencv.org/u/Abdorreza_Joe_Afshan)\
**Post date:** [January 15, 2022, 8:56pm UTC](https://forum.opencv.org/t/pencilsketch-in-android-opencv/7142/3 "2022-01-15T20:56:33Z")

</div>

Thank you so much dear,  
It works completely properly,  
I am sure it has not any bug.

---

<div class="post-metadata">

**Author:** ![berak](https://avatars.discourse-cdn.com/v4/letter/b/85f322/32.png) [@berak](https://forum.opencv.org/u/berak)\
**Post date:** [January 16, 2022, 8:08am UTC](https://forum.opencv.org/t/pencilsketch-in-android-opencv/7142/4 "2022-01-16T08:08:55Z")

</div>

so, is it solved, now ?  
[https://docs.opencv.org/4.x/javadoc/org/opencv/photo/Photo.html#pencilSketch(org.opencv.core.Mat,org.opencv.core.Mat,org.opencv.core.Mat,float)](https://docs.opencv.org/4.x/javadoc/org/opencv/photo/Photo.html#pencilSketch(org.opencv.core.Mat,org.opencv.core.Mat,org.opencv.core.Mat,float))

---

<div class="post-metadata">

**Author:** ![Abdorreza\_Joe\_Afshan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/abdorreza_joe_afshan/32/4246_2.png) [@Abdorreza\_Joe\_Afshan](https://forum.opencv.org/u/Abdorreza_Joe_Afshan)\
**Post date:** [January 16, 2022, 9:01am UTC](https://forum.opencv.org/t/pencilsketch-in-android-opencv/7142/5 "2022-01-16T09:01:25Z")

</div>

Hi dear,  
Thank you so much. It was useful for me and it solved.

Thank you again 🙂 ❤ 🧡 ❤ 🧡 💙 🧡
