package entity type FaceMap map[string]Face func (m FaceMap) Get(name string) Face { if result, ok := m[name]; ok { return result } return UnknownFace } func (m FaceMap) Pointer(name string) *Face { if result, ok := m[name]; ok { return &result } return &UnknownFace } var FaceFixtures = FaceMap{ "known": Face{ ID: "PN6QO5INYTUSAATOFL43LL2ABAV5ACZK", Embedding: "[-0.0036004473650348523,0.0025974890421894504,-0.07213138572887015,-0.013966886307785017,0.029814516754777698,0.018431306065333514,0.04328678683275605,0.10726412649455114,-0.00857895849589533,0.00015031830995419337,-0.11193530266575982,0.00598015213337374,0.031203009035183738,0.03274536227383253,-0.03452776390372318,0.028153505458811914,0.02511448587697563,-0.017625339120966463,-0.005405653335459789,-0.06744733770486135,-0.03306791284650082,0.013698945211835291,-0.0503100641080214,-0.04418265454625754,0.060907711645144816,-0.05617526303948893,0.012771532956195571,0.0037938154085387366,0.08883200678429733,-0.05672764414041005,-0.019006595766328523,-0.024769387680569792,0.012939827451873094,-0.03731050916493861,-0.0068407323938147364,-0.011923546390846682,-0.04378642741443105,0.0029307896098720847,-0.05943630386283123,-0.07916683143242365,0.006690760891798869,-0.013869383519771895,-0.016588667345244723,-0.026077404683579355,0.043508655458277104,0.005469399019900467,0.007684818349324758,-0.028470117873820554,-0.025584215745239447,-0.008796346777722924,0.034374588240420625,-0.05722439097529167,0.02595474286989837,-0.09741574250159424,-0.08874101509994643,0.05448400872561275,-0.0695875416226843,0.00089110309039573,0.025058680116099474,-0.006178110611635321,-0.002518553172310205,-0.029515356724812477,0.0238739332258743,0.06658096272999098,-0.1564555358130475,-0.008709017743519457,0.03209072962681542,0.09870203860711181,0.00829712868100142,-0.03850979283180725,-0.06111498917240463,-0.08450715169436442,0.031164670737776894,0.03517417140466631,0.032740310109355596,-0.02086616181318348,0.02103227980919008,0.030216389475166916,0.04215177653544982,-0.046834672739073296,0.051736667788971555,0.032218563127081344,0.002121754496458415,0.002041610618766947,-0.0566707892715052,-0.004935965613620098,0.02968795934888889,-0.03607260567138157,0.01706607347148768,0.008911252568159344,-0.04437085494035743,0.02887741866023545,0.047028680184721824,0.009376628669207876,0.006072752256530187,0.0219422175503246,-0.053903890459197995,-0.06489891929151383,-0.08391869094066642,-0.05179203606979039,0.07285809277873542,0.02558113279915027,0.06051344190553358,-0.014303868784339865,-0.04292498556227785,-0.005026351165140286,-0.01816321197838741,-0.06294424876160998,-0.004826497104051721,-0.039041059715555985,-0.0301644693828563,0.01106692459938265,0.022480294059897207,0.01464751390616157,0.06461364014912052,-0.02236762078330746,0.023189011715808082,0.03885305028107245,0.033080528702818246,0.00001285121753878129,0.046981317813570095,-0.0016702159097000565,0.010395301706694927,-0.08295656919116964,-0.04776992379782047,-0.010529325155296775,0.06896708110539723,0.02111988148270817,0.01724771201255671,0.03968232354435814,0.01313348610882861,0.02795228553354465,-0.055715937249157146,-0.05810640994048216,0.0273865702239438,-0.03675697001529427,0.060719245735121316,-0.0029605221957433887,0.03700371422975787,0.033265011460953356,-0.022711288283865302,0.018561041079731003,-0.0009519883658811396,-0.0557399686727075,0.042858141552412105,-0.010269456726116837,0.01543971107085874,-0.026913187896864803,0.018680346484106845,-0.041249091559245776,0.004018278052457904,-0.04467486527495029,0.0038033853908202957,-0.05159326913940392,0.05314557955282533,-0.030726907521850255,-0.016873368996188465,-0.040995730193690155,0.014146163901674362,0.037674964619028306,-0.0019396781055547939,-0.009656225949734084,0.05842872642415417,-0.07984459472221411,0.018104734634538072,-0.02594236794143055,0.018071964682251675,0.03189645129467926,-0.03132505070456775,0.04753412842028051,0.0028851178568010177,0.04919917741172658,0.04425330037715131,0.013048802303167068,0.017553924188213037,0.017184774244905755,0.017694107605014164,0.01900943230721036,0.013006298425476818,0.007991981428663135,0.020653843554381622,0.028604389142831158,-0.0558899433906232,-0.020575997776454975,0.032021313901190056,0.014680564139766645,-0.023215720423765886,-0.06956375406837889,0.019167613789316224,0.012806918063201653,0.023051841888119755,0.006344150170007088,0.016793924449806326,-0.0015901029991245933,0.11541304744300304,0.008490905664388265,-0.02111705040832189,0.015200396027963246,-0.02022894548678933,-0.05644130960843369,-0.020416456669673094,-0.04054655696312184,0.057294655697758344,-0.022494815048076905,-0.05348146313283801,-0.031503566623374724,0.04455201005706916,0.050487209286079665,0.06117921930967449,-0.012811073400278802,0.007173322864231495,0.02252453242836209,-0.053476781986407575,0.04486559536321849,0.0588563162324822,0.027757964579455584,-0.10628211982266311,0.01796179288467835,-0.05271611854751204,-0.0036178115159920554,0.031380512417633594,0.1107355554599827,-0.06766064772874389,0.05355654701730674,-0.009433000717901242,0.0049141276242125696,-0.017326325608640836,-0.0289562681196242,-0.007276098492934521,0.020522926413579032,-0.07334085196085184,-0.07792285607931726,0.021155474057232636,-0.06006272825875489,-0.08952926012540577,0.05409410286122101,0.018816377655961704,-0.11461915291165185,0.034645482214502914,0.006198547430390142,-0.0015312882141509678,-0.012935587150774842,-0.038839880175748576,-0.07850867132957551,0.005482851420221088,-0.012002689273305608,0.005734531297012452,-0.0710902004143211,-0.0058732926325589865,0.019984983842651682,-0.046559187845156794,0.03815592468614666,-0.059033362992005824,0.01070834842071172,-0.052018064295517794,-0.029386908746905666,0.03734313890587148,0.0032957815200115445,-0.06025080689491662,0.006614020689310411,-0.017755138659265177,0.06087458895077921,-0.03429711719222492,-0.023242182767038932,0.040350035855526295,-0.014725474116707292,0.04640075255319653,-0.039812531877166504,0.04683186514722028,0.0097868831860769,-0.045097374798952705,-0.0235818731230794,0.03645471357108127,-0.034116597728001304,-0.009882070320119452,-0.03688496254964554,0.02567396830214243,-0.025184745161792404,0.01501936406906128,0.003072501829361882,-0.008059166463789779,0.04675115133367905,0.01754560806340869,-0.049350385228964413,0.019449660557247596,0.07673649136488205,-0.003981199139030899,0.032650319246697826,-0.012667711782428048,-0.06498661299767636,-0.01747588386415459,-0.00018187034091197247,-0.022575646145454348,-0.03739740241953664,-0.01315166347587197,0.02564072432440876,0.05887858886570027,0.03692289696601128,0.044164223901677145,0.014142232291812683,0.04228217711934427,-0.020533489949376076,0.03584353912820894,-0.030377609060349926,-0.05723734071656705,0.025009441128725843,-0.0025294142104106436,-0.12164999604681762,-0.0016585656813084063,0.019467604800844352,-0.04735478111192799,0.012862669260085023,-0.0402236560201865,0.0020026187200068452,-0.0011507056560303441,-0.10327165932960905,-0.004433127169876001,0.030858075144787965,0.024018251224505897,-0.03612917234137811,0.03762823378537297,-0.03400725129541041,-0.03663566865685039,-0.07539058359267596,0.046486227377713296,-0.03281168180909093,-0.0007459221707552576,-0.024837782156002543,-0.01854391384781398,-0.06219979119973407,-0.021340840413547273,0.03817379134896056,0.004845715701331495,-0.01977889336906083,-0.05940260501862141,-0.031222339892040797,0.046297411180069165,-0.05611573876084336,0.006468100140367399,0.012918490215442354,0.014283682897421079,0.03096428301353452,0.06067226790311839,-0.010714821606764553,-0.015734207918052592,-0.004837895623796099,-0.02393643540466555,0.014305303020339302,-0.03466250697325117,0.02354038391663727,0.05546752255086569,-0.015566701380647965,-0.02041699703843869,-0.015004425854852845,-0.055101927506948534,-0.0514758446996408,0.040905082418881106,0.024598711292126423,-0.03730289860441173,-0.07265727132794753,0.023665259323470213,-0.043037220783320985,0.009382630072933577,0.07569931347110773,-0.0029868394651839424,0.014258429939138412,0.0680087961522634,0.004924824304628415,0.01402580129680268,-0.036238067897289276,-0.0036745437364638454,0.004278646499678982,0.026556027790884028,0.017213260448737396,-0.01375981497139717,-0.006440248113788707,-0.06294469447745263,0.014030296879483648,-0.061486227830699444,-0.008727535999976496,-0.06472537037143361,0.03523099176526356,0.01315310018578714,0.019383346327778203,-0.0003644589726457016,-0.02352914031091935,-0.03622133314928383,0.03024098487288095,-0.045173188444493195,-0.10941096754138809,0.02001844537172766,-0.014882729492400444,-0.0490570328329859,-0.04739862738730481,-0.02400583897984344,0.03435077516020758,0.04677399860156411,0.01627831865134647,0.06507593916106526,0.05128539856452102,-0.09179741318245119,0.023726721866924864,-0.054170880589317544,0.04892371965615842,-0.008838026321384704,0.029187822690864146,0.012475108434088358,0.032795358715525795,0.08765824942755082,-0.01601519638418788,0.006870966429990348,0.05151266081547204,-0.007173185251909221,-0.015631193935178887,-0.0015689333364050516,0.017476260455646576,0.0013757903436937401,0.03652813840170456,0.009817398596697611,-0.029807900983065717,-0.04471337003763974,0.026383363115856234,0.04935315686582238,-0.022792922887921726,-0.03210642904198954,-0.030316166489590454,-0.028585958782231205,-0.020297534631122646,-0.04582541567578649,-0.03213574700584767,-0.04340405332351637,-0.07145665448262092,-0.02764159326602102,-0.0031200774763644854,0.009689029734730152,-0.007089989967280068,0.015487758555492413,0.009222208424464442,0.08468651837435023,-0.012460378022301493,-0.01488328244639148,-0.046563959726552424,0.021220269186467532,-0.0502449049575561,-0.02702249604144803,0.04354930441248814,-0.0171915025362904,0.03263507175953584,0.049291826836174474,-0.04704080528467188,0.0034250791942185177,-0.030689597261470192,0.00045203955226935655,-0.03105952029005202,-0.0348330082086986,-0.018396029654337828,0.013982492893134791,-0.0074592954599179626,-0.04743005585085675,0.03202478380750067,0.01057611523921428,0.003787778333591299,0.04793830285184675,0.008569010174053234,0.05109882896169876,0.033781179316205785,-0.008423113157914998,-0.04239773736851733,-0.03250716553499282,-0.02580922039044622,-0.029049069416885124,-0.05041934939510702,0.0032322165767295894,0.0688907836205172,-0.016744072245545076,0.04401880042725847,0.06724948754689555,0.03087188456541863,0.04475617271386395,-0.002226753932240583,0.03705235050741862,-0.041344960712860285,-0.08271030886288969,-0.03301213839977942,0.014065278476732002,-0.020181908348983986,-0.07789001434871456,-0.07816900083952191,0.024435954878580485,0.07078482448641094,-0.04979468475974676,-0.05283809568061397,0.03199034930573927,-0.08934844802363817,-0.003034349764351493,-0.06854328968086407,0.025628732413070662,-0.046057751486206736,-0.016825241635785956,-0.004831124119570643,0.020831317536308964,-0.04596053983677707,0.020610795786610327,-0.06673226857916964,0.011149419504345523,0.049192794106642304,0.030024914695912258,-0.0016797530175289644,0.006935671173404921,-0.05496567163392324,-0.04219480328103549,0.010972975954975702]", PersonUID: "rqu0xs11qekk9jx8", CreatedAt: Timestamp(), UpdatedAt: Timestamp(), DeletedAt: nil, }, "unknown": Face{ ID: "IW2P73ISBCUFPIAWSIOZKRDCHHFHC35S", Embedding: "[-0.022496677579582215,0.035567367743692783,0.07768714714541473,-0.024945000860870363,0.030828805857681274,-0.01693104979570816,-0.04875652166086578,-0.021799255903726958,0.03922625390071869,0.038597711802490234,0.029680879044233704,-0.0014995683515270242,0.02370395886912384,0.012298511635467529,-0.011153248595230866,-0.004703174076201783,-0.0058441524345619195,0.0121467273272995,-0.011750088146634752,0.007663392247307586,0.0033583090668476865,0.04736641875738144,0.0720052817664261,-0.010235987882936094,-0.060413632866550444,0.03797902367163086,0.029624240715176393,-0.007726394502581023,0.023027080619498826,-0.004110434488621521,-0.04839350704872207,0.017993521105184936,0.0017007888007423404,-0.028835229342066955,0.009028906026785279,0.0024176102542343147,0.02169313806382828,0.01257592942271042,0.003211545438947373,-0.03264268670733643,-0.024622041092111968,0.006587380071188352,0.03442832000200806,0.058389811234378045,-0.04366462490420113,-0.0021702135339711,0.0011912204749256281,0.04230056141517792,-0.05162670325854492,0.020825025449315644,-0.033760298540503844,0.049420791136763766,0.016374290663905333,-0.00494668725274887,0.0207835526445401,0.02019750676385498,0.05112708409527931,-0.005386489172502136,-0.021796540441215137,0.020010080689944917,0.021335065354180907,-0.045023495205117794,-0.020347282762886505,-0.020541580573170473,0.010568246072303467,-0.05393726609652328,-0.10147803167987823,0.052183769407614135,-0.002381978284823609,0.03976606263284302,0.024586818564183804,0.03297582942961502,0.030000030976856232,-0.05005467654070511,0.02762888505870056,-0.03562164067453384,-0.05890901402814179,-0.0005290178944732668,-0.059088693759897615,-0.038578507775110626,-0.036801137763594054,-0.06683414654011308,-0.002152089905087586,-0.03382589345244205,-0.05526335011302948,-0.03284626237114868,-0.03597692033147812,0.002804868425481415,-0.016954549922741546,0.021594264673625185,0.0085838293324852,-0.006060113906183623,0.004600930358525084,0.020020871859327546,-0.05014669611194611,-0.044564205792665096,0.0135703529227417,0.02281465818463898,0.004023515147372436,-0.028594471913179015,-0.009483616916906738,0.026035977458236693,-0.03603783482624054,0.031628168594198605,0.0062018801403614775,-0.0183695618240654,-0.03235861031417847,-0.0024822087288140122,0.004788866998783112,0.021977990230247494,-0.007491315413535612,0.021506047256435394,-0.029249453418460847,0.0373397523212204,0.01085345583951065,0.03794099645187378,0.004716101070934295,0.03700470844623947,0.021622683058604736,-0.06902576927136002,0.07506316177490997,-0.004850261171823883,-0.014799526152019502,-0.02008093931021729,0.04140293938249588,0.02669623265576935,0.0004361748523136139,0.044338197089296906,0.005969945101598661,0.016253966374864197,-0.03789573098792724,0.019522963534627534,0.005512493915485382,0.021260389884998322,-0.024131564161605834,-0.0004240035348815922,-0.07936755698294831,-0.0024502311294784546,-0.041033922565155034,-0.000060871354707718595,-0.05117737712670288,-0.012333926330509186,-0.00332147351407318,-0.027831669102733617,-0.026231161609502795,0.04183922611410637,0.07129664018656845,-0.04533216452241516,0.0029880654502528374,0.007813772060280607,0.021728266176545715,0.006760357625381469,0.0009104323310457595,-0.008829625505519868,0.003427816720289611,0.030458969364133302,-0.07722279351830291,0.03331324758593139,0.029070102618891147,-0.02204155251153946,0.003238302410951996,-0.021406765139665985,-0.03671740642847633,0.02114884221661186,0.0040460562141693135,-0.040385980128547286,0.04725066640673431,-0.0374128344408136,-0.022368990202178196,-0.009008882119773864,0.05392042330630875,-0.04563896874513481,-0.00766877351221466,0.00971878639161949,0.007459929235227204,-0.044855803669644166,0.0013741937022499094,0.023200710085639953,-0.015990735422795103,0.010374560735560229,0.018510297555042268,0.028602813306422423,-0.03061955150315094,-0.07005298911458588,0.03077560074464035,-0.002753337030379487,-0.004010242710720825,0.022612441529040527,-0.04629517134167099,-0.041590199345787046,0.026599560761388398,0.03707417881679291,-0.021378445456516265,-0.03597090006681442,-0.00969712816937027,-0.027577615293605043,-0.05833841854168167,-0.03072493819743271,0.0050373147571121215,0.0016172061660156244,0.00657211993619156,0.012618637478130341,-0.03547814578644562,-0.03702023484696198,-0.05977797099470291,0.04369803059627686,0.004789309887178612,-0.07873516990440368,-0.003555300427357484,-0.04046846450492142,0.011735683690818025,-0.0003566749481048589,0.021076229500078356,0.009006097196503448,0.04113959458264542,-0.015041777043086091,0.0531203545941124,-0.01578347355377182,0.023937478424657058,0.006187181878807527,-0.014937250359820554,-0.002810314767561721,0.019975474548824694,-0.054770034115337374,0.03025025762649155,0.007352198023348999,-0.049124548745241546,0.04305057438280487,0.06698802691022492,0.03346735027451171,-0.019238589819561003,-0.01649889074094391,0.014028128471870422,0.04564665355496872,0.0184804285933678,-0.002744334587730407,-0.010273888603200684,-0.01922299708359375,0.026892043517650226,0.03170070541025162,-0.0245292863620047,-0.02638481294195175,-0.0002959278582409671,-0.014339572738032607,-0.008529441578802872,0.024980759802469638,-0.028119923381947326,0.009614727607544709,0.03747631527212906,-0.004597648637360381,0.0374653568971611,-0.04783555007563782,-0.007926506971787643,-0.011388984549253196,0.014416502897079467,0.007198209353194123,-0.0005077515758941647,0.028116463550966645,-0.005913051682814025,-0.025921168530715945,-0.011691423761466601,-0.044408621254133605,-0.01621142899567108,0.0665130688460775,-0.016613017263626406,-0.07548192320592498,-0.016938768476538087,-0.06065230174066017,-0.0006850318739280697,0.06705765117821885,0.0730620305298462,0.04770386343405914,0.043325856537734984,0.013836523857499693,-0.005216229218384552,0.030411991798619843,0.014488831162431336,0.06824805727661133,0.017435918869661865,-0.015714209836971284,0.01124071136572647,-0.0023845092683537294,0.015907673896978378,-0.013872773159533693,-0.041489826767816165,0.0009102189041661826,0.0073369255876010895,-0.03498333231168213,0.007832985843056183,-0.04286931056221771,-0.027821098354357147,0.01606927052058533,-0.036176668901213835,0.0344483758119545,0.00020104992113952665,-0.038701523601600646,-0.0072673838663047784,-0.032149644383876796,-0.012731409129804229,0.010140024666960935,-0.008858710076253891,0.045775368624340056,-0.017790618530253603,0.013458928798542023,0.027173876788818357,-0.053255771583169555,0.052977218173607635,0.009676462366291046,-0.053503727196472166,-0.005536318100865936,0.04340050380373382,-0.026706832339901274,-0.0765886345996666,0.006274300160813902,0.06289257847719956,0.009799384419562913,0.04379241244143524,-0.010899701160931394,0.0004941265390609738,-0.018628214017222595,-0.006883580056977843,0.008448511157234193,-0.021292174124312283,0.04948000041073608,-0.028555745408152772,0.04517785497112656,0.004179216101730345,0.03448539851515808,0.03363980868060799,-0.05291894275233841,0.01636349340347366,-0.08388423806166076,0.035156453420481876,-0.02571523341384964,-0.015327787606689453,0.020201201913506318,0.014595552806243514,0.0027066112030661015,-0.014661003365171815,-0.008835142905037688,-0.04742289611523499,0.012711896037236022,-0.004878970252145384,0.05041761873673706,0.05430673132266617,0.00625318445843048,-0.047990322040107725,0.02386981338394089,0.03569794695744965,0.011048194993988037,-0.004233619661971282,-0.02319105008191681,-0.027820739272108458,0.020398102233291623,-0.025880849006523515,-0.011393565503624725,-0.01890427601070175,0.010343716541981508,-0.027199543731011657,0.026597514156730645,0.04709635613130875,-0.020306064298992614,-0.04800408037713241,0.0011760288921501168,-0.010090897282501222,-0.03611765903675217,-0.01776780454987335,0.01710659854087944,0.027713745182874602,-0.007023772476021576,-0.014853390423950959,0.020887629130146024,-0.018529694570870975,-0.02578668974297943,0.03318955494028091,-0.013082938098194124,0.0005828651789222712,-0.05895883312152481,-0.019040486901840972,-0.011113044430489348,-0.003005241088158417,0.008538269133605194,0.04083971132695008,-0.010908063455328978,0.00028606660071487343,0.0007120473191497799,-0.03027571328729721,0.013639301075394822,0.009425621224723816,-0.04887504403710938,0.04772100021364517,-0.004924905305961609,-0.0067134681232543965,0.015284969742810135,0.012571685640028002,-0.06317397296579437,0.06873877860186005,0.008519579233435059,-0.030236742636203767,-0.014101244519378777,-0.0002475376877589409,0.03999101239507675,0.039809417907043454,-0.001732710975817871,-0.005174437445240402,-0.054739012868241885,-0.02114407115020294,0.03402039207082062,-0.015247587194156647,0.09007425773225403,0.000990000265287322,0.08073184078073883,-0.06141233103760223,0.08735361724900817,0.01787864139345932,-0.023275064439453888,-0.061931038697888185,0.006075214954071044,0.02822075668671875,-0.016881248989297486,0.0019945746235046375,-0.020594812321131056,-0.01646607773760681,-0.04536432984117432,0.0011554051165779114,0.01239486657064438,0.003967008253937528,-0.06689408426666413,-0.023405698302723387,0.039036924471380616,-0.015819733916767123,0.027111997850747374,-0.006640104052537918,0.03862898109082947,-0.01581240366934662,-0.016807064808478545,0.02836197735144729,-0.02341945503343086,0.0020306057367534634,-0.0029373544003402706,0.046345225998477325,0.04758446303196106,-0.0021313744907135008,-0.10738851814449692,-0.04295736272109985,-0.015220242995754241,-0.05457905647270203,-0.029829889819198607,-0.004113388790586852,-0.0022202739850199884,-0.015950955554119108,0.058442659204780575,0.0051832671740342715,0.04088934446297272,0.022191409740448764,0.01815475849301979,-0.032616429004646605,0.011524749151536179,-0.001316254586801147,-0.007413256709843446,0.035921419657073975,-0.01968324890238953,-0.009998094745361327,0.00847379508627739,0.014084155491920474,0.0025612329169120793,0.009031664070541687,-0.012056614775928497,-0.016437475617230225,-0.028482997503614656,-0.005153262064144898,-0.028514844650030517,0.02913645216420479,-0.04540480477163696,-0.006906539719710235,0.0365167162979126,0.04858227350725479,0.025225164304163362,-0.08169843390428924,-0.03644245039658203,0.008552399160522653,0.03633786514610672,0.019974639910690307,-0.046802106108820955,-0.007258872611276742,0.033621467794377136,0.0272375258329105,0.005636564369125364,-0.04390962167891998,-0.04606760324999374,0.0045985251078639235,-0.02060488909542694,-0.027070327476425172,-0.04031699869952698,0.03437729272520065,0.024199313048913956,-0.07444972444805908,0.030081437952426147,-0.04125725905491791,-0.009979555902414703,-0.05313482833483887,-0.0019848701622909547,0.03856760976168794,-0.005978847155119706,0.05137094136760101,0.0049636490740982055,-0.011781169882552338,-0.03448624278553772,0.016393775635154727,0.007890467931677247,-0.0009110490399475099,-0.03720887474542846]", PersonUID: "", CreatedAt: Timestamp(), UpdatedAt: Timestamp(), DeletedAt: nil, }, } // CreateFaceFixtures inserts known entities into the database for testing. func CreateFaceFixtures() { for _, entity := range FaceFixtures { Db().Create(&entity) } }