441,655 research outputs found

    Snap-n-Snack: a Food Image Recognition Application

    Get PDF
    Many people desire to be informed about the nutritional specifics of the food they consume. Current popular dietary tracking methods are too slow and tedious for a lot of consumers due to requiring manual data entry for everything eaten. We propose a system that will take advantage of image recognition and the internal camera of Android phones to identify food based off of a picture of a user’s plate. Over the course the last year, we trained an object detection model with images of different types of food, built a mobile application around it, and tested their integration and performance. We believe that our program meets the requirements we set out for it at its conception and delivers a simple, fast, and efficient way of tracking one’s diet

    A Symbolic Transformation Language and its Application to a Multiscale Method

    Get PDF
    The context of this work is the design of a software, called MEMSALab, dedicated to the automatic derivation of multiscale models of arrays of micro- and nanosystems. In this domain a model is a partial differential equation. Multiscale methods approximate it by another partial differential equation which can be numerically simulated in a reasonable time. The challenge consists in taking into account a wide range of geometries combining thin and periodic structures with the possibility of multiple nested scales. In this paper we present a transformation language that will make the development of MEMSALab more feasible. It is proposed as a Maple package for rule-based programming, rewriting strategies and their combination with standard Maple code. We illustrate the practical interest of this language by using it to encode two examples of multiscale derivations, namely the two-scale limit of the derivative operator and the two-scale model of the stationary heat equation.Comment: 36 page

    Reasoning and Improving on Software Resilience against Unanticipated Exceptions

    Get PDF
    In software, there are the errors anticipated at specification and design time, those encountered at development and testing time, and those that happen in production mode yet never anticipated. In this paper, we aim at reasoning on the ability of software to correctly handle unanticipated exceptions. We propose an algorithm, called short-circuit testing, which injects exceptions during test suite execution so as to simulate unanticipated errors. This algorithm collects data that is used as input for verifying two formal exception contracts that capture two resilience properties. Our evaluation on 9 test suites, with 78% line coverage in average, analyzes 241 executed catch blocks, shows that 101 of them expose resilience properties and that 84 can be transformed to be more resilient
    • …
    corecore