This OpenCV tutorial is a very simple code example of GPU Cuda optical flow in OpenCV written in c++. The configuration of the project, code, and explanation are included for farneback Optical Flow method. Farneback algorithm is a dense method that is used to process all the pixels in the given image. The dense methods are slower but more accurate as all the pixels of the image are processed. In the following example, I am displaying just a few pixes based on a grid. I am not displaying all the pixes. In the opposite to dense method the sparse method like Lucas Kanade using just a selected subset of pixels. They are faster. Both methods have specific applications. Lucas-Kanade is widely used in tracking. The farneback can be used for the analysis of more complex movement in image scene and furder segmentation based on these changes. As dense methods are slightly slower, the GPU and Cuda implementation can lead to great performance improvements to calculate optical flow for all pixels o
People detection by Cascade Classifier Opencv
The comparison of Opencv Cascade for people detections. Default opencv cascades are good one. You can simply achive better result but you need to collect the training data. On my blog you can find the datasets for car detection. There is more than 2000 positives car samples available for you and test to learn your own detector..
Here in this article, I just want to show my cascade compare to cascade which are default in opencv.
LBP cascade for people detection
Also I recently publish LBP cascade for people detection. You can download 12 stage LBP cascade LBP cascade for download. There is couple or maybe more than 3 tutorials how to use detect multiscale in opencv. Just download the LBP cascade and enjoy coding in Opencv..
Haar Cascade Classifier for People detection
In this short tutorial, I would like to test some standard haar cascade in opencv
3.1.
My first note is where you can find this cascades.
When you download opencv for windows this cascades are located in opencv/sources/data/haarcascades
In the picture i use these types of cascades.
haarcascade_fullbody.xml
haarcascade_upperbody.xml
haarcascade_lowerbody.xml
Visually, i can rate the cascade as rly great for fullbody an lowerbody. The upperbody cascade has trouble with my source video. Which is not its fault.
Own haar like cascade
Also, I am testing some of mine own haar cascade, which are learned by different methods like gentle boost, adaboost, etc.
Red and blue are the cascades for people detection. White is haar cascade for head detection. Check the video for results.
Video of mine haar cascade.
Red and blue are the cascades for people detection. White is haar cascade for head detection. Check the video for results.
Video of mine haar cascade.
sample code and haar templates would be very useful, if you can disclose them and release them as open source. I would undoubtedly cite you as the author of the templates.
ReplyDeleteCode is rly simple. I will release code later today or tomorrow . Give me a time to add some recommendation, info and code description.
Deleteyes,but i want to konw,can the code be used to opencv 2.4?
ReplyDeleteyes,but i want to konw,can the code be used to opencv 2.4?
ReplyDeleteI hope, that the Opencv 2.4.9-2.4.11 is not problem. In some windows version of opencv 2.4.9-3.1 there is some problems.The first is 2.4.8-9 have wrong size of cascades in xml file. Also on windows, You can use debug and release. In debug mode the detect multiscale return wrong output as to many rectangles out of image boundary. In release mode there is no problem. I dont know why. On linux this is fixed.
DeleteCode is rly simple. I will release code later today or tomorrow . Give me a time to add some recommendation, info and code description. I hope, that the Opencv 2.4.9-2.4.11 is not problem . I am start with opencv 2.4.9 and 3.0.0 and now I am working only with 3.1. I would like to write another article how to train your own cascade. There are some tutorials but this is rly tricky part. You need a little bit experience with training.
ReplyDeleteWould love to work with the code please. thank you.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteWould like to try out your Code by myself.
ReplyDeleteCode is in my new post..
ReplyDeleteThat is amazing
ReplyDeletegoldenslot
สล็อตออนไลน์
บาคาร่า
Great post, enjoyed reading it!
ReplyDeleteคาสิโนออนไลน์
maxbet
m8bet
This comment has been removed by the author.
ReplyDeletemaxbet
ReplyDeletemaxbet
ทางเข้า maxbet
ทางเข้า maxbet
เว็บไซด์ยอดนิยมอันดับหนึ่งของประเทศไทย มีกีฬาหลากหลายชนิดให้ร่วมสนุก เช่น ฟุตบอล เทนนิส บาสเกตบอล ชกมวย เบสบอล เป็นต้น ร่วมลุ้นร่วมสนุกได้ทุกวัน เพียงเข้าไปที่
ReplyDeleteจีคลับ
จีคลับ
Great post. This article is really very interesting and enjoyable.
ReplyDeleteไฮโล
ฟิลเลอร์คืออะไร?
ReplyDeleteสารเติมเต็มผิวหรือที่เรียกทางการแพทย์ว่า เดอร์มอล ฟิลเลอร์ คือ สารไฮยารูโรนิก แอชิด หรือ HA เป็นสารที่รับรองมาตรฐานความปลอดภัยทั่วโลกแล้ว เป็นสารสกัดจากธรรมชาติที่มีองค์ประกอบของคลอลาเจน มีโครงสร้างประกอบกันเป็นร่างแหด้วยวิธีการทางเคมี ซึ่งมีอยู่แล้วในเซลล์ผิว มีความปลอดภัยสูง
ฉีดฟิลเลอร์หน้าผาก
ฉีดฟิลเลอร์จมูก
ฉีดฟิลเลอร์ปาก
ฉีดฟิลเลอร์ ที่ไหนดี
Excellent blog I visit this blog it's really awesome. The important thing is that in this blog content written clearly and understandable. The content of information is very informative.
ReplyDeleteOracle Fusion HCM Online Training
Oracle Fusion SCM Online Training
Oracle Fusion Financials Online Training
Big Data and Hadoop Training In Hyderabad
oracle fusion financials classroom training
Workday HCM Online Training
Oracle Fusion HCM Classroom Training
Workday HCM Online Training
วัดอรุณราชวรารามราชวรมหาวิหาร หรือวัดแจ้ง เป็นวัดโบราณสร้างในยุคอยุธยา พระปรางค์วัดย่ำรุ่งฯ นับเป็นเยี่ยมในเครื่องหมายของกรุงเทพมหานคร ที่รู้จักกันทั่วทั้งโลก ดังนั้นถ้าหากมาถึงจ.กรุงเทพฯ แล้วไม่แวะมาดูความสวยของพระปรางค์วัดย่ำรุ่งฯ บอกได้เลยว่า คุณมาไม่ถึงจ.กรุงเทพฯ จ้ะ !
ReplyDeleteบริษัทรถเช่า
รถเช่าสุวรรณภูมิ
รถเช่าระหว่างซ่อม
รถเช่าไม่ใช้บัตรเครดิต
เช่ารถเก๋ง
รถรับส่งสนามบิน
สมัคร จีคลับ
ReplyDeleteสมัคร บาคาร่า
สมัคร gclub
Thanks for sharing.
ReplyDeleteสูตรบาคาร่า
sbobet
ReplyDeleteบาคาร่าออนไลน์
nova88
ibcbet
maxbet
nice
ReplyDelete