simple facedetection open cv visual studiosimple facedetection open cv visual studio

#include "stdafx.h" #include "cv.h" #include "highgui.h" //fungsi deteksi wajah void detect_and_draw(IplImage* img){  //inisialisasi  CvHaarClassifierCascade *cascade=0;  CvMemStorage *storage=0;  IplImage* gray=img;  //baca file xml u/ image detection  if(!cascade){   char * file="C:/OpenCV2.1/data…

Read more »
18Nov2015

Red tracking color MATLABRed tracking color MATLAB

programnya..... close all; clear all; clc; % spesifikasi format webcam yang digunakan vid=videoinput('winvideo',1,'YUY2_320x240'); set(vid,'TriggerRepeat',Inf); vid.returnedcolorspace='rgb'; vid.FrameGrabInterval=2; start(vid) while(vid.FramesAcquired          % mengambil citra dari video     data …

Read more »
02Nov2015

Skin face detection MATLABSkin face detection MATLAB

PROGRAM % spesifikasi format webcam yang digunakan vid = videoinput('winvideo',1,'YUY2_320x240'); set(vid, 'FramesPerTrigger', Inf); set(vid, 'ReturnedColorspace', 'rgb') vid.FrameGrabInterval = 5; % memulai program   start(vid) while(vid.FramesAcquired data = getsnapshot(vid); diff_im = imsubtract…

Read more »
02Nov2015

MATLAB Tracking object MATLAB Tracking object

programnya close all; clear all; clc; % spesifikasi format webcam yang digunakan vid=videoinput('winvideo',1,'YUY2_320x240'); set(vid,'TriggerRepeat',Inf); vid.returnedcolorspace='rgb'; vid.FrameGrabInterval=2; start(vid) while(vid.FramesAcquired     tic     for f=1:50;% nilai ini harus lebih kecil…

Read more »
02Nov2015

Program GUI matlab robot PC Program GUI matlab robot PC

programnya..... function varargout = guivisiBOT(varargin) % GUIVISIBOT MATLAB code for guivisiBOT.fig %      GUIVISIBOT, by itself, creates a new GUIVISIBOT or raises the existing %      singleton*. % %      H = GUIVISIBOT returns the handle to a new GUIVISIBOT or the handle to %      the existing …

Read more »
02Nov2015

ROBOT KONTROL KOMPUTER arduinoROBOT KONTROL KOMPUTER arduino

programnya ..... // ROBOT KONTROL KOMPUTER // Definisi awal int kiriA = 9; int kiriB = 6; int kananA = 5; int kananB = 3; void setup() {   Serial.begin(9600);   pinMode(kiriA,OUTPUT);   pinMode(kiriB,OUTPUT);   pinMode(kananA,OUTPUT);   pinMode(kananB,OUTPUT); } void loop() {   if(Serial.available(…

Read more »
02Nov2015

face detection opencv dan visual studio face detection opencv dan visual studio

programnya............ #include "visualcontrol.h" #include "webcamwidget.h" #include #include #include #include #include #include #include #include #include #include #include #include "cognition/detector/facedetector.h" #include "cognition/trainerimage.h" namespace gui { const cv::Size …

Read more »
25Oct2015

volume control tangki air arduinovolume control tangki air arduino

flowchart programnya..... /*----------------------------------------------------- '   '     VOLUME CONTROL TANGKI AIR '     TRIG --> Pin 9 '     ECHO --> Pin 8 '     RELAY --> Pin 10 '     Hasilnya tampilkan ke LCD ' '------------------------*/ #define ECHOPIN 9                           #define…

Read more »
23Oct2015

tongkat tunatentra ultrasonik arduinotongkat tunatentra ultrasonik arduino

flowchart programnya............... /*----------------------------------------------------- '      '     TONGKAT TUNA NETRA '     TRIG --> Pin 8 '     ECHO --> Pin 9 '     BUZZER --> Pin 11 '     Hasilnya tampilkan ke LCD '     '------------------------*/ #define ECHOPIN 9                          …

Read more »
22Oct2015

kran otomatis arduino dan ultrasonikkran otomatis arduino dan ultrasonik

flowchart programnya......... /*----------------------------------------------------- '   '     KRAN OTOMATIS '     TRIG --> Pin 8 '     ECHO --> Pin 9 '     Relay --> Pin 10 '     Hasilnya tampilkan ke LCD '   '------------------------*/ #define ECHOPIN 9                         #define TRIGPIN…

Read more »
22Oct2015

penghitung jumlah orang otomatis pake arduinopenghitung jumlah orang otomatis pake arduino

flowchart /*----------------------------------------------------- '   '     PENGHITUNG JUMLAH ORANG '     TRIG --> Pin 8 '     ECHO --> Pin 9 '     Hasilnya tampilkan ke LCD '   '------------------------*/ #define ECHOPIN 9                           #define TRIGPIN 8                           #…

Read more »
22Oct2015

penghitung tinggi badan arduinopenghitung tinggi badan arduino

flowchart /*----------------------------------------------------- '      '     PENGHITUNG TINGGI BADAN '     TRIG --> Pin 8 '     ECHO --> Pin 9 '     Hasilnya tampilkan ke LCD ' '------------------------*/ #define ECHOPIN 9                            #define TRIGPIN 8                             #…

Read more »
22Oct2015

Early warning system Banjir via smsEarly warning system Banjir via sms

flowchart /*----------------------------------------------------- '     SMS ERALY WARNING '     TRIG --> Pin 8 '     ECHO --> Pin 9 '     Baud Rate 9600 bps '     Hasilnya tampilkan ke LCD '------------------------*/ #include #include #define ECHOPIN 9                           #define TRIGPIN 8…

Read more »
22Oct2015

alarm parkir mobil dengan arduinoalarm parkir mobil dengan arduino

flowchart alarm parkir mobil dengan arduino /*----------------------------------------------------- '     APLIKASI 2 '     ALARM PARKIR MOBIL '     TRIG --> Pin 8 '     ECHO --> Pin 9 '     BUZZER --> Pin 11 '     Hasilnya tampilkan ke LCD '  dadan ahmad dani '------------------------*/ #define ECH…

Read more »
22Oct2015

ULTRASONIC RANGE METERULTRASONIC RANGE METER

flowchart ULTRASONIC RANGE METER /*----------------------------------------------------- '     APLIKASI 1 '     ULTRASONIC RANGE METER '     TRIG --> Pin 8 '     ECHO --> Pin 9 '     Hasilnya tampilkan ke LCD '   '------------------------*/ #define ECHOPIN 9                           #define TRIG…

Read more »
22Oct2015

program telemetri by requestprogram telemetri by request

//program telemetri by request #include #include LiquidCrystal lcd(2,3, 4, 5, 6, 7); const int rxpin = 8; const int txpin = 9; SoftwareSerial gsm(rxpin, txpin); String inString=""; String inString2=""; String Stemp=""; String inbox=""; String noPengirim=""; char str,f; int adc0,temp,t; int i,j,…

Read more »
22Oct2015

Telemetri : kirim suhu secara continueTelemetri : kirim suhu secara continue

//program telemetri continue #include #include LiquidCrystal lcd(2,3, 4, 5, 6, 7); const int rxpin = 8; const int txpin = 9; SoftwareSerial gsm(rxpin, txpin); String inString=""; char str,f; int adc0,temp,t; void getmodem() {  f=1;  while(f)  {    if(gsm.available())        {        str=gsm.rea…

Read more »
22Oct2015
 
Cyber Code © 2014. All Rights Reserved. Powered by Blogger
Top