Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all 19555 articles
Browse latest View live

Can't build opencv 2.4.11 with python

$
0
0
When I try to build opencv 2.4.11 with both c++ and python, an error comes up for python- Traceback (most recent call last): File "", line 1, in ImportError: No module named numpy.distutils The thing is numpy is installed for python 2.7.6 and not for python 2.7.9 which is what opencv is trying to build from. How do I rectify this issue? How can I make opencv build particularly with python 2.7.6 or install numpy with python 2.7.9?

drawning labeling components in a image opencv c++

$
0
0
I have the next image. ![original image](/upfiles/1483146466942221.png) I used the function connectedComponentsWithStats for find the components of the image. now i want draw only the components with an area > 3000, in this case there are 3 of the 5 components that the function found, i used the function "compare" for draw the 3 components but the result is not expected (only draw 1 component), Some idea for get the final result? thank you. my result is: ![final result](/upfiles/14831465156947205.png) int main(int argc, const char** argv) { img = imread("blob.png", 0); if (img.empty()) { cout << "Could not read input image file: " << endl; return -1; } namedWindow("Image", 1); imshow("Image", img); Mat labelImage(img.size(), CV_32S); Mat stats, centroids; int nLabels = connectedComponentsWithStats(img, labelImage, stats, centroids, 8, CV_32S); std::vector colors(nLabels); std::vector labels_finals; colors[0] = Vec3b(0, 0, 0);//background for (int label = 1; label < nLabels; ++label){ //label 0 is the background if ((stats.at(label, CC_STAT_AREA)) > 3000){ labels_finals.push_back(label); //cout << "hola" << endl; } cout << "area del component: " << label << "-> " << stats.at(label, CC_STAT_AREA) << endl; //colors[label] = Vec3b((rand() & 255), (rand() & 255), (rand() & 255)); colors[label] = Vec3b(0, 255, 0); } Mat dst(img.size(), CV_8UC3); for (int r = 0; r < dst.rows; ++r){ for (int c = 0; c < dst.cols; ++c){ int label = labelImage.at(r, c); //cout << "label: " << label << endl; Vec3b &pixel = dst.at(r, c);//accesa al elemento pixel = colors[label]; } } Mat dst2(img.size(), CV_8UC3); for (int i = 0; i < labels_finals.size(); ++i){ std::cout << "path i: " << labels_finals[i] << ' ' << endl; compare(labelImage, labels_finals[i], dst2, CMP_EQ); } imshow("compare imagem ", dst2); }

Can OpenCV 3.1.0 be set to capture an RTSP stream over UDP?

$
0
0
Using OpenCV for Java, I've been trying to connect to an RTSP server that will transport video over UDP. The code looks like: VideoCapture cam = new VideoCapture("rtsp://localhost:8554"); OpenCV sends a setup request to the RTSP server that looks like: SETUP 127.0.0.1:8554/trackID=1 RTSP/1.0 Transport: RTP/AVP/TCP;unicast;interleaved=0-1 CSeq: 3 The server has to send data over UDP not TCP. I've tried passing in "rtsp://localhost:8554?udp" but that doesn't change the request sent. If I use OpenCV 3.0.0 the setup request that's sent looks like: SETUP 127.0.0.1:8554/trackID=1 RTSP/1.0 Transport: RTP/AVP/UDP;unicast;client_port=744-7445 CSeq: 3 However, OpenCV 3.0.0 doesn't seem to have VideoWriter while OpenCV 3.1.0 does. The discussion for a bug report, [RTSP over TCP with cvCreateFileCapture not working (Bug #2235)](http://code.opencv.org/issues/2235), mentions that there was a modification introduced in OpenCV 2.4.11 and 3.1.0, that forces VideoCapture to default to using TCP to transport media. Is data transport over TCP hard coded, or can VideoCapture be somehow set to use UDP? Also, I tried having the RTSP server send "400 Bad Request" as a response to the TCP transport request, and OpenCV didn't send a follow up request for UDP. It just reported an error: > warning: Error opening file> (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:578)

Split BGR into 3 separate images

$
0
0
I have used a couple of CV_32FC3 for processing and wish to convert one of the channels of each into CV_8UC1. I tried this: Mat imgMedR(157, 78, CV_16UC3) ; Mat imgMedL(157, 78, CV_16UC3) ; Mat imgFiltR(157, 78, CV_32FC3) ; Mat imgFiltL(157, 78, CV_32FC3) ; medianBlur(imgLocsL, imgMedL, KernSize); //imgLocsL & imgLocsR work fine without the snippet shown Scharr(imgMedL,imgFiltL, CV_32F, 1,0); medianBlur(imgLocsR, imgMedR, KernSize); Scharr(imgMedR,imgFiltR, CV_32F, 1,0); Mat imgL(157, 78, CV_32FC1); Mat imgR(157, 78, CV_32FC1); Mat imgBGR_R[3],imgBGR_L[3]; split(imgFiltR, imgBGR_R); split(imgFiltL, imgBGR_L); imgR = imgBGR_R[3] / 64.0f; imgL = imgBGR_L[3] / 64.0f; //Valgrind says I have a segment fault here but not the line above. //the error identified is imgR.convertTo(imgRight, CV_8U); imgL.convertTo(imgLeft, CV_8U); The Valgrind err messagesa re Conditional jump or move depends on uninitialised value(s) Use of uninitialised value of size 8 and Invalid read of size 4 I confused. If imgLocsL and imgLocsR are OK, then the variables in the Mat at the offending line should have a valid value of type CV_32F. If the error was after the converto, then I could save the image and look at it. Anybody have any hints on how to troubleshoot this? Thanks Ralph

Can you use Openmv Camera on OpenCV

$
0
0
Hello I was wondering could the openmv camera be used on a robot with continuous rotating servo bot? Openmv camera link is here https://openmv.io/

Dataset link

$
0
0
Has anybody provide VIPeR, ETHZ dataset link?

Can someone explain me these terms (acceptanceRatio, HR, FA) in training haar cascade, and "acceptanceRatio 800:4.97153e-05" is it consider good?

$
0
0
![image description](/upfiles/14829994358928195.jpg)

How to convert Mat data to byte data in Andorid by using OpenCV

$
0
0
I'd like to convert Mat data to byte data by using OpencV. My expected data format is the following: ex.) data =[112,113,0,1,0,225,........] →1,0,225 is one layer CV_8UC3 but my code(System.outprint.ln(data)) is not equal to the above data format. The Output value is "I/System.out: [B@43d1d008". How should I achieve the problem? My code: ・when I touch the screen, the Flag is to be set as "1"; then , in onCameraFrame, the Mat date is converted to byte data and execute "System.outprint.ln" . package opencv.ros.com.camera_opencv; import android.app.Activity; import android.os.Bundle; import android.view.MotionEvent; import android.view.WindowManager; import org.opencv.android.BaseLoaderCallback; import org.opencv.android.CameraBridgeViewBase; import org.opencv.android.LoaderCallbackInterface; import org.opencv.android.OpenCVLoader; import org.opencv.core.Core; import org.opencv.core.CvType; import org.opencv.core.Mat; import org.opencv.core.Scalar; import org.opencv.core.Size; import java.io.BufferedOutputStream; public class MainActivity extends Activity implements CameraBridgeViewBase.CvCameraViewListener { private CameraBridgeViewBase mCameraView; private Mat mOutputFrame; private volatile int Flag=0; private BaseLoaderCallback mLoaderCallback = new BaseLoaderCallback(this) { @Override public void onManagerConnected(int status) { switch (status) { case LoaderCallbackInterface.SUCCESS: mCameraView.enableView(); break; default: super.onManagerConnected(status); break; } } }; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN); mCameraView = (CameraBridgeViewBase)findViewById(R.id.camera_view); mCameraView.setCvCameraViewListener(this); } @Override public void onPause() { if (mCameraView != null) { mCameraView.disableView(); } super.onPause(); } @Override protected void onResume() { super.onResume(); OpenCVLoader.initAsync(OpenCVLoader.OPENCV_VERSION_2_4_4, this, mLoaderCallback); } @Override public boolean onTouchEvent(MotionEvent event) { if (event.getAction()==MotionEvent.ACTION_DOWN) { Flag = 1; System.out.println( Flag ); } return true; } @Override public void onDestroy() { super.onDestroy(); if (mCameraView != null) { mCameraView.disableView(); } } @Override public void onCameraViewStarted(int width, int height) { // Mat(int rows, int cols, int type) // rows: height, cols: width mOutputFrame = new Mat(height, width, CvType.CV_8UC3); } @Override public void onCameraViewStopped() { mOutputFrame.release(); } @Override public Mat onCameraFrame(Mat inputFrame) { Mat img2 = new Mat(new Size(85,85),CvType.CV_8UC3); if(Flag==1){ Flag=0; int bufferSize = img2.channels()*img2.cols()*img2.rows(); byte [] b = new byte[bufferSize]; img2.get(0,0,b); // get all the pixels System.out.println(b); } return img2; } }

How to detect a perfect black image?

$
0
0
Hi, This is my first post in this forum. I've written a color detection program for detecting Magenta color(only). But now I want to print a text when the magenta color is not present.Which means I want to detect a perfect black image for that.How can I do that? import cv2 import numpy as np cap = cv2.VideoCapture(0) while(1): # Take each frame _, frame = cap.read() # Convert BGR to HSV hsv = cv2.cvtColor(frame, cv2.COLOR_BGR2HSV) # define range of blue color in HSV lower_blue = np.array([140,100, 140], dtype=np.uint8) upper_blue = np.array([150,255,255], dtype=np.uint8) # Threshold the HSV image to get only blue colors mask = cv2.inRange(hsv, lower_blue, upper_blue) # Bitwise-AND mask and original image res = cv2.bitwise_and(frame,frame, mask= mask) cv2.imshow('frame',frame) cv2.imshow('mask',mask) cv2.imshow('res',res) k = cv2.waitKey(5) & 0xFF if k == 27: break cv2.destroyAllWindows()

How to convert String data to byte data without Extra conversion

$
0
0
I asked a question a few hours ago , as the following but The intended question is changed. http://answers.opencv.org/question/120726/how-to-convert-mat-data-to-byte-data-in-andorid-by-using-opencv/ So I newly ask a question in here. [Question] I would like to equal the value of "ds" to the value of "a" in the following code. >・・・ >> Mat img2 = new Mat(new Size(85, 85),> CvType.CV_8UC3); String a = img2.dump(); > byte[] ds = a.getBytes();> System.out.println(a); -----(A)> System.out.println(ds);------(B)>・・・ Actually, (A) and (B) is different from each other (A)'s output: I/System.out: 244, 255, 249, 255, 243, 255, 248, 255, 247, 255, 245, ・・・ (B)'s output: I/System.out: [B@4627b6a0 ・・・ The purpose of equaling the value of "ds" to the value of "a" is to send the ds's data via socket communication as the following: >・・・ socket = new Socket(IP_ADDR, > PORT); out = new> BufferedOutputStream(socket.getOutputStream());> out.write(ds); ・・・ then, I want not to send same value of (B) output but to send same value of (A) in byte data. If you know the solution of the problem ,Please let me know.

find contour opencv java

$
0
0
Hello, I want my program to input an image (attachment) ![image description](/upfiles/14832003891984046.jpg) and output a string like : - Question 1: box 2 checked - Question 2: box 1 checked - Question 3: box 3 checked - Question 4: box 2 checked Etc ... (as many question as I have per image) I can simply locate empty boxes with this program: import java.util.ArrayList; import java.util.List; import org.opencv.core.Core; import org.opencv.core.CvType; import org.opencv.core.Mat; import org.opencv.core.MatOfPoint; import org.opencv.core.Point; import org.opencv.core.Rect; import org.opencv.core.Scalar; import org.opencv.core.Size; import org.opencv.imgcodecs.Imgcodecs; import org.opencv.imgproc.Imgproc;public class test { public static void main(String[] args) { // Load the library of openCv System.loadLibrary(Core.NATIVE_LIBRARY_NAME); // Consider the image for processing Mat image = Imgcodecs.imread("C:/attachement.jpg", Imgproc.COLOR_BGR2GRAY); Mat imageHSV = new Mat(image.size(), CvType.CV_8UC4); Mat imageBlurr = new Mat(image.size(),CvType.CV_8UC4); Mat imageA = new Mat(image.size(), CvType.CV_32F); Imgproc.cvtColor(image, imageHSV, Imgproc.COLOR_BGR2GRAY); Imgproc.GaussianBlur(imageHSV, imageBlurr, new Size(5,5), 0); Imgproc.adaptiveThreshold(imageBlurr, imageA, 255,Imgproc.ADAPTIVE_THRESH_MEAN_C, Imgproc.THRESH_BINARY,7, 5); List contours = new ArrayList(); Imgproc.findContours(imageA, contours, new Mat(), Imgproc.RETR_LIST,Imgproc.CHAIN_APPROX_SIMPLE); for(int i=0; i< contours.size();i++) { if (Imgproc.contourArea(contours.get(i)) > 50 ) { Rect rect = Imgproc.boundingRect(contours.get(i)); if ((rect.height > 35 && rect.height < 60) && (rect.width > 35 && rect.width < 60)) { Imgproc.rectangle(image, new Point(rect.x,rect.y), new Point(rect.x+rect.width,rect.y+rect.height),new Scalar(0,0,255)); } } } Imgcodecs.imwrite("C:/Users/Benreghai/Downloads/tof/output.png",image); } } Here is the output of my program: (image attached) ![output](/upfiles/14832003488505802.png) Thank you for your help !

Error building OpenCV 3.2 on Windows - missing unistd.h

$
0
0
I'm trying to build the latest version of OpenCV with CUDA and [extra modules](https://github.com/opencv/opencv_contrib) using CMake. I want CMake to generate a solution for Visual Studio 2017 Community RC so I'm calling CMake with -G "Visual Studio 15 2017". CMake fails in the configuration step, though, giving me the following output in CMakeError.log: Build started 12/31/2016 5:46:35 PM. Project "C:\Libs\Temp\opencv-3.2\CMakeFiles\CMakeTmp\cmTC_aa5bd.vcxproj" on node 1 (default targets). PrepareForBuild: Creating directory "cmTC_aa5bd.dir\Debug\". Creating directory "C:\Libs\Temp\opencv-3.2\CMakeFiles\CMakeTmp\Debug\". Creating directory "cmTC_aa5bd.dir\Debug\cmTC_aa5bd.tlog\". InitializeBuildStatus: Creating "cmTC_aa5bd.dir\Debug\cmTC_aa5bd.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\bin\HostX86\x64\CL.exe /c /Zi /W3 /WX- /diagnostics:classic /MP4 /Od /Ob0 /Oi /D WIN32 /D _WINDOWS /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_aa5bd.dir\Debug\\" /Fd"cmTC_aa5bd.dir\Debug\vc141.pdb" /Gd /TC /errorReport:queue /bigobj "C:\Libs\Temp\opencv-3.2\CMakeFiles\CMakeTmp\CheckIncludeFile.c" Microsoft (R) C/C++ Optimizing Compiler Version 19.10.24728 for x64 Copyright (C) Microsoft Corporation. All rights reserved. cl /c /Zi /W3 /WX- /diagnostics:classic /MP4 /Od /Ob0 /Oi /D WIN32 /D _WINDOWS /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_aa5bd.dir\Debug\\" /Fd"cmTC_aa5bd.dir\Debug\vc141.pdb" /Gd /TC /errorReport:queue /bigobj "C:\Libs\Temp\opencv-3.2\CMakeFiles\CMakeTmp\CheckIncludeFile.c" CheckIncludeFile.c C:\Libs\Temp\opencv-3.2\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [C:\Libs\Temp\opencv-3.2\CMakeFiles\CMakeTmp\cmTC_aa5bd.vcxproj] Done Building Project "C:\Libs\Temp\opencv-3.2\CMakeFiles\CMakeTmp\cmTC_aa5bd.vcxproj" (default targets) -- FAILED. Build FAILED. "C:\Libs\Temp\opencv-3.2\CMakeFiles\CMakeTmp\cmTC_aa5bd.vcxproj" (default target) (1) -> (ClCompile target) -> C:\Libs\Temp\opencv-3.2\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [C:\Libs\Temp\opencv-3.2\CMakeFiles\CMakeTmp\cmTC_aa5bd.vcxproj] 0 Warning(s) 1 Error(s) Time Elapsed 00:00:00.57 It seems it is looking for unistd.h, not finding it since it is a Unix library. I have found a similar question [here](http://answers.opencv.org/question/60156/error-building-opencv-300-beta-on-windows/#), but it is a bit old and unanswered. Am I missing something or is it a bug in the source code as suggested in the previously asked question?

inverse filter c++

$
0
0
Hello, I want to implement the Inverse filter which is basically F=G/H.here F is the restored image, G is the blurred image and H is the kernel that blurred the image after transformed by DFT. But there are a lot of thing that I don not know how to do it like : -I don't know how to handle the complex output from the forward DFT and how two divide two spectrums G and H to obtain F. -Which flags to use in the forward DFT and in the Inverse DFT BEST

Broken Tutorial for Video Reading and Writing C++?

$
0
0
Hi I was trying to use this [tutorial](http://docs.opencv.org/2.4.1/doc/tutorials/highgui/video-write/video-write.html) to do some video manipulation with OpenCV, but the program there doesn't seem to even run and results in this error: 2016-12-31 14:17:14.509 process[9002:114718] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[AVAssetWriterInput initWithMediaType:outputSettings:sourceFormatHint:] AVVideoSettings dictionary must specify a positive width' *** First throw call stack: ( 0 CoreFoundation 0x00007fffcf4d20db __exceptionPreprocess + 171 1 libobjc.A.dylib 0x00007fffe4164a2a objc_exception_throw + 48 2 AVFoundation 0x00007fffcbb6e728 -[AVAssetWriterInput dealloc] + 0 3 AVFoundation 0x00007fffcbb6e0b3 +[AVAssetWriterInput assetWriterInputWithMediaType:outputSettings:] + 52 4 libopencv_highgui.2.4.dylib 0x0000000107139132 _ZN26CvVideoWriter_AVFoundationC2EPKcid6CvSizei + 682 5 libopencv_highgui.2.4.dylib 0x0000000107136dd3 _Z32cvCreateVideoWriter_AVFoundationPKcid6CvSizei + 69 6 libopencv_highgui.2.4.dylib 0x000000010712a848 cvCreateVideoWriter + 80 7 libopencv_highgui.2.4.dylib 0x000000010712b24a _ZN2cv11VideoWriter4openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEidNS_5Size_IiEEb + 58 8 process 0x0000000106c11fa0 main + 1232 9 libdyld.dylib 0x00007fffe4a46255 start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException Abort trap: 6 Is it broken or am I doing something wrong when running the program? Thanks!

Top 7 Effective home Treatments For Reducing Eye Wrinkles

$
0
0


The body itself is miraculous. Over time, it replaces and/or repairs every cell their body, over and over again. As we age, the process becomes slower, but it doesn't stop, provided you take good yourself.

Look for a product has a dangerous of SPF. The sun's ultraviolet rays are undoubtedly damaging into the skin. These rays can hamper the renewal of collagen. They will cause abnormal melanin processing. By protecting your skin from the sun, in order to preventing 80% of the wrinkles which may appear on the skin.

Taking care of your couch covers is definitely an easy starting. Most are machine washable in cold water and holds up to several washings. Just because they are made out of modern fabrics, spot cleaning is . With a damp cloth and cold water you can clean up most any stain that is going to happen, fast and pretty much. These covers are easy to run a vacuum over to keep them free of dirt, crumbs, and pet hair too. You discover them simple to wash and dry and they will remain wrinkle free for many years. They are durable and are made to take punishment from a family, including pets.

Phytessence Wakame, another natural ingredient, can be an amazing skin revitalizer. It nourishes skin by providing plenty of vitamins and minerals to barefoot jogging. It also prevents the breakdown of Hyraluronic acid in pores and skin. This acid is a factor for keeping epidermis firm and smooth.

Now, how to find greatest and most fun facial anti aging creams that may work as advertised? There are products tend to be clinically able to reduce the lines and wrinkles onto the skin. The trick is in locating them. You won't find them on the shelves of the local online pharmacy. The products that actually work are the types that boost the production of collagen and elastin with your skin. The particular two vital proteins have the effect of giving skin color its firmness and strength.

Skin cells better absorb natural products. This deep level of absorption allows them to help your skin produce New Age Skincare Serum collagen and elastin without attention. Natural substances also block free radicals from damaging cells; this damage is regarded as the roots of skin aging.

Beauty is truly skin significant. It starts in the cancer cells. Now, cells need certain things to keep from getting ancient. It's the cells that can present you with wrinkles, crows' feet, sagging, poor color, and a tired drawn look; it will also give you soft moist skin automobiles color and lines that alive with youth and.

is there any way to detect shiny ball ?

$
0
0
Hi , I have an idea but I don't know is it possible or not. I think I can detect shiny ball but any way ... I have a silver shiny ball. How can i detect it using opencv with C++ or Python...

How to use bilateral filter of opencv 2.4 in android

$
0
0
I want to use the bilateral filter of opencv 2.4 in an Android application. I am currently calling the function by `Imgproc.bilateralFilter(gray, gray, GLOBAL_ITER, GLOBAL_ITER*2, GLOBAL_ITER/2);` where gray is the matrix of the grayscale image. I am getting the error E/AndroidRuntime: FATAL EXCEPTION: Thread-1376 Process: com.example.mustardlab.opencvtesting, PID: 30368 CvException [org.opencv.core.CvException: cv::Exception: /Volumes/build-storage/build/2_4_pack-android/opencv/modules/imgproc/src/smooth.cpp:1925: error: (-215) (src.type() == CV_8UC1 || src.type() == CV_8UC3) && src.type() == dst.type() && src.size() == dst.size() && src.data != dst.data in function void cv::bilateralFilter_8u(const cv::Mat&, cv::Mat&, int, double, double, int) ]

Subwoofer Furzt, Lautsprecher Und Subwoofer

$
0
0

er furzt sich ausWeil sie ihn abblitzen ließ, hinterließ er ihr eine regelrechte Stinkbombe. Ich persönlich würde mich auch arg daran stören wenn mein Partner rein aus Provokation ständig pupsen würde und kann mir sogar vorstellen ihn zu fragen ob er lieber ungestört seinem Treiben nachgehen möchte weil ich keine Lust habe daneben zu sitzen.

Und selbst nach einer halben Stunde darf man noch nicht in jene Ecke des Raums zurückkehren, da die Furzwolke noch immer dicht über der Abschusszone liegt und nicht daran denkt, sich endlich aufzulösen.

Dies ist ein Furz, bei dem sich im Blinddarm über Jahre hinweg Ekelhaftes zum Lachen ein gammliges, stinkiges Breigemisch ansammelt. Wut durch schwarzer humor blog, egal ... Naja, ich weiss gar nicht, inwieweit er das vorher überhaupt rechtzeitig merkt, um weggehen zu können.

Build OpenCV with OpenCL support

$
0
0
in CMake, I built OpenCV with OpenCL Enable ON(It automatically detected the `OPENCL_INCLUDE_DIR` path but the `OPENCL_LIBRARY` was empty, even after clicking config. for `OPENCL_LIBRARY` i don't see browse button either .. after generating opencv binaries then i run the below code #include #include #include #include #include #include int main() { if (!cv::ocl::haveOpenCL()) cout << "OpenCL is not avaiable..." << endl; else cout << "OpenCL is AVAILABLE! :) " << endl; //this is the output cv::ocl::setUseOpenCL(true); cout << context.ndevices() << " GPU devices are detected." << endl; for (int i = 0; i < context.ndevices(); i++) { cv::ocl::Device device = context.device(i); cout << "name: " << device.name() << endl; cout << "available: " << device.available() << endl; cout << "imageSupport: " << device.imageSupport() << endl; cout << "OpenCL_C_Version: " << device.OpenCL_C_Version() << endl; cout << endl; } //this works & i can see my video card name & opencl version cv::ocl::Device(context.device(0)); } When i make use of `UMat` to measure the performance, the performance with(UMat) or without(Mat) OpenCL did not make any difference. I downloaded AMD-APP-SDK from this [link][1] and tried to build but there was no OpenCL binaries (instead i saw opengl dll files[glew32.dll & glut32.dll]. How do i build OpenCV with OpenCL by linking the OPENCL_LIBRARY? [1]: http://developer.amd.com/amd-license-agreement-appsdk/

Mlm Tips And Attracting The Right Clients

$
0
0
By time you finish looking over this article you will know exactly how to make money with any successful online home business job opportunity idea today. The secret of how to make money with one of the superior moneymaking programs is there isn't any secret! Nope! None whatsoever! As a matter of fact, that is true of any kind of the top successful multi-level marketing programs. It does not matter what one! This is what we'll do. Pick out 3 in the leading successful moneymaking programs online. Then we'll revisit here and we'll undergo each detail by detail, of how each system worked out for each in the participants. We as a class, we'll pass by the directions with all of being equal. With the same volume of people. With the same amount of capitol to do business with.
Toronto search engine optimisation depends only on the searches which can be created by people within the cities of Toronto. It completely is dependent upon what they need and the things they hunt for within their Toronto websites. To succeed in search engine optimisation, content from the website has to be good and reliable. Even if you own an internet site that describes about your products, in lieu of giving the photos of the products alone, you'll want to give content that creates a gamers interactive and informative to remain in your internet site.
Affiliate business internet marketing online promotion can be achieved in the the paid and the free methods. If you are still during the early stages of pursuing affiliate marketing online, enjoying the free advertising methods might be advisable for you. In this case, if you use free advertising, you'll be able to eliminate the costs that you can incur from using a paid one. If you treasured this article and you would like to receive more info relating to affiliate marketin secrets (Going On this site) nicely visit our web site. So how do you make use of the free methods in online marketing? You can do so by making use of free ads that always expire within forty days. These advertisements work and it is possible to enjoy all of them with nothing leaving your pocket. Once the forty day period expires, it is possible to renew them indefinitely or spend on reasonably limited membership that will present you with more exposure. Using YouTube videos to advertise the items and services of the company what you are doing affiliate marketing for is an additional means of advertising free of charge. What you want to do is to create a free user account and commence uploading the videos that you'll create to the promotions. You could also start marketing because of these services and products by creating articles which will promote them. If you have a talent for writing, this will come a breeze to suit your needs as you will ought to write articles which are basically in accordance with these products and services that are offered from the merchant. You could also give reviews which will capture the crowd that you need to attract. Finding free methods for advertising and promoting the products and services from the merchant will probably be easier if you will try to be more imaginative and resourceful. You also should be highly involved in your affiliate marketing business in order for you to understand how it works. The best option you could do when starting this manner of online marketing business would be to research continuously in connection with business that you're promoting and locate different ways in which you'll be able to enhance marketing on their behalf.
On the other side, HTML is perfect for its organization and functionality. Most of business and corporate websites prefer HTML since it expands with content and in addition better classified by the search engines. Social Medias also uses HTML. Nowadays, the amalgamation of flash/HTML is popular in niche for its better indexing quality along with the cool eye-candy look.
Website CMS platform: A platform will likely be used to build a website. Some websites are same throughout its existence. The other's should change their content and updated frequently. These sites take some kind of user-friendly cms for easily update their materials. To provide this sort of service custom php/mysql and other open source website cms are employed. The backend code coded in java, , XML etc. It's a controversial matter to decide that your best is. It's varying derived from one of designing company to a new. But it's not just a matter of concern for your consumer that what are the backend language is.
Viewing all 19555 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>