Skip to content

Instantly share code, notes, and snippets.

View callmemaxi's full-sized avatar

Manjunatha Poojari callmemaxi

  • Bengaluru
View GitHub Profile
@callmemaxi
callmemaxi / opencv-4.2.0-cuda-10.1-Ubuntu-20.04.md
Created October 20, 2020 06:57 — forked from nathzi1505/opencv-4.2.0-cuda-10.1-Ubuntu-20.04.md
Step-by-Step Guide to build OpenCV 4.2.0 with CUDA 10.1 on Ubuntu 20.04

How to install OpenCV 4.2.0 with CUDA 10.1 on Ubuntu 20.04 LTS (Focal Fossa)

Install updates and upgrade your system:

    $ sudo apt update
    $ sudo apt upgrade

Install required libraries:

@callmemaxi
callmemaxi / AudioRecordActivity.java
Created May 29, 2019 12:31 — forked from kmark/AudioRecordActivity.java
An example of how to read in raw PCM data from Android's AudioRecord API (microphone input, for instance) and output it to a valid WAV file. Tested on API 21/23 on Android and API 23 on Android Wear (modified activity) where AudioRecord is the only available audio recording API. MediaRecorder doesn't work. Compiles against min API 15 and probabl…
/*
* Copyright 2016 Kevin Mark
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software