This video shows the difference between a tuned and non-tuned Gemini AI model with a very simple example. I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at: programmerworld1990@gmail.com Steps: Excerpts:Tuning vs prompting in AI? Prompting: Concept: Involves crafting specific…
Tag: ML
How to integrate Meta’s AI Llama Json APIs in your Android App java code?
This tutorial shows the steps to integrate Llama (Meta’s AI open-source tool) APIs in your Android Java’s code using Curl command. It uses Volley libraries to call the Curl command from the Java code. For documentation on the APIs reference used in this code, please refer: https://docs.llama-api.com/api-reference/endpoint/create In this demo…
How to create sample AI chatbot Android App using Google’s Gemini in Less than 10 minutes?
This video tutorial demonstrates the swift creation of an AI-based chatbot using Google’s Gemini in under 10 minutes. It utilizes the Android Studio Jellyfish | 2023.3.1 Canary 11 version for the demonstration. The complete source code and additional details are accessible at the provided link. For inquiries, suggestions, or appreciation, contact via the given website or email address. Additionally, the project folder is available for download through the provided link.
How to generate PWM signal in MATLAB App Designer?
The provided content is about a video that demonstrates how to generate and plot a Pulse Width Modulation (PWM) signal in MATLAB App Designer’s UI Axes. The source code for the task is shared. It involves creating a class called PWMSignalApp with app components like UIAxes and PWMButton. After creating UIFigure and components, a function named PWMButtonPushed is declared. This function generates a sine wave and a PWM signal corresponding to it, plotting both signals on different UI Axes. The user is encouraged to direct any questions, suggestions, or appreciations to the provided contact email address.
How to change the values of an Matrix (or array) to 1 and 0 for positive and negative values in MATLAB?
The video illustrates how to modify the elements of a matrix to either 1 or 0 using specific code. The method transforms all positive values in the matrix to 1, while all negative or zero values are converted to 0. The operation is demonstrated with an example using pre-defined matrix ‘A.’ The necessary code is run step by step: “A = A.*(A>0)” converts all negative or zero values into zero, and then “A = A./(A + 1.*(A==0))” transforms remaining positive values into 1. For further clarification or questions, viewers are encouraged to contact the programmers through provided contact channels.
How to design PWM signal with different ON and OFF period in Matlab Simulink?
The content reviews a video demonstration of how to use Simulink model design to generate a PWM (Pulse Width Modulation) signal with variable ON and OFF periods. The process involves using a CLOCK block to receive the time component, then applying a REM (remainder) block to acquire the remainder value from the timer. This value sets the threshold for the switch block, dictating the creation of the desired PWM signal. If viewers need additional help or have suggestions, they can contact the creators through their website or email.
How to get list of required files and products (toolboxes) to run any command or file in MATLAB R2023a?
This video shows the steps to get the required files and products (toolboxes) to run any command or file in MATLAB R2023a. This will be helpful to know which all product license is required to run any code, Simulink model or command in MATLAB environment. The below command works for…
How to use OCR (Optical character recognition) for recognizing characters and words in an image in MATLAB App R2023a?
The provided content pertains to a video tutorial explaining how to implement Optical Character Recognition (OCR) in an image using MATLAB App Designer R2023a. The video provides step-by-step instructions for creating an app capable of reading and decoding the text contained in an image. Key sections of the source code pertaining to the OCR function and the user interface are also presented. The tutorial encourages user interaction and assistance via a provided contact email address and website. Practical demonstration is given by running the OCR app to extract text from a sample image.
How to set color brightness of an image using a SLIDER in MATLAB App R2023a?
The content provides a MATLAB App Designer R2023a developed application for image brightness control. The application modifies the brightness of an image using the dynamic slider value. The presented source code shows an ‘ImageControlApp’ class with properties that match with app components and callback methods which handle component events. The key function, ‘SliderValueChanging’, adjusts the image source according to the changing value of the slider for brightness control. The program further constructs and deletes the application along with the user interface figure, as needed. The application source code and video tutorial is available for better understanding.
How to save image matrix to a JPG file using IMWRITE from MATLAB App Designer?
The content presents a MATLAB App developed in App Designer used to save an image matrix into a JPG file. This task is achieved using the IMWRITE command. The app is structured with a class called “ImageSaveToFile”, which has several properties and methods related to the app’s UI components and functions. One key function is “SaveButtonPushed”, activated when the save button is pushed, reading the image, reducing its intensity by half, and saving it to a file. The creator also provided a contact email and website for further subscriber interactions.