skip to main content

Title: Python and computer vision

This paper discusses the use of Python in a computer vision (CV) project. We begin by providing background information on the specific approach to CV employed by the project. This includes a brief discussion of Constrained Delaunay Triangulation (CDT), the Chordal Axis Transform (CAT), shape feature extraction and syntactic characterization, and normalization of strings representing objects. (The terms 'object' and 'blob' are used interchangeably, both referring to an entity extracted from an image.) The rest of the paper focuses on the use of Python in three critical areas: (1) interactions with a MySQL database, (2) rapid prototyping of algorithms, and (3) gluing together all components of the project including existing C and C++ modules. For (l), we provide a schema definition and discuss how the various tables interact to represent objects in the database as tree structures. (2) focuses on an algorithm to create a hierarchical representation of an object, given its string representation, and an algorithm to match unknown objects against objects in a database. And finally, (3) discusses the use of Boost Python to interact with the pre-existing C and C++ code that creates the CDTs and CATS, performs shape feature extraction and syntactic characterization, and normalizes objectmore » strings. The paper concludes with a vision of the future use of Python for the CV project.« less
Authors:
 [1] ;
  1. (Justin E.)
Publication Date:
OSTI Identifier:
975972
Report Number(s):
LA-UR-02-0393; LA-UR-02-393
TRN: US201018%%1057
Resource Type:
Conference
Resource Relation:
Conference: Submitted to: Tenth International Python Conference, Alexandria, VA, February 3-7, 2002.
Research Org:
Los Alamos National Laboratory
Sponsoring Org:
USDOE
Country of Publication:
United States
Language:
English
Subject:
97 MATHEMATICAL METHODS AND COMPUTING; ALGORITHMS; COMPUTERS; SHAPE; VISION