photoprism/internal/entity/face_fixtures.go

122 lines
68 KiB
Go
Raw Normal View History

package entity
// UnknownFace can be used as a placeholder for unknown faces.
var UnknownFace = Face{
ID: UnknownID,
FaceSrc: SrcDefault,
MatchedAt: TimePointer(),
SubjUID: "",
EmbeddingJSON: []byte{},
}
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{
"john-doe": Face{
ID: "PN6QO5INYTUSAATOFL43LL2ABAV5ACZK",
EmbeddingJSON: []byte("[-0.015105677000169373,-0.0005582744874266051,0.0480268501406662,-0.03601115760977173,0.0005837739331054689,0.014168089953522492,-0.03945336629091645,-0.02582770810183487,0.020898761370506287,0.049166841007919314,0.021960500727076723,-0.019064476425213243,0.02198730232398834,0.0006670523258575441,0.03028046368291855,0.00649638007861023,-0.01584042613295212,0.00530397326763153,-0.06404373233350608,0.03889477750802231,-0.0365899261901268,0.0360787547656456,0.07579429823342132,0.039115246617597965,-0.0777424514863777,0.035950400633987425,-0.01904672616637268,0.031240118709612276,-0.01142303718094612,0.021169409966093445,-0.04066713893357315,0.048964979162612915,-0.016256413336937715,-0.02378354035888214,-0.020449917192553707,-0.02040227800516968,0.06541690078029251,0.016761249534914705,0.03380005035063598,-0.10038679582336427,0.043679719882033535,0.03128701222455444,0.012390233834701538,0.05524386205410767,0.021537026348385238,-0.016655772903281404,0.007295974349593354,-0.000005785312992858532,-0.047790829845092773,0.017440576051146697,-0.06534523391118621,0.06609203363401413,0.03238222320728302,0.006614993631034087,-0.054927458582173155,0.030833110256991578,-0.0056855157837505345,-0.007370784518985901,0.0013351148462055202,0.047366844577483365,0.04135019693103943,-0.02510304556774292,-0.05305447016115189,-0.03180977055114746,0.012452435193779296,-0.031038226814250947,-0.06159064720963287,0.057565623878417974,0.006987256155133055,0.10980759767712402,0.0014624758511650082,0.04941792959784012,0.02249399537556839,-0.007318808567618561,0.011643714617645264,-0.033996864613095854,-0.10756568994960479,-0.008790611639031982,-0.06265860528228379,-0.03834362793397904,-0.007061803256170654,-0.02360514984864273,-0.030340688408576965,-0.006711280069554138,-0.026063804222563172,-0.06257436487065124,-0.03489222804085922,0.023775160926244356,-0.05953325934691238,-0.0015599671627334586,0.04257923482005539,-0.02072714042014847,0.042186514202873227,0.03334131403590164,-0.04231802868860626,-0.03938228046069336,0.04991599600813751,0.005012853217630309,0.02852926982268677,-0.04592934168044281,-0.0446876756071167,0.05780069138760376,-0.06523845092017364,0.03691154157677917,0.0048527119732078555,-0.008498008999919891,-0.06625776342607116,0.013960302090915604,-0.029253019821994783,0.02477269871644745,0.010155390116101837,0.03100301871340158,-0.07413353268207168,0.01750142506529999,0.03461705135130691,0.04982243958808899,0.00851692480498886,-0.002991416728403473,0.01759018484255066,-0.07281463888115311,0.07669263036101531,0.0287119138326683,-0.0011225693401481635,-0.022214332482351686,0.08318748801869094,0.06656315672954559,0.0034995880579914086,0.04958693578422928,-0.027691547638692474,-0.03405751975708465,-0.062014044191894525,-0.0004367024225837711,0.007944679561768342,0.03339219333856888,-0.04039564807562256,-0.06730881179145813,-0.07099339792601776,-0.033052287483390806,-0.050682249608245855,0.011561693050074387,-0.09867453691846315,-0.02774825273226944,0.010811723733195496,0.02427582366474533,-0.02078586645137596,0.01433492286357048,0.026900254564299775,-0.05306856266233825,-0.007102414552368164,-0.02275204349867813,-0.03211197205357055,-0.014967170406674196,0.022953155306690905,-0.03644228327174301,0.012341418549354555,0.020687427985451052,-0.09076456366364288,0.031082595049208066,0.04102866745965958,-0.02306090883122635,0.027812227150472258,-0.013119295590370941,-0.004158771480469893,-0.007025444076653517,0.009275999232177735,-0.039368103392872236,0.01910143328294525,-0.05630273885418091,0.055353015055413055,-0.0014070097039474495,0.042947509516956334,0.0024906970417621615,-0.03561797166536834,0.006505803784743882,0.006665486497595978,-0.006378142944042969,0.05448368035679932,0.07332471840206146,-0.0014946864171386718,-0.008414893981474686,-0.00006825545633163364,0.02668107540572357,-0.024539537215417483,-0.07293688736830901,0.06344162595002364,-0.033607367797969814,-0.01986442914540863,0.026089177944317626,-0.022147074482840423,-0.08048881567908478,0.050637503425783534,-0.06346700348937226,-0.015700777833213043,-0.
SubjUID: SubjectFixtures.Get("john-doe").SubjUID,
FaceSrc: SrcAuto,
SampleRadius: 0.8,
Samples: 5,
Collisions: 1,
CreatedAt: TimeStamp(),
UpdatedAt: TimeStamp(),
},
"unknown": Face{
ID: "IW2P73ISBCUFPIAWSIOZKRDCHHFHC35S",
EmbeddingJSON: []byte("[-0.01391313475,-0.031814132,0.017377053075,-0.01851261325,0.021255451499999998,-0.051055306,0.0366150855,0.007998470175,0.0695672645,-0.1067636275,0.0307072165,0.02941578425,0.054768010500000006,0.041151049,-0.06493903375,0.0015896528499999996,-0.05437162425,0.011924136,-0.025054364,0.0009921848250000003,0.012807875,-0.01319641825,-0.00488935855,-0.07366566999999999,-0.0611034065,-0.06666547924999999,-0.04888238425,-0.035091203,-0.01854779615,-0.024557007999999998,0.0030882324,-0.055875238499999993,-0.0246700375,-0.02172630285,-0.025565405,0.058197003,0.0547107775,0.047857131,-0.04580487,-0.00021249714999999926,0.009770386499999999,0.044646309999999995,0.0018705221250000003,0.0371642205,0.018666550325,-0.0032051121500000002,0.0057689690000000005,0.06864431525,-0.04906746575,-0.07431345875,-0.0647896445,0.0120775261,-0.02890944,0.01879340475,0.024201165499999996,0.04355076025,-0.014099167999999999,0.026033113750000003,0.025052837749999998,-0.068487575,0.022659832499999998,-0.0027816580000000002,0.03500908899999999,0.012073708,0.006179701499999999,0.034802054,-0.01799351825,0.0457090165,0.0036213202500000002,-0.008580024424999999,-0.072938294,-0.016224131250000003,0.06459961750000001,-0.04963675325,0.08387918625,-0.13179572750000002,-0.011209804,0.011490459325,-0.04273579375,-0.0603162555,-0.03941750125,0.061718414,0.029566903,0.011713920749999999,-0.07820421,0.042141458,0.04053815075,-0.0431640475,-0.009912542250000001,0.0083520422,0.04968228825,0.061740414,-0.003251780325,-0.0009849047250000001,-0.07888640699999999,0.00013775579999999977,0.0545293975,0.0314430285,-0.025010752249999997,-0.0754261725,0.00026732155,-0.04167998875,-0.038423044,-0.012128476325,-0.042172063999999995,-0.03992470075,0.055492729500000004,0.005174035799999999,-0.0491557875,0.047224008,0.027870127375,0.11123915125,-0.0017566490000000008,0.06637293625,0.08444959,-0.038633152000000004,0.040549324,0.0181765085,-0.0103707255,-0.052444608749999996,-0.0721162075,0.0017395296250000006,0.03576854825,-0.0010544938500000002,-0.03536455575,0.026296009000000002,-0.011038092,0.009561795625000001,0.0061376165,0.016413343999999996,-0.0007041408250000004,0.008430746000000001,0.007772767000000001,0.035255850500000005,0.03609753,-0.004700959499999999,-0.0244996355,0.029143511,0.0019076424499999993,-0.02425797625,-0.02824462725,0.03748850525,0.004536174249999999,0.094921252,0.0402888305,-0.035919796500000004,0.0325914395,0.028936399249999998,0.0100435923175,0.051378176750000004,0.0466342265,-0.104555035,-0.058734387250000006,-0.053190730000000006,-0.004201957500000001,-0.0030598753299999996,-0.009583216875000002,-0.05078611825,-0.037133980925000004,0.0406709395,0.01118452775,-0.028617762,-0.006732865225,-0.03122189575,-0.054440001749999994,0.055957135,-0.054629830500000004,0.00548484575,0.0018623927500000005,-0.0054835023,0.04359883825,-0.04169836625,0.025491153,0.035283773500000004,0.020951236874999998,0.017083047,0.011288541499999999,0.029325848999999998,0.031001949125000004,0.04632318125,0.058114136999999996,-0.018353527600000002,0.0010329377499999999,-0.05167622725,0.0015087445249999999,0.0665028595,-0.017552406,0.0030785925075000006,0.067237884,-0.045436311,0.022067097,-0.068492519,-0.09581154575,0.02946200275,0.019267693750000002,-0.013623341,-0.0023418241499999996,0.057798097500000006,-0.02830513875,0.00967313775,-0.0156008155,-0.038696254,-0.046455728749999994,-0.020938623415,0.00489014375,0.0191956194,0.01110382618,0.020775547499999998,0.116135215,-0.040037983750000006,0.039333228250000005,0.011678268775,0.0650113585,0.0023590035,-0.05381264350000001,-0.008376887255000002,-0.05688126,0.01151456675,0.00003846570000000035,-0.01287236325,-0.06661450099999999,-0.03827642075,-0.045446761,-0.03154112575,0.028140978,0.070225409,-0.020004859,0.0193362475,-0.0034820117499999997,-0.074293175,-0.04876132,0.0074359382499999994,0.0066796961250000005,-0.011634815875,0.009048144557499999,0.0344562235,-0.01762691475,0.019571052749999998,0.026697968750000002,0.015484052000000002,0.03876590725,0.0037216567,0.04729691375,0.008930467375,-0.07800198875
SubjUID: "",
FaceSrc: SrcAuto,
SampleRadius: 0,
Samples: 1,
Collisions: 0,
MatchedAt: &editTime,
CreatedAt: TimeStamp(),
UpdatedAt: TimeStamp(),
},
"joe-biden": Face{
ID: "VF7ANLDET2BKZNT4VQWJMMC6HBEFDOG6",
EmbeddingJSON: []byte("[0.10730543085474682,-0.007740289179353713,0.04013410115400314,0.01458170011165962,-0.033333988977870946,0.06636234022813034,-0.00010941258007316575,0.0266348918046072,-0.05017391628723953,0.026034562221256254,-0.03388911566430759,-0.03461048494812202,0.040559725024994844,0.02683793627304573,-0.00972269717541027,-0.07836494561032105,-0.022470260049817198,0.011276674801708603,-0.05526434009558201,0.014401617237932205,-0.031258523568474236,-0.05416104192368187,-0.05567222379755878,0.017950877029356768,-0.016397424193561935,0.062346790423413276,-0.019043469394284057,0.04085343435437774,-0.05627231374819698,0.002355368169155769,0.07268979656775187,-0.0015096598716884627,-0.030188596848975374,-0.030941932784964564,-0.02826790015985233,-0.05420075791573048,-0.015742074680253033,0.019360258910790157,-0.008227027287290193,-0.08797317745792674,-0.07358703463505077,0.09688007249803735,0.015168583267354964,-0.034569315837825396,0.054231690688333986,0.018033145214487362,0.01579093209709463,-0.09204238994311237,0.08645247031890774,-0.10499936100221444,0.022421303168151857,0.005288450124515152,-0.017391072021601867,0.011218363053184624,-0.08478270589438915,0.0038618527485391615,-0.023381522484070015,-0.05428399272960853,-0.049397680150033,0.04006855272634697,-0.056704127236808774,-0.00958812557516262,-0.024006645464504622,-0.0073450501057456975,-0.03138197361666756,-0.013765138786817361,0.01162637563227787,0.0023935177775817563,0.08953138773108768,0.05337418268588829,-0.012870218945196915,0.03652425150877475,-0.027783526080406188,-0.019489638927241745,-0.01591402705199299,-0.005031992847164803,-0.014592982936285286,-0.03540697236418762,0.015595597412254449,0.004689344744109726,-0.009276015175478172,0.0058068592886232374,0.10480716412028504,0.0169216338187767,-0.0159497901004467,0.04574707649004688,-0.012214007484710122,-0.04849749380776977,0.054958586523843764,0.055898306713647844,-0.05052226642217827,0.008803732924324036,0.02326267119630642,0.047305830959801676,0.04497242295638694,0.020850376996620942,0.01314765746152954,-0.06768179592533874,0.05844347174572754,-0.03379152370001783,0.009412363744416903,0.04876727547273407,0.03299943491180715,0.01981742466488743,0.0547951049219265,0.020208802772381018,-0.08163521584288311,-0.038910958658009524,-0.004049565234655952,-0.02227413252290535,-0.0176418922441086,0.0568860088455925,-0.03240221023084612,0.0018760896289435579,-0.03234445138420723,0.007601825631139565,0.004916589611196899,-0.07292478312312889,0.021712048014592936,0.008807552270011749,0.0045489283733609,0.018861112444398878,-0.0341377092368577,-0.06305481604926585,0.039113288345403674,-0.01390809621003151,-0.04930861238819008,0.02377057523982868,0.019087416355893325,-0.013899296822125817,0.02251690464443226,0.08074113913260841,-0.018922226267959787,0.07189693789385795,0.060660045672045707,-0.023638294307546808,-0.006141792394255906,-0.06662582397409247,-0.013895529799502565,0.016608829923953898,-0.00390724028582611,0.05038048671591301,-0.015355035841564064,-0.0008532485082750321,-0.004694504582768126,-0.016610601585741958,0.008180847821889228,-0.04035771976174698,0.01847608156922703,0.08409907464663602,-0.029978496458568385,-0.06499117178372192,0.07448235046571827,0.10142187900247382,-0.023405319141915855,0.05237413796294822,0.04315940939233541,-0.02349721355909328,0.012594679585403442,-0.10457832859776592,0.001468614040066719,0.0165479676672657,-0.07708675453700256,-0.05102918249748802,0.045642631412478735,-0.004785828004440499,0.0203317336356945,-0.02006395174473057,0.04201285855375195,0.032883700123707296,0.0477916040669878,0.08070634492548084,-0.09245629058029556,0.05112703265588493,-0.006224603994954872,-0.0005257819460310555,0.005513055457300567,0.02521921247766018,0.012207323409280013,-0.009936333046208725,-0.007426916158089448,0.027260071572856714,0.006004036209329835,-0.039462719505699156,0.04428369084658737,0.005021041270120048,0.00955255667591259,-0.024385389176467896,0.06930311634011002,-0.0389855151682066,0.009325780048200605,0.0067487294106089776,-0.0538568250434906,-0.04132319716445885,0
SubjUID: SubjectFixtures.Get("joe-biden").SubjUID,
FaceSrc: SrcManual,
SampleRadius: 2,
Samples: 33,
Collisions: 0,
CollisionRadius: 0,
CreatedAt: TimeStamp(),
UpdatedAt: TimeStamp(),
},
"jane-doe": Face{
ID: "VF7ANLDET2BKZNT4VQWJMMC6HBEFDOG7",
EmbeddingJSON: []byte("[0.0007977288249999999,0.00627412635,0.010081367249999999,0.060607290999999994,0.0198231296325,0.00677942925,0.0127981935,0.0173897118,-0.0031311625250000003,-0.01667410885,-0.063420228,0.018361592,-0.08858173750000001,0.03073611525,-0.031917364749999996,-0.038458696,-0.0547301015,-0.008465875175,0.01761571915,-0.004627128875,-0.014689141,0.0638510155,-0.06016673375,0.0427068645,-0.0018743572750000003,-0.01726785,0.01797843425,0.013435698749999999,-0.02318214925,0.022266988,0.010709568150000001,-0.006173700925,0.05487494425,-0.00735372625,-0.00730452625,-0.009618603875,0.02644855175,0.03581387875,0.0603323515,0.0274974055,-0.011483472,0.018239579750000002,0.0330916205,0.02055146915,0.0242073965,-0.0006206512774999994,-0.01502779865,-0.00663770983,0.020805977000000003,0.025900334499999997,0.03035390375,0.0032148387500000003,-0.00391496355,0.054927406750000005,0.038901408,0.045302014249999994,0.003995124,0.03543321425,0.06059028175,-0.1112412095,-0.0058859643825,0.006096619500000001,0.034855345,-0.0979946125,-0.01321143025,0.11343869000000001,0.006484222825,0.025919567249999997,0.06456440150000001,-0.004858886425,-0.006586231,-0.012453104075,-0.0045703442499999995,0.06079882,-0.0248508515,0.0585631235,0.0204748375,-0.050474988250000005,-0.0601280055,0.0206371795,0.05054124575,0.07786492925,0.06104633175,0.0122962905,-0.020578794,0.04871231525,-0.0046306429,-0.11645592,-0.0016124173750000003,-0.0174920002425,0.0055334826,0.04527567075,0.07851289325,-0.0053165103000000005,-0.02369275525,0.017747101675,-0.0519253465,-0.00209848275,-0.012302984500000001,-0.013717400199999999,0.01359236975,0.02108301525,0.041778528499999995,-0.10003224,0.005552072275,0.024320880750000003,0.011672114249999999,-0.056534426750000005,-0.06916763575,-0.06349918,-0.0056744145,0.0346825085,-0.05831162125,-0.001728813,0.026253652175,-0.00694282505,0.07631711775,0.0162711135,-0.025647805849999997,-0.05708761650000001,-0.1363480425,0.0731495385,0.074582931,0.01708094025,-0.0401903185,-0.014694330250000002,-0.0015122242499999994,-0.0527830695,0.03213205125,0.01814980125,-0.0022534211875,0.006620919325,0.0096743934,-0.00950359475,-0.03451209525,-0.077583193,-0.0327730455,-0.00922135715,0.047522121,0.010230271575,0.0098390256,0.05241573875,-0.0001339010500000001,0.0493660095,0.04127633175,0.0588596835,-0.008334644124999999,-0.013199373475000001,0.00565431415,0.02194862975,0.053116437,-0.06246536,-0.06762575875,0.0083671415,-0.062960726,0.028651681,-0.0047957945,0.02279490325,-0.01949435125,-0.0145249815,0.0179922025,-0.0050103798,-0.02183141475,0.014762827225,-0.0098820205,0.050833761500000005,-0.06879305050000001,-0.019839172457500002,0.03499764575,0.0508008915,-0.0215009885,0.006626853750000001,-0.038975954,0.029960057999999998,0.0196604121,0.010876822750000001,0.02900263525,-0.00548767725,0.013630449250000001,0.0005998975,0.019220962075,-0.0465303345,0.019054888,-0.02356633375,-0.038011357999999995,-0.025119104500000003,0.03871977525,0.024482080750000003,0.08431583125,0.02732495225,0.0949345775,0.0306948015,-0.01885955675,0.0670141655,-0.0106550329825,0.0004984321480000002,0.03305477934,0.03265502,-0.03410266475,0.06414483,-0.042341717,0.0491270175,0.03191559375,0.02826792625,0.1142247775,0.03742189875,0.03385123675,0.043446917,0.0065846527,0.019319251675,0.050761064999999994,-0.03899118075,0.02432739675,0.056898795,-0.07070233249999999,-0.0063754505,-0.0538108965,-0.0519101365,-0.08475072950000001,0.0080495835,-0.08008777975,-0.0499128635,0.0237340165,0.0359055565,-0.043358586500000004,0.031290711,0.0449176795,-0.003326489350000001,0.0373564235,0.017098932,0.058522701499999996,-0.013411767875000001,-0.03544247725,-0.00710222475,-0.026729970750000002,-0.0142197245,-0.002157010249999999,0.05803525749999999,-0.051960914,0.02590911975,0.0300332645,0.0244066115,0.026088825249999996,0.07373419,-0.060161999499999994,-0.0263518045,0.0149505905,0.005806035210000001,-0.07896729899999999,0.006424700950000001,-0.0104141191,0.01328528435,-0.05459953475,0.04573714225,0.047946037999999996,-0.030557348499999998,-0.033911058,0.028284643249999
SubjUID: SubjectFixtures.Get("jane-doe").SubjUID,
FaceSrc: SrcManual,
SampleRadius: 0.2849559839760571,
Samples: 3,
Collisions: 0,
CollisionRadius: 0,
CreatedAt: TimeStamp(),
UpdatedAt: TimeStamp(),
},
2021-08-27 15:33:06 +02:00
"fa-gr": Face{
ID: "TOSCDXCS4VI3PGIUTCNIQCNI6HSFXQVZ",
EmbeddingJSON: []byte("[-0.053561389904586795,0.02493500179508972,0.05595611112191772,0.0055583031357406614,0.06096615248301697,0.03496644994218445,-0.01198695953822937,-0.02454460388852234,0.06803707268757629,0.026374346495635984,0.0829672158716156,0.016856238718595883,0.026665416756958008,-0.0040052483594970704,0.020293359176193237,0.04141028915954589,-0.0203971049396698,-0.022560134065307616,-0.03766844269610596,0.010925087254508973,-0.05584892202276611,-0.01708412063880005,0.07078410664926148,-0.006791854692691954,-0.09048726862814331,0.06529471053547668,0.00805870625440979,0.003185225187793579,-0.018936199966329958,-0.012567245673349,-0.05535705010704651,0.03018335210581665,-0.04415012300550842,-0.05080241808776856,-0.037411959780944824,0.017662395667355345,0.09760594306341552,-0.028251039018463132,0.01704797846333618,-0.059372201955718996,0.05574424936593628,-0.010868599007102965,-0.012860168669677733,0.01699000405715027,0.06789376899803162,-0.007262103997096252,0.02162036994911194,0.029675374175361636,-0.018911653790352638,-0.040019186535003665,-0.05813169548834228,0.001130981756311036,-0.03868822248225403,-0.013124584308215332,-0.04959773636276245,0.015140624265402221,-0.02141350306637573,-0.03751785701907349,-0.006248120308032227,0.05437072424835205,0.018381264600920565,-0.06975018308328552,-0.03373974997651672,0.034049636619096685,-0.04413912348025513,-0.020500543401235964,-0.06727858024015808,0.0056846422075592035,-0.027692957355023196,0.03017583047795105,0.0379142424294281,-0.020554617585459595,0.08608181673811341,-0.00558661152100952,-0.01761539180555359,-0.030357409232269282,-0.038801233812469485,-0.002326377160518799,-0.04056732406237793,-0.03209971834346008,0.024125684115341186,0.0315708265684845,-0.05462144547168274,0.0026592329726211547,-0.0002449828401040651,-0.018294493854022216,-0.004316533692294311,0.031179499626611328,0.018720620290939332,-0.010533231864138794,-0.02601918470727783,0.03628710090163574,0.00506572206867981,0.03785012353689575,-0.02089666075800049,0.0005888406594442138,-0.02709355396816101,0.05639648983508301,0.006216579241943359,-0.05114516002183533,-0.04535121382156372,0.02563305507798462,-0.07923478377371215,0.032685130028892215,-0.001191900266772461,-0.04475778329414673,-0.023464674753723144,-0.002032372990753174,-0.01025872433950653,-0.024260434875390625,0.02864984106276855,0.007080414502122192,-0.06647833907400513,0.0783933927390442,0.08410754442626953,0.048460447177383424,-0.005683048104943848,-0.0033352546661720274,0.02472490765201111,-0.06543308330223084,0.08478776423457336,-0.025810452447610474,0.043794386990188595,-0.05349430982803345,0.06986419394355775,-0.06776561983079529,-0.027279223366226193,0.06643936192025757,-0.02699730024284821,-0.02261310328250824,-0.030541795043481444,-0.036404816941958615,0.002319148392166138,0.030034134980651855,-0.05057250613243866,0.015797195287312316,-0.05546740251412964,-0.03792064480703736,-0.046270072130859374,0.03600284879156433,-0.016286383008148195,-0.01447935282893982,-0.023145600843895997,0.05445904519541932,-0.019425428872716675,-0.027849521253845218,0.02624303381966553,0.03904380140099487,0.014552910185842895,-0.015262209582714847,-0.01546606357798767,0.06973534984918213,0.03443690571838379,-0.03316039928060913,0.025289981915246583,0.027551592510702515,-0.05067044379051208,-0.026268390881219482,0.01957086168347473,-0.018028586132089235,0.03361352139247131,0.02203808638873291,0.01012487246018982,-0.02816909800907898,-0.009651444010451508,-0.09467841339996338,0.02476457462034607,0.004779872280953979,0.0501946385553894,0.02433562254768372,0.018832664526740112,-0.012715093342271423,-0.029919957296679688,0.00032212689794006383,0.01700923572964264,0.009046746358553008,0.005211006430688477,0.0016982382203079224,0.049998209365203855,0.03436742353085327,-0.0121563069042511,0.05672995838252258,-0.04706990067637634,-0.056664633050765995,-0.012870437315783691,-0.07744849265951537,-0.046735237881042474,0.027536489646829223,-0.0063465054498382575,-0.03997399767149353,-0.005338936482995606,-0.00362328916847229,0.001921811812083435,-0.05407581
SubjUID: "",
2021-08-27 15:33:06 +02:00
FaceSrc: "",
SampleRadius: 0.3335191224530258,
Samples: 4,
Collisions: 0,
CollisionRadius: 0,
CreatedAt: TimeStamp(),
UpdatedAt: TimeStamp(),
2021-08-27 15:33:06 +02:00
},
2021-08-30 13:39:53 +02:00
"actress-1": Face{
ID: "GMH5NISEEULNJL6RATITOA3TMZXMTMCI",
EmbeddingJSON: []byte("[-0.042797452781249995,0.00422465874375,-0.048662441625,0.0031430446,0.06633659487500002,-0.018196528703125,0.040835139765625,0.052952038265625,0.006016549665625001,0.009785659178125,-0.029831666965625,0.054324560015624995,0.01054248685625,0.017850270410937497,0.026022013796875,0.03613610925,0.03469964425,0.07347525625,-0.026205852546875,0.0166165387265625,-0.00219102274375,-0.0521860075625,0.028795398437499998,-0.020569271453125,0.00665820161140625,-0.05419626184375,0.006151694960937499,0.0280780779140625,-0.002380057990625,-0.0047011529390625,-0.0250162446671875,-0.08458884684375001,-0.0488252095625,-0.0263757030625,-0.0141043764,-0.055177046234375,-0.024440984495312502,-0.06736828789062499,-0.011746090509375,-0.0658738613125,-0.012061459415625001,0.006663972303124998,-0.02980980240625,-0.024637781609375003,0.081152222890625,0.08694402428124999,-0.009879704509375,-0.06108930775,0.030863420734375,-0.024178249960937502,-0.09244857825,-0.033086686328125,0.039693733424999995,0.0222100371025,-0.07447425484375,-0.068857844375,-0.023395244290625,-0.004518527246875,-0.0123647139375,-0.019760296765625,-0.04322777059375,-0.0339581230625,0.00922167535,0.13172738974999998,-0.057130676015625,-0.04021859003125,-0.04409194796875,-0.06360571378125,0.0038800593812499994,0.011037305934375,-0.12183968115625,-0.07553384335937499,0.08556041196875,-0.00675970565625,-0.008239945834375,-0.0002750189718749999,-0.0123454039234375,-0.074857799546875,0.039849796187499995,0.004566287940625,0.011853646906250001,0.012255246218375,-0.01633359240890625,-0.02856772603125,-0.025007442953125,0.060898780296874996,-0.058974834484375,0.023121999062500002,-0.020350771803125,-0.030586074459375,-0.033634610171875,0.0538676319375,0.041377327125,-0.028109858159375,0.0072398953984375,0.073216935046875,-0.0314768581875,0.062401044,0.040599449268750004,-0.057796485843749995,-0.05566476365625,0.03588720815625,-0.035500273796875,0.0735189534375,-0.02440577285,-0.094595259875,-0.028696179756250002,-0.00399260396875,-0.009224862356249999,-0.005818649078125,-0.045656088593750005,-0.0070814703171875,-0.026597113656249997,-0.030390899437499997,0.039040696718750004,-0.06426890425,-0.06785859596875,0.010784127853124999,-0.054993149796875,-0.037887456421875,0.03338866509375,-0.0212479521875,0.04566912451874999,-0.043900132531250004,0.0746015890625,-0.0243242484375,0.033496269125,-0.00895349779375,-0.090135792046875,-0.060008334546875,-0.03285268494375,0.0074423431250000005,0.0056082175,0.007676819027812499,0.043098117078125,0.01961326721875,0.043081848421875,0.0017007411484375001,-0.058708293015624996,-0.011024991296875,-0.017065255225,0.0463664746875,-0.050305781265625,0.07986595525000001,0.031914426896875,-0.0451691994375,-0.014531763891874999,0.0238665033034375,0.0019062963437499999,0.037309521359375,-0.056698300125000003,0.05307699465625,0.025364797046875,0.041471147171875,0.013446926728125001,-0.032811845578125,-0.07355180671875,-0.07045656553125,-0.027063845834375003,0.02144017521875,0.03856208171875,0.054781846015625,0.065618965625,0.045270843109375,-0.07020550296875,0.0254819304059375,-0.050949131109375004,0.034050439953125,0.02819093215625,0.003919965578125,-0.022841327275312497,0.0024206921150000003,0.0412864711875,0.011987981381249999,-0.05907508284375,0.028428842559375,-0.04474331540625,0.011173079484375001,0.023104085078125003,0.02738280965625,-0.02268888928125,-0.014092400128749998,-0.005039106766562499,0.02355611371875,0.0366038645,-0.09409493103125,-0.0111312976078125,-0.055360834203125,0.0781101144375,-0.034545760890625,-0.026267615734375,0.0074333465375,-0.016226572784375,-0.0334946088328125,0.0087815724984375,-0.03358945,0.00830140880625,-0.116942932375,0.014852332671875,-0.048670014625,0.07110080234375,-0.010049274725,-0.009037579723437501,-0.026618966031796875,-0.0088876183875,0.07093048070312499,0.0003418017562499999,-0.016285292934375,0.023988535603125,0.02958441390625,0.028762250546875,0.10859091765625,-0.026533771203125,-0.08597097553125,0.0254817276328125,-0.0008839394531250004,-0.03657968334375,0.024961030874999998,-0.00
SubjUID: SubjectFixtures.Get("actress-1").SubjUID,
2021-08-30 13:39:53 +02:00
FaceSrc: "",
SampleRadius: 0.27852392873736237,
Samples: 4,
Collisions: 0,
CollisionRadius: 0,
CreatedAt: TimeStamp(),
UpdatedAt: TimeStamp(),
},
2021-08-30 17:20:39 +02:00
"actor-1": Face{
ID: "PI6A2XGOTUXEFI7CBF4KCI5I2I3JEJHS",
EmbeddingJSON: []byte("[0.029390826499999998,-0.0503012115,-0.0038545094999999988,0.0509694235,0.031093432499999997,0.0496081305,0.029921502000000003,-0.011004544,-0.060369486,0.017543245,0.01045707515,-0.099466162,-0.00480026345,-0.04493461,-0.0037644171749999997,-0.065234118,-0.0040764575,0.054459017,0.022406583,0.0096438375,-0.110314265,0.016590626,-0.0228292765,-0.1048702,-0.0763408,-0.006629400999999999,0.004310676500000001,-0.029119649,0.01620591965,0.015485259999999999,0.008847230999999999,0.05485049,-0.034671595,0.0115840045,-0.007419231,-0.093930635,0.0017309952,-0.0048228687,-0.05732045499999999,-0.033113999500000005,-0.0240111475,0.0323214015,0.00287205625,-0.030934734,0.00156168245,-0.048679148000000005,0.02641126,-0.0112433873,0.012481417250000001,-0.065828795,-0.03307603,-0.0117135982,0.048581928999999996,0.028982857,0.005623224499999999,-0.032749998,0.011234884625,-0.0006842143500000002,0.026518498,0.061320491,-0.0146354356,-0.079900327,0.0683921215,0.007673159000000001,-0.0036813074999999997,-0.0450446075,0.02894235215,-0.039071353,-0.045876458,-0.0352887335,-0.07320109999999999,-0.015539629999999999,0.0289246405,-0.049284593,-0.01250326,-0.0337509495,0.046399666,-0.071127149,0.08158958499999999,-0.0426160325,-0.0080168428,0.0136308075,0.02569515,0.043871697,0.0033857435,0.058685176000000006,-0.01749069625,-0.053259678,0.049114284,-0.039802356,0.0080722875,-0.0296135,-0.0043557191000000006,0.0014750100000000006,-0.009338751650000001,0.0276961965,0.00885040575,0.016889396,0.0085062253,0.0206174708,0.026253349723,-0.037348458,0.019311317,0.012004956,-0.018269215,-0.0280598629,-0.042533084000000006,-0.04640435,0.003540217,-0.032545467,-0.013042198,0.069853378,-0.0463841565,-0.027688966500000002,-0.059565311999999995,0.0955551455,-0.00281534995,-0.00056369025,0.056012735,0.064883204,-0.004080717500000001,-0.0589001255,0.0204381845,0.00573572365,0.0227016705,-0.0095095435,0.049776725499999994,-0.0318561775,0.013517221,0.05898059,0.0099591405,-0.0467890275,0.020263018,0.0853258175,0.0098792975,0.0248817635,-0.044659859999999996,-0.022181526,0.0473887315,0.022208215000000003,-0.03485217,0.068261088,-0.01371124975,0.023889135500000002,-0.004693188599999999,0.061553551,-0.000011999000000000384,-0.0158730365,-0.006931088,0.09489299500000001,0.055977795,0.06602641000000001,0.01054402925,-0.01124513895,0.002503631,0.0072078265,-0.014834385499999998,-0.046107534000000006,-0.007856566499999999,-0.0422721125,-0.0423789265,-0.0212909215,-0.00794488725,-0.0469044435,-0.071824202,0.0225725725,-0.0319154,0.026527513,-0.009888712899999999,0.02953384,0.085858678,0.013506947,0.0678732135,0.042902051499999996,-0.062338507,0.0354902925,-0.01188858515,0.0286265445,0.019621773500000002,-0.02367736825,0.031068825,0.071462768,0.0546697175,-0.028328653999999998,0.0338450425,0.0414083,0.064161343,-0.014787015499999999,0.042576257,-0.052504155999999996,-0.009431747,0.054281609999999994,-0.021365432499999996,-0.010823029500000001,0.031537834,0.027937777499999997,-0.051239634,-0.0008470490000000008,0.0361261665,-0.0580307265,-0.0315868765,-0.0055125591500000005,0.01400582125,-0.0184045163,-0.046149815,-0.005499571,0.0155790405,0.0583802535,0.039215091,0.0008411794999999998,-0.041732420000000006,-0.050039497,0.007283665000000001,0.0431485005,-0.00677296875,0.0601975825,0.046510825,0.023623201,-0.01524039935,0.07721521,0.074249245,0.0407936515,0.00849325405,0.02431605585,0.011315986,0.01000438185,0.000004355499999999894,-0.0256082855,0.027331278,0.026526522,0.045884533000000005,0.064017159,-0.035494845,0.014849005,-0.07764901299999999,-0.046943987,-0.004783612,-0.0019289365000000006,0.044880989999999996,-0.0615054725,0.008713913,-0.064159369,-0.108074245,-0.0245115032,-0.0346285845,-0.060331363,-0.0337360495,-0.0928075975,0.023803201500000003,0.0215816405,0.039825595000000005,-0.023639452000000002,0.01902793,-0.00781150095,-0.046295049,0.015229914,-0.044872945,-0.0181105295,0.018318828500000002,-0.085241333,-0.00763042895,0.045985624,0.078587918,0.0237581805,0.019066963,-0.014184376,0.0314069,-0.0208157225,0.013775869999999999,-0.0920
SubjUID: SubjectFixtures.Get("actor-1").SubjUID,
2021-08-30 17:20:39 +02:00
FaceSrc: "",
SampleRadius: 0.3239983399779298,
Samples: 4,
Collisions: 0,
CollisionRadius: 0,
CreatedAt: TimeStamp(),
UpdatedAt: TimeStamp(),
},
}
// CreateFaceFixtures inserts known entities into the database for testing.
func CreateFaceFixtures() {
for _, entity := range FaceFixtures {
Db().Create(&entity)
}
}