Ask Your Question

berak's profile - activity

2019-08-19 04:19:54 -0500 answered a question Jupyter kernel crashes after running "train" for decision tree classifier

it's probably a bug (in c++ already), the default constructor for DTrees is not usable, you need to set 2 additional par

2019-08-19 03:20:00 -0500 commented question Jupyter kernel crashes after running "train" for decision tree classifier

dtree crashes with default params (neither a jupyter nor python specific problem) cv2.__version__ ?

2019-08-19 03:19:21 -0500 commented question Jupyter kernel crashes after running "train" for decision tree classifier

dtree crashes with default params (neither a jupyter nor python specific problem)

2019-08-19 03:10:19 -0500 commented question Can python use VideoCapture for custom added functions in opencv 3.2.0?

https://docs.opencv.org/master/df/da2/tutorial_py_table_of_contents_bindings.html

2019-08-19 03:08:12 -0500 commented question identifying multiple leds

again, it's unclear, what you want to achieve here, what's the final goal behind it all ?

2019-08-19 03:07:15 -0500 commented question identifying multiple leds

findhomograpy would solve the problem. which problem, exactly ? findHomography takes an original, and a warped po

2019-08-19 02:33:35 -0500 commented question Can python use VideoCapture for custom added functions in opencv 3.2.0?

3.2.0 - why put any work into such an outdated version ? "Would I have to make adjustments" -- if you make changes to t

2019-08-18 10:08:54 -0500 commented question Problem about compiled In Opencv 4

^^ yea, nice catch !

2019-08-18 07:59:30 -0500 commented question identifying multiple leds

can it be your question is : how to order a list in python ?

2019-08-18 07:08:19 -0500 commented question Using OpenCV in Windows 10 with Visual Studio Code

maybe put this question on hold for a minute, and ask a 2nd one, how to build with mingw ? show your cmake / build outp

2019-08-18 06:49:38 -0500 commented question Using OpenCV in Windows 10 with Visual Studio Code

if all went well, after mingw32-make install your new stuff should be in opencv/build/install

2019-08-18 06:48:45 -0500 commented question Using OpenCV in Windows 10 with Visual Studio Code

if all went well, your new stuff should be in opencv/build/install

2019-08-17 16:24:57 -0500 commented question Using OpenCV in Windows 10 with Visual Studio Code

