Ask Your Question

accdev's profile - activity

2020-01-10 03:11:23 -0600 received badge  Popular Question (source)
2019-01-05 08:20:39 -0600 received badge  Student (source)
2018-09-05 16:40:03 -0600 marked best answer How to use norm with Java?

I have a code that is written in both Python and C++ that I am now converting to Java. I use the norm function to compare 2 points of an RGB image. In Python and C++ getting these pixel values is simple, and you can just plug them into the norm function. In java, when getting these values the data type changes from Mat to double[] array. The norm function however takes Mat as its arguments. Is it possible to convert the double array to Mat, or to get the pixel values as a Mat?

This is the current methods I am using:

double[] right_pt = image_to_read.get(middlexint+radiint, middleyint); // get pixel value point1
double[] pti = image_to_read.get(middlexint+radiint-i,middleyint);    // get pixel value point2
double e_dist = Core.norm(right_pt, pti);  // calculate euclidean distance
2018-09-05 16:40:03 -0600 received badge  Scholar (source)
2018-08-29 13:15:23 -0600 asked a question How to use norm with Java?

How to use norm with Java? I have a code that is written in both Python and C++ that I am now converting to Java. I use

2018-08-07 10:24:05 -0600 received badge  Critic (source)
2018-08-07 10:10:17 -0600 received badge  Supporter (source)
2018-08-03 11:47:45 -0600 received badge  Enthusiast
2018-07-30 10:22:56 -0600 commented question How can I take multiple pictures with one button press?

Works perfect, thanks!

2018-07-27 14:11:35 -0600 asked a question How can I take multiple pictures with one button press?

How can I take multiple pictures with one button press? I would like to have a "burst" effect and take multiple pictures

2018-07-26 13:01:20 -0600 commented question Why am I getting undefined reference to cv::imwrite?

Hmm, I'm not certain how I would check/fix it if this is the issue. Also, the point of the timeout code was to answer @

2018-07-26 10:46:40 -0600 commented question Why am I getting undefined reference to cv::imwrite?

Your saying the fact that this is in react-native is irrelevant? Or is it the bit of code I've added? And I edited the

2018-07-26 10:44:25 -0600 edited question Why am I getting undefined reference to cv::imwrite?

Why am I getting undefined reference to cv::imwrite? I'm developing an app for android with react-native that uses openc

2018-07-26 10:14:02 -0600 commented question Why am I getting undefined reference to cv::imwrite?

So part of the image analysis is a circle detection, and I have this in my image analysis: if (circles.size() == 1){usl

2018-07-26 10:13:52 -0600 commented question Why am I getting undefined reference to cv::imwrite?

So part of the image analysis is a circle detection, and I have this in my image analysis: if (circles.size() == 1){usl

2018-07-18 13:05:04 -0600 commented question How to find dimensions of an object in the image

I would suggest drawing contours and finding the extreme points as shown here: https://www.pyimagesearch.com/2016/04/11/

2018-07-18 12:22:58 -0600 edited question Why am I getting undefined reference to cv::imwrite?

Why am I getting undefined reference to cv::imwrite? I'm developing an app for android with react-native that uses openc

2018-07-18 12:10:44 -0600 edited question Why am I getting undefined reference to cv::imwrite?

Why am I getting undefined reference to cv::imwrite? I'm developing an app for android with react-native that uses openc

2018-07-18 12:09:32 -0600 edited question Why am I getting undefined reference to cv::imwrite?

Why am I getting undefined reference to cv::imwrite? I'm developing an app for android with react-native that uses openc

2018-07-18 12:08:26 -0600 edited question Why am I getting undefined reference to cv::imwrite?

Why am I getting undefined reference to cv::imwrite? I'm developing an app for android with react-native that uses openc

2018-07-18 12:07:04 -0600 edited question Why am I getting undefined reference to cv::imwrite?

Why am I getting undefined reference to cv::imwrite? I'm developing an app for android that uses opencv and the imread a

2018-07-18 12:04:08 -0600 received badge  Editor (source)
2018-07-18 12:04:08 -0600 edited question Why am I getting undefined reference to cv::imwrite?

Why am I getting undefined reference to cv::imwrite? I'm developing an app for android that uses opencv and the imread a

2018-07-18 11:52:56 -0600 asked a question Why am I getting undefined reference to cv::imwrite?

Why am I getting undefined reference to cv::imwrite? I'm developing an app for android that uses opencv and the imread a