Freeing Ram by deleting image matrix
I have a simple code import cv2 import numpy as np Image = cv2.imread('blue.jpg') Threshold = np.zeros(Image.shape, np.uint8) cv2.threshold(Image, 121, 255, cv2.THRESH_BINARY, Threshold)...
View ArticleHelp with the basics
I'm really new to Open CV and could really use some guidance. I'm not even able to load an image to open cv, I'm using python.
View ArticleOpenCV - first frame covers second frame
I am trying to take and display 2 photos, but as result I see first one two times. I have tried using two variables for frames and saving them as file. How can I fix the problem? #!/usr/bin/python...
View ArticleFacial recognition server
Hi guys ! I'm new to OpenCV and i'm really excited about this ! I'm currently working on a home automation/security project. Briefly, you need to authenticate yourself trough a keypad after the door...
View ArticleProblem reading an image inside a temporary file on raspberry pi 2.
I've been looking all night to find a solution or at least understant where the problem is comming from so here i am. I'm runnning a Flask server linked to my Apache with wsgi. I am recovering a...
View ArticleHow do I load an OpenCV generated yaml file in python?
It appears that OpenCV is writing yaml 1.0 but PyYaml only wants to read yaml 1.1 (http://pyyaml.org/#Whatimplementationshouldyouuse and...
View ArticleContour approximation. Avoid extra rectangle height
Binary image  When I draw rectangle it gives me rectangle with maximum height. I dont want to use `enter code here` epsilon =...
View ArticleDetecting isolated region in a heatmap?
I am a beginner to image analysis and am trying to write a program that does the following- What I have is the image of a heat map. Something that looks like  I Have used the following code to brighten blue import cv2 import numpy as np Image = cv2.imread('blue.jpg')...
View ArticleRaspberry pi camera Y'UV420p to something native (YUV,HSV)?
What would be the **fastest** way to convert those **YUV420p bytes** into **similar openCV format**. I am doing this for threading or sockets offloading the color tracking. I am trying to use Unencoded...
View ArticleHelp required converting a few lines of Python to Java (Android)
Hi, I've been trying to implement the following Python example from the OpenCV docs into Java for OpenCV4Android:...
View ArticleHandwriting recognition with SVM, changing training and testing values
http://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_ml/py_svm/py_svm_opencv/py_svm_opencv.html In this example OpenCV gives, the training set is of 250 and testing amount is also...
View Article