this means, you have to build the opencv libs from src (using mingw), before you can use them (the prebuild libs are fo

2019-08-17 15:38:33 -0500 answered a question How to use CV_FOURCC in version 4.1.0?

please use VideoWriter::fourcc() instead

2019-08-17 15:36:18 -0500 commented question Using OpenCV in Windows 10 with Visual Studio Code

VS Code is an ide, but which compiler did you install ? and which opencv version ?

2019-08-17 07:26:31 -0500 commented question CvException

please tell us, if the problem was the empty input image.

2019-08-17 06:11:57 -0500 commented question CvException

@Sempai, that simply cannot be. the code in your link does never call cvtColor(). please always check img.empty() after

2019-08-17 02:31:31 -0500 commented question copyTo don't work

don't work. does never work as an error description

2019-08-17 00:29:43 -0500 commented question installed Opencv 4 from source, C++ headers not linked correctly

how do you try to compile the c++code (please add that to your question, thank you)

2019-08-17 00:28:14 -0500 commented question CvException

your input image is invalid

2019-08-16 08:40:52 -0500 commented question kmeans in Android (Java)-

i don't think it's possible to preselect centers here, only labels (meaning, one per pixel)

2019-08-16 03:37:42 -0500 commented question error at building opencv4.1.0 with opencv-contrib-4.1.0

helo, there, would you be so nice, to change the screenshot to a TEXT based error version ? thank you !

2019-08-16 03:36:20 -0500 commented question error at building opencv4.1.0 with opencv-contrib-4.1.0

helo, there, would you be so nice, to change the screenshot to a TEXT based code / error version ? thank you !

2019-08-16 03:35:57 -0500 commented question error at building opencv4.1.0 with opencv-contrib-4.1.0

helo, there, would you be so nice, to change the screenshot to a TEXT based code / error version ?

2019-08-16 02:01:11 -0500 commented question Adding VideoCapture API

what exactly are you trying to do ? can you explain "a new camera type" ? why would it need adding a new api ?

2019-08-16 02:00:18 -0500 commented question Adding VideoCapture API

what exactly are you trying to do ?

2019-08-15 16:02:25 -0500 commented question How to calculate Optical Flow magnitude?

if you think of it, it's the mean motion of a whole image, including all non-moving pixels (probably the majority) so,

2019-08-15 15:28:31 -0500 commented question How to calculate Optical Flow magnitude?

avg = np.mean(mag) ??

2019-08-15 14:33:51 -0500 commented question Avoid retraining a model when executing a program?

it has load() and save() methods, if you didn't discover it yet ... ;) train it once, save the model, next time, load i

2019-08-15 14:32:01 -0500 commented question Avoid retraining a model when executing a program?

it has load() and save() methods, if you didn't discover it yet ... ;)

2019-08-15 14:14:10 -0500 commented question Avoid retraining a model when executing a program?

can it be, that your question now boils down to a single: "how to save a trained facerecognizer ?"

2019-08-15 14:10:17 -0500 commented question Avoid retraining a model when executing a program?

btw, we do have a face recognition module, please have a look.

2019-08-15 14:09:47 -0500 commented question Avoid retraining a model when executing a program?

btw, we do have a face regognition module, please have a look.

2019-08-15 14:07:44 -0500 edited answer Avoid retraining a model when executing a program?

imho, this is an entirely broken idea. cascades can only be used for detection, not to discriminate individuals. befor

2019-08-15 14:05:08 -0500 commented answer Avoid retraining a model when executing a program?

@holger, overfitting what, exactly ?

2019-08-15 14:04:21 -0500 commented answer Avoid retraining a model when executing a program?

@holger, overfitting what ?

2019-08-15 13:41:50 -0500 commented question Avoid retraining a model when executing a program?

imho, this is an entirely broken idea. cascades can only be used for detection, not to discriminate individuals. befor

2019-08-15 13:39:04 -0500 commented question Avoid retraining a model when executing a program?

imho, this is an entirely broken idea. cascades can only be used for detection, not to discriminate individuals. befor

2019-08-15 13:37:34 -0500 commented question Avoid retraining a model when executing a program?

imho, this is an entirely broken idea. cascades can only be used for detection, not to discriminate individuals. befor

2019-08-15 13:24:26 -0500 commented question OpenCV 3.4 Assertion failed (checkDetectorSize()) in setSVMDetector

@AHF, yes, but it is all irrelevant. you still NEED a single, LINEAR SVM support vector to use with the hog detection, R

2019-08-15 13:21:50 -0500 commented question OpenCV 3.4 Assertion failed (checkDetectorSize()) in setSVMDetector

@AHF you still NEED a single, LINEAR SVM support vector to use with the hog detection, RBF is useless there

2019-08-15 12:49:35 -0500 answered a question cmake build error for 'trancascade' app

with opencv 4.1.0, parts of the deprecated c-api were removed, and those tools (which unfortunately heavily relied on it

2019-08-15 09:08:46 -0500 commented question C++ ORB Feature Matching with FLANN Lsh Error

Descriptors are already converted to CV_32F. that looks wrong

2019-08-15 09:01:48 -0500 edited question C++ ORB Feature Matching with FLANN Lsh Error

C++ ORB Feature Matching with FLANN Lsh Error I am trying to match Orb features using FLANN matcher and LSH, and it give

2019-08-15 09:00:35 -0500 commented question C++ ORB Feature Matching with FLANN Lsh Error

cv::FlannBasedMatcher matcher = cv::FlannBasedMatcher(cv::makePtr(12, 20, 2)); template args for makePtr are missing, c

2019-08-15 06:39:50 -0500 commented question OpenCV 3.4 Assertion failed (checkDetectorSize()) in setSVMDetector

you're training the wrong thing then

2019-08-15 02:25:54 -0500 commented question What is wrong in this Opencv Face Recognition code?

btw, this is face detection, not recognition.

2019-08-15 02:24:51 -0500 commented question Segmentation fault while using createTrackBar in OpenCV-Python

can you add some example code to reproduce it to your question ? also: os, py version, which gui lib is used for this?

2019-08-15 02:23:31 -0500 commented question Segmentation fault while using createTrackBar in OpenCV-Python

can you add some example code to reproduce it to your question ?

2019-08-14 14:58:44 -0500 edited question What is wrong in this Opencv Face Recognition code?

What is wrong in this Opencv Face Recognition code? import cv2 import numpy as np . face_cascade = cv2.CascadeClassifie