calories/javascript/camera.js

8 lines
290 B
JavaScript
Raw Normal View History

import init, { enable_panic_debug, init_camera_feed, get_product_options, fill_search_options } from '/pkg/calories_browser.js';
2024-08-19 18:11:59 +02:00
await init();
enable_panic_debug();
2024-08-19 18:11:59 +02:00
let product_options = await get_product_options();
fill_search_options(product_options);
init_camera_feed(product_options);