So I canactuallyjustsaythatandthencomeovertoourscripthere.
Let's justrunthatrealquickimagesigns.
Uh, capital, Why?
Weneed a lowercasethatwhyandsaveandrunagain.
Cool.
So I almostdon't wanttobreakexcitedlyVehiclecleanedup, SoYeah, So, asyoucansee, thathasthesethesmethodsthatarebuiltinumsoallthese, like, Dundermethodsyoucanjustignore, butthere's a convertfieldofview.
I guessmaybewecouldhavenoideawhatwhatfieldofyouwoulddo, becausethisisafterthefactthatwetooktheimagewehaveframednumberheightwithontherawdata.
I figured, Hey, I'lllookintorawdata.
That's probablywhat I wantsavedtwodisc, whichagain?
I didn't reallywantthat.
Thatwasonethingthatwaskindofhardintheirdocks.
EsoCarla, people, ifyou'relisteninghonestly, I wouldthinkmostpeopletheirgoalisactuallyjusttoaccessthatdadalive, notsaveittoanimageandthenaccessthatimageThatdoesn't makeanysensetome.
Why, thatwouldbethedefaultthatyoushowedotherwise.
I likealltheotherstuffthatyouguysdid a greatjob.
So, umyeah, butanyways, rawdataiswhatyoureallywant.
So, fortheentireheight, hisphoneiskillingmetheentireheight, theentirewithandtheninsideaftertheheightandthewidth.
Whatdowehave?
Whatwe'vegotour G B A values.
I justwantthe 1st 3 Sothe 1st 3 orrgbvaluessokindofniftywaytooquickly.
JustgrabRGB.
It's quiteit's veryfast.
ThereisanopenCVmethodtodothisexactthing.
WhichremindsmeweactuallyneedopenCV.
So I'm gonnaimportCVtoforCVtoyoudon't havenonepieoropenTV B t dubsJustdo a pipinstallYoucan't seethat.
Ah, PipInstallopen C v dashpythonandsomebodycool.
EasynowandthenyoujustimportCVtoSocomingbackdownhere, thenextthingthatwewanttodoisanyway, what I startedtosay, I'm notsure, butfinishedThereis a functionalityandopenCVthatconverts.
I don't knowwhatitdoesandwhyit's slower, butitisfascinating, rivetinginformation.
Themore.
Youknow, uh, nowwe'rejustgonnashowit.
Sowe'regonnagivethetitleNothing.
Justempty.
Andwe'rejustgonnashow I threecvtodotWait, keycamelcasedDon't messthatuponemillisecond, andthenwe'regonnareturn I threedividedby 2 55 Soherewillactuallyget a representationofwhatthecameraseesandthenreturningit.
We'rejustgonnaWe'rejustgonnanormalizethisdatabefore I forgettodoitlateron.
Anytimewe'reworkingwithimagerydata, passingitthrough a neuralnetwork.
Um, generally, neuralnetworkspreferinformationtobebetweenzeroandoneor a negativeoneandpositiveoneorsomethinglikethat.
Sovaluesof 022 55 arekindofsillyto a neuralnetwork s o.