Ask Your Question

akmalhakimi1919's profile - activity

2018-10-24 06:22:19 -0600 commented answer Is OpenCV frames passed by referenced?

Care to elaborate why multithreading is bad? The reason why I put the read() in a separate thread and run it continuousl

2018-10-24 04:24:55 -0600 asked a question Is OpenCV frames passed by referenced?

Is OpenCV frames passed by referenced? I want to display my camera output in 2 different windows. I want to do some draw

2018-10-16 06:38:20 -0600 received badge  Enthusiast
2018-10-09 04:52:41 -0600 asked a question Random errors appear when reading video stream from IP Cam. What does this error means?

Random errors appear when reading video stream from IP Cam. What does this error means? Got this error randomly displaye

2018-09-30 22:39:09 -0600 marked best answer How to handle OpenCV warnings?

I've tried to make an error handler if a user provided invalid URL for an IP Cam.

try:
    cam = cv2.VideoCapture(user_config.CAMERA_IP)
except Exception, e:
    print "Unable to access camera"

However, OpenCV outputs a warning instead of error

warning: Error opening file (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:856) warning: http://admin:[email protected]:80... (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:857)

so it didn't get captured. Is there a way to handle this warning?

2018-09-30 22:39:09 -0600 received badge  Scholar (source)
2018-09-30 22:39:06 -0600 commented answer How to handle OpenCV warnings?

Okay it actually works. Just had to wait few seconds for it to come out

2018-09-30 22:27:14 -0600 commented answer How to handle OpenCV warnings?

I"ve tried isOpened() but it didn't work with IP address. It still shows the warnings.

2018-09-28 05:22:37 -0600 asked a question How to handle OpenCV warnings?

How to handle OpenCV warnings? I've tried to make an error handler if a user provided invalid URL for an IP Cam. try:

2018-09-27 23:35:23 -0600 asked a question How to avoid detecting small and blurry face with haarcascade?

How to avoid detecting small and blurry face with haarcascade? Hi I'm making a Facial Recognition program that uses IP