Ask Your Question

pivdet's profile - activity

2020-04-27 03:48:10 -0600 received badge  Supporter (source)
2020-04-27 01:45:58 -0600 answered a question How to declare a small image for test in openCV Android?

Got answer right now: private fun genTestMat(): Mat { val inputMat = Mat( 1, 1, CvType.CV_8UC3) val rgbMat = Ma

2020-04-27 01:45:00 -0600 received badge  Enthusiast
2020-04-26 21:14:32 -0600 commented question How to declare a small image for test in openCV Android?

@berak Finally I make it by rgbMat.setTo(Scalar(52.0, 45.0, 44.0)) , awesome thanks for your help

2020-04-26 20:03:33 -0600 commented question How to declare a small image for test in openCV Android?

@berak Awesome, I was wondering how to declare a small 1x1 Mat with red=52, green=45 and blue=44 ?

2020-04-26 17:35:54 -0600 received badge  Student (source)
2020-04-25 23:05:14 -0600 commented question How to declare a small image for test in openCV Android?

@berak Thanks for your reply, I've tried to change it to val data = byteArrayOf(52f.toByte(), 45f.toByte(), 44f.toByte()

2020-04-25 22:51:43 -0600 commented answer How to declare a small image for test in openCV Android?

Hi @mvuori, I've updated my question, but I still couldn't make it work.

2020-04-25 22:51:05 -0600 received badge  Editor (source)
2020-04-25 22:51:05 -0600 edited question How to declare a small image for test in openCV Android?

How to declare a small image for test in openCV Android? I've asked the same question in SO but got no response, I was w

2020-04-25 20:30:54 -0600 commented answer How to declare a small image for test in openCV Android?

https://stackoverflow.com/a/10266854/1319619 Thanks, I just find what you mentioned cv::cvtColor(frame, continuousRGBA,

2020-04-21 05:48:48 -0600 commented answer How to declare a small image for test in openCV Android?

Hi, I'm new to the openCV API, I've tried several ways, would you mind give me some example code?

2020-04-21 02:19:53 -0600 asked a question How to declare a small image for test in openCV Android?

How to declare a small image for test in openCV Android? I've asked the same question in SO but got no response, I was w