MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / tile_images

Function tile_images

yolo_detector/darknet_opt/src/image.c:122–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122image tile_images(image a, image b, int dx)
123{
124 if(a.w == 0) return copy_image(b);
125 image c = make_image(a.w + b.w + dx, (a.h > b.h) ? a.h : b.h, (a.c > b.c) ? a.c : b.c);
126 fill_cpu(c.w*c.h*c.c, 1, c.data, 1);
127 embed_image(a, c, 0, 0);
128 composite_image(b, c, a.w + dx, 0);
129 return c;
130}
131
132image get_label(image **characters, char *string, int size)
133{

Callers 1

get_labelFunction · 0.85

Calls 5

copy_imageFunction · 0.85
make_imageFunction · 0.85
fill_cpuFunction · 0.85
embed_imageFunction · 0.85
composite_imageFunction · 0.85

Tested by

no test coverage detected