Show HN: Auge Vision from Your Terminal
OCR, classification, barcodes, faces - 100% on-device. One command, every analysis, no network.
Full article excerpt tap to expand
face 1 face 2 face 3 faces 1948 Public Domain (Bell Labs PR photo, PD-US-no-notice) The transistor inventors - Bell Labs, 1948 John Bardeen, William Shockley, Walter Brattain - the three Bell Labs scientists who invented the transistor in December 1947, photographed the next year. Every CPU on Earth descends from this workbench. auge detects all three faces. $ auge --all bell-labs-transistor.jpg A OCR no text No text detected in this image. # Classify 10 labels people 81% adult 81% clothing 71% necktie 67% cord 49% suit 49% structure 35% furniture 35% table 34% tableware 26% ▦ Barcodes none No barcodes or QR codes detected. ☻ Faces 3 detected 3 faces located. Bounding boxes overlaid on the image above. face 1: x=0.273 y=0.700 w=0.123 h=0.155 face 2: x=0.442 y=0.495 w=0.119 h=0.149 face 3: x=0.609 y=0.651 w=0.129 h=0.162 {} Raw JSON on-device output { "file": "/Users/arthurficial/dev/auge-web/corpus/files/bell-labs-transistor.jpg", "metadata": { "on_device": true, "version": "1.1.2" }, "mode": "all", "results": { "barcodes": { "barcodes": [] }, "classify": { "classifications": [ { "confidence": 0.8076185584068298, "label": "people" }, { "confidence": 0.8076171875, "label": "adult" }, { "confidence": 0.7065683007240295, "label": "clothing" }, { "confidence": 0.67236328125, "label": "necktie" }, { "confidence": 0.4892578125, "label": "cord" }, { "confidence": 0.4873046875, "label": "suit" }, { "confidence": 0.3476963937282562, "label": "structure" }, { "confidence": 0.3450329601764679, "label": "furniture" }, { "confidence": 0.344970703125, "label": "table" }, { "confidence": 0.26153215765953064, "label": "tableware" } ] }, "faces": { "count": 3, "faces": [ { "height": 0.1548747420310974, "width": 0.12341581284999847, "x": 0.27318617701530457, "y": 0.7003240585327148 }, { "height": 0.14936710894107819, "width": 0.11902691423892975, "x": 0.44163864850997925, "y": 0.4954269528388977 }, { "height": 0.16231800615787506, "width": 0.12934716045856476, "x": 0.6089426279067993, "y": 0.6511827111244202 } ] }, "ocr": { "lines": [], "text": "" } } } Wikimedia source
This excerpt is published under fair use for community discussion. Read the full article at Franzai.