Tutorial by Examples: a

if true; then echo Always executed fi if false; then echo Never executed fi
Search role in Ansible Galaxy ansible-galaxy search role_name Install role from Ansible Galaxy ansible-galaxy install role_name More help ansible-galaxy --help
#include <highgui.h> //... cv::Mat img = cv::imread("img.jpg"); ...
Show how to use cv::VideoCapture. Here is the example of loading video from file: #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/core/core.hpp" #include <iostream> using namespace cv; VideoCapture videoSourc...
Show how to use cv::VideoCapture with e.g. a webcam. Capturing frames from webcam and display it. Here is the example code: #include <iostream> #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/core/core.hpp" ...
Show how to use cv::VideoWriter. #include "opencv2/highgui/highgui.hpp" #include <iostream> using namespace cv; using namespace std; int main(int argc, char* argv[]) { VideoCapture cap(0); // open the video camera no. 0 if (!cap.isOpened()) // if not success, e...
Actually, Live Capture example is good for capturing images, so I am using it to capture images and save them in a folder. #include <fstream> #include <string> #include <opencv2/highgui/highgui.hpp> #include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc....
using System; using Xamarin.Forms; namespace contact_picker { public class App : Application { public App () { // The root page of your application MainPage = new MyPage(); } protected override void OnStart () ...
using System; using Xamarin.Forms; namespace contact_picker { public class MyPage : ContentPage { Button button; public MyPage () { button = new Button { Text = "choose contact" }; button....
using System; using Xamarin.Forms; namespace contact_picker { public class ChooseContactPage : ContentPage { public ChooseContactPage () { } } }
using Android.App; using Android.OS; using Android.Content; using Android.Database; using Xamarin.Forms; namespace contact_picker.Droid { [Activity (Label = "ChooseContactActivity")] public class ChooseContactActivity : Activity { public string type_num...
using System; using Android.App; using Android.Content; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using Xamarin.Forms; namespace contact_picker.Droid { [Activity (Label = "contact_picker.Droid", Icon = &...
using UIKit; using AddressBookUI; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; using contact_picker; using contact_picker.iOS; [assembly: ExportRenderer (typeof(ChooseContactPage), typeof(ChooseContactRenderer))] namespace contact_picker.iOS { public partial class Choose...
If the input HTML DOM is <html> <body> <a>link</a> <div class='container' id='divone'> <p class='common' id='enclosedone'>Element One</p> <p class='common' id='enclosedtwo'>Element Two</p> ...
Firebase Console information in detail Android : Firebase Analytics Example Steps For Android : Download code from the link Check FirebaseAnalyticsActivity That's all you will understand how's the firebase analytics works for the different scenario.
In image processing applications, the bilateral filters are a special type of non-linear filters. There is a trade off between loosing structure and noise removal, because the most popular method to remove noise is Gaussian blurring which is not aware of structure of image; therefore, it also remov...
Interceptors require the IInterceptor interface. Any public method within the intercepted class will be intercepted (including getters and setters) public class MyInterceptor : IInterceptor { public void Intercept(IInvocation invocation) { //Calls the next method in the chain - T...
Installations Download and install: Java 8 - download the relevant installation from Oracle site. Activator - download zip from www.playframework.com/download and extract files to the target Play folder, for example to: c:\Play-2.4.2\activator-dist-1.3.5 sbt - download from www.sc...
Occasionally you will want to access the result of your filters from outside the ng-repeat, perhaps to indicate the number of items that have been filtered out. You can do this using as [variablename] syntax on the ng-repeat. <ul> <li ng-repeat="item in vm.listItems | filter:vm.myF...
Okay it took me about a day to figure it out so here I am posting the steps I followed to get my Database First working in a Class Project (.NET Core), with a .NET Core Web App. Step 1 - Install .NET Core Make Sure you are using .NET Core not DNX (Hint: You should be able to see the .NET Core opti...

Page 740 of 1099