Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    SOLVED

    BME 688 model deployment

    BME 688 model deployment

    KejaPower
    Member

    Hello,

     

    I have trained a model using the getting started tutorial with the 8 sensors development board. I have another BME688 sensor with an ESP32 board, how can I deploy the model to this to perform live inference ?

    thanks

    8 REPLIES 8

    Minhwan
    Community Moderator
    Community Moderator

    Hello KejaPower, 

     

    You can use it your own config file with BSEC 2. 

    In AI studio, You can export your alogorithm as config file. (There is "Export as BSEC Config File" in My algorithms tap after you train your data ) 

    That's exactly same type of config file what BSEC 2 is using. (File type shall be c and h files for BSEC 2. )  

    After that you can use your own config file to replace with original config file in BSEC 2. 

    Thanks, 

    Thanks, 

    Hello,

    Thanks for the answer, it works with the Bosch Development kit and I m now trying to see if I can use that exported model on the Arduino Nicla board.

    When I export the model I see 4 files , .c , .hh , .csv, .config

    I assume the .config is a binary, is there a way to use the .c and .h file with the Nicla Board (or other board connected to the BME688 )

    Regards

    Nicolas

     

    Minhwan
    Community Moderator
    Community Moderator

    Correct. 

    You need to replace config file in BSEC 2 with your own config file. ( .c and .h file)

    Please copy and paste your .c / .h config files in target folder. 

    And, you need to include it in your code. 

    Thanks, 

    Ok, thanks I have some follow up questions :

    1. once I have done hat, what is the function I need to call to load my custom config ?

    2. Once the custom config is taken into account, what function do I need to call to get the inference results for the classification ?

    Regards,

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist