Optimized libraries with callables in Python are very popular for scientific development. They provide an accessible interface, complemented with strong performance. However, there are often operations that these specialized libraries do not support, but are nevertheless necessary in custom applications. This presents a problem, since these unsupported operations are often implemented in Python by the application designer, and therefore are usually unoptimized. Applications that mandate significant performance cannot be effective when they also require these unsupported operations. This performance gap can be greatly reduced with selective embedded just-in-time specialization, or SEJITS. Instead of writing simple Python code for the custom operations, SEJITS allows users to write an optimized version of the routine that can be called in Python. The JIT-specialized code drastically improves performance of the custom routine, allowing the overall computing pipeline for the application to witness a significant speedup. This report explores SKYE, an application that uses OpenCV and a custom SEJITS-optimized method to perform motion detection and tracking.




Download Full History