Skip to content

Instantly share code, notes, and snippets.

View pgaijin66's full-sized avatar

Prabesh pgaijin66

View GitHub Profile
git add .
git commit -m "Adding files to Git LFS"
git lfs untrack <filename,pattern,folder>
package main
import (
"fmt"
)
func main(){
slice := []int{0,1,2,3}
fmt.Println(slice)
package main
import (
"fmt"
)
func main(){
slice := []int{0,1,2,3}
fmt.Println(slice)
package main
import (
"fmt"
)
func main(){
slice := []int{0,1,2,3}
fmt.Println(slice)
@pgaijin66
pgaijin66 / gist:f0f65f2e4fc078635496ed4cf735d682
Last active March 1, 2023 09:36
Draw on screen using OpenCV and Handgesture.
# DO NOT REMOVE THESE TWO LINES.
# Disabling hardward transform flag for OpenCV package. This needs to be done before importing OpenCV package.
# This will stop slow startup and initialization behaviour effectively making webcam initialize faster.
# See more: https://github.com/opencv/opencv/issues/17687
import os
os.environ["OPENCV_VIDEOIO_MSMF_ENABLE_HW_TRANSFORMS"] = "0"
# Now import openCV package
import cv2
import mediapipe as mp