I've been trying to understand why get_frame() is so slow on initial tracking and discovered that my overly general and overly generous API was basically getting data multiple times. This is one of the dangers of general purpose APIs!
[ ] Remove frame_data from SQL schema.
[ ] Replace db.get_frame() which did too many things with db.get_frame_urn() and db.get_frame_data()
[ ] Remove the format option from the /get-frame API; it now only returns frame JPEGs. If it makes the JPEG on demand, it caches it in the object database.
I've been trying to understand why get_frame() is so slow on initial tracking and discovered that my overly general and overly generous API was basically getting data multiple times. This is one of the dangers of general purpose APIs!
format
option from the /get-frame API; it now only returns frame JPEGs. If it makes the JPEG on demand, it caches it in the object database.