Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

PyCon 2012: Militarizing Your Backyard: Computer Vision and the Squirrel Hordes

122.871 visualizaciones

Publicado el

Publicado en: Deportes, Tecnología
  • Dating for everyone is here: ❤❤❤ http://bit.ly/39sFWPG ❤❤❤
       Responder 
    ¿Estás seguro?    No
    Tu mensaje aparecerá aquí
  • Sex in your area is here: ❤❤❤ http://bit.ly/39sFWPG ❤❤❤
       Responder 
    ¿Estás seguro?    No
    Tu mensaje aparecerá aquí
  • Dating direct: ❶❶❶ http://bit.ly/2LaDVgK ❶❶❶
       Responder 
    ¿Estás seguro?    No
    Tu mensaje aparecerá aquí
  • Follow the link, new dating source: ♥♥♥ http://bit.ly/2LaDVgK ♥♥♥
       Responder 
    ¿Estás seguro?    No
    Tu mensaje aparecerá aquí
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Responder 
    ¿Estás seguro?    No
    Tu mensaje aparecerá aquí

PyCon 2012: Militarizing Your Backyard: Computer Vision and the Squirrel Hordes

  1. Militarizing Your Backyard With Python:Computer Vision and the Squirrel Hordes Kurt Grandis PyCon 2012
  2. Overview● Background & Goals● OpenCV ○ Working with Python● Detecting Squirrels ○ SVMs ○ Squirrely features● Shooting Squirrels● Wet Squirrels● Next Steps
  3. The Great Backyard Bird Counthttp://www.birdsource.org/gbbc/
  4. Squirrels...
  5. Sentry Water Gun http://wiki.teamfortress.com/wiki/Sentry_Gun
  6. SystemSensor (Camera) Blob Detection Targeting Shoot the Squirrel Squirrel Detection
  7. OpenCVOpen Source Computer Vision● Image Processing● Video Analysis● Feature Detectors● Object DetectionC, C++, Python Interfaceshttp://opencv.willowgarage.com/wiki/http://code.opencv.org
  8. Python & OpenCV● Support for native Python structures● Works with numpy● Efficient data sharing
  9. Sensor : Webcam
  10. OpenCV import cv cv.NamedWindow("camera raw", 1) capture = cv.CreateCameraCapture(0) img = cv.QueryFrame(capture) cv.ShowImage("camera raw", img) # Convert to Gray Scale gray = cv.CreateImage(cv.GetSize(img), cv.IPL_DEPTH_8U, 1) cv.CvtColor(img, gray, cv.CV_BGR2GRAY) # Canny Edge Filter cv.Canny(gray, edges, 50, 200, 3)
  11. Blob DetectionHow do I find regions of interest (i.e. Blobs)?● Birds● Squirrels● Neighbor ChildrencvBlobsLib http://opencv.willowgarage.com/wiki/cvBlobsLibcvFindContours (OpenCV function)
  12. Background SubtractionForeground SegmentationNoisy BackgroundCodebook Approach
  13. Squirrel Detection
  14. Support Vector Machines (SVMs)Supervised Learning from svm import * ...Classification c = my_trained_model.predict(vector)Featureslibsvm http://www.csie.ntu.edu.tw/~cjlin/libsvm/
  15. Squirrely FeaturesWhat is squirrel-ness?● blob size● histogram analysis of blob● entropy of blob (texture)
  16. Blob Size
  17. Color Histogram
  18. Entropy Measure of randomness Calculate entropy for regions of the blob ● Overall Entropy ● Stdev Entropy ● Left Mean Entropy - Right Mean Entropy h_prob = [ h / histo_sum for h in histogram ] entropy = -sum( [p * math.log(p) for p in h_prob if p != 0] )
  19. SVM & Classifing Blobs● blob size● color histograms● entropy of blob (texture) Classify!
  20. Shoot the Squirrel
  21. The Gun
  22. The Turret
  23. Python and ArduinoArduino Unopyserial import serial arduino = serial.Serial(device, BAUD_RATE) arduino.write("a")Project Sentry Gunhttps://sites.google.com/site/projectsentrygun/Python-On-A-Chiphttp://code.google.com/p/python-on-a-chip/
  24. Results● Squirrels get wet● False positives extremely low● More satisfying if it camps the feeder● Need stronger firepower● Need larger water reservoir● Squirrels are extremely persistent...no really
  25. Next Steps● Better Optics● Stronger Firepower ○ Laminar water jet ○ Pressurized water pump● Python-On-A-Chip● Bird Classifier & Counter
  26. Questions?kgrandis@gmail.com@kgrandishttp://kurtgrandis.com/no animals were harmed in the development ofthis project. Bird seed and other snacks wereprovided to all participants free of charge.

×