Giter Site home page Giter Site logo

passiolife / nutrition-ai-reels Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 62.28 MB

Create amazing food log reels and shorts

Home Page: https://www.passio.ai/nutrition-ai

Swift 70.15% C++ 29.85%
augmented-reality computer-vision instagram mobile-ai reels shorts video-creator youtube

nutrition-ai-reels's Introduction

Demo Video

Food.Recognition.Reels.MP4

Nutrition-AI-Reels

Let's create some amazing Insta Reels and YouTube Shorts by leveraging real-time on-device food recognition!

This repo gives you the code that can add an amazing reel-creator feature to your app. The reel-creator uses real-time on-device recognition of foods to create fabulous food log, recipe and "what I eat in a day videos".

The repo come with a demo app that you can use out of the box. The code can be adjusted to meet your style and design needs, but the Reels-creator is working out of the box and is ready for integration into your app.

To use Passio's Nutrition-AI SDK you will need a license key. You can get one here: passio.ai/nutrition-ai The use of the SDK is free when you have under 10 active users so you can experiment and use it in demo and dev efforts for free.

BEFORE YOU CONTINUE:

To use the SDK please make sure you receive your SDK license key from Passio. The SDK WILL NOT WORK without a valid SDK key.

Minimum Requirements:

In order to use the PassioSDK your app needs to meet the following minimal requirements:

  • The Demo will only run on iOS 14 or newer.
  • Passio SDK can only be used on a device and will not run on a simulator
  • The SDK requires access to iPhone's camera

Try to run the Demo:

A fast and easy way to get started with the Demo and create Reels is to test it inside of Demo App included in this Repo. Here are the steps:

  1. Open the project in Xcode:
  2. Replace the SDK Key in the EntryViewController.swift file with the license key you get from Passio
  3. Connect your iPhone and run
  4. Modify the app bundle from "com.passio.NutritionAIReels" to "com.yourcompany...."
  5. Run the demo app on your iPhone.
  6. For support, please contact [email protected]

Integrate Nutrition AI Reels/Shorts Sharing feature into your project.

Add PassioNutritionAISDK SDK into your project:

  1. Drag and drop the "PassioNutritionAISDK.xcframework" into your project. Make sure to select "Copy items if needed".
  2. In project "General" -> "Frameworks, Libraries and Embedded Content" Change to "Embed & Sign"
  3. Edit your Info.plist
    • If opening from Xcode, right click and select 'open as source code' To allow camera usage add:
    • <key>NSCameraUsageDescription</key><string>For real-time food recognition</string>.

Add necessary files into your project:

  1. Drag and drop EntryViewController.swift and FoodRecognitionController.swift files into your project. Make sure to select "Copy items if needed".
  2. Also add EntryViewController and FoodRecognitionController files from Main.storyboard.
  3. Drag and drop Views, Cell, Model, Media and Extension folder into your project. Make sure to select "Copy items if needed".
  4. Add Colors and Images from Assets.xcassets.
  5. After adding all above files and folder, you'll be able to build and share Reels/Shorts direclty from your app.
  6. You can customise the user interface to meet your own requirements.

nutrition-ai-reels's People

Contributors

drstarson avatar nikunj-mindinventory avatar zviash avatar

Stargazers

 avatar

Watchers

 avatar

nutrition-ai-reels's Issues

Please document step by step process on how a brand new user can get started and build a demo app

Imagine a brand new user opens up the repo. They need to be able to get the demo app built within a few minutes.
Make sure the step by step process is fully documented.

I will try recording a walk through video for users over the weekend and need to be able to do it from scratch. Assume the user is brand new and haven't used our SDK, so you need explain how to get the keys etc.

  • Update the readme

Ask your social media team to create epic reels and add examples to the ReadMe

Readme should show Instagram ready reels. They must look good enough to be featured on MindInventory and Passio Media channels. This is the criteria. MindInventory, Mehul, Samar and Passio team should be proud and excited to post the reels created via your work on their social.

  • Create amazing reels using the repo and feature those reels in the ReadMe as examples.

  • Remove the current video

  • Check with your social media team to make sure they guide your design choices. They need to be the judges and need to say that reels are looking great enough for them to promote.

We will need MI and Passio's teams to both share the results of your work on our media channels by the end of the next week, so make sure they look as great as possible and show demos to Sumeet, Sam and your social media team.

Please update the implementation to use the graphic elements you used in Naiya's reels

  • Essentially we want it to be nicer. Specifically the panel view on the top with calories, protein, fat and carb icons

  • Keep both your current implementation and the implementation from Naiya where you're showing the food card

  • Show 3 options at the bottom allowing users to select 3 different reel modes

  • Show a sound option allowing users to select 3 sound options. @jryler please provide tracks

Create a demo app based on the Naiya code that helps users create reels

We want the simplest, cleanest code possible. We want to strip out everything non-essential, but keep some Passio.ai branding elements.

We need this to be completed and published in 1 sprint by @nikunj-MindInventory
I need to ship it to customers by Thu next week.

Nikunj, this is your only focus right now.
The starting point should probably be the demo app bundled with the SDK, but the goal is to create a very lightweight project that allows you to plug in the SDK and with a few lines of code get the reels working inside of any app. Imagine you have an app like MyFitnessPal or Noom or WW (Noom and WW are better examples because they are not using us at the moment). We want to point them to this repo and enable them to add the reels to their app within minutes if they have our SDK key.

  • read the readme & let's sync up tomorrow during the Naiya meeting

CC @zviash

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.