Skip to content

Instantly share code, notes, and snippets.

import 'package:app/app.dart' as app;
class MarkerID {
final String? markerID;
MarkerID({this.markerID});
}
class Marker {
final MarkerID? markerID;
final void onTap;
@harunkurtdev
harunkurtdev / triangulation.py
Created January 20, 2023 18:45 — forked from davegreenwood/triangulation.py
Triangulate image points to world points comparing openCV to pure python.
from __future__ import print_function
import numpy as np
import cv2
import time
np.set_printoptions(formatter={'float': '{: 0.3f}'.format})
def triangulate_nviews(P, ip):
"""
@harunkurtdev
harunkurtdev / install_nvidia_driver.md
Created May 14, 2021 22:11 — forked from espoirMur/install_nvidia_driver.md
How I fix this issue NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running

I had many driver installed I my virtual machine , so It was actually the reason why I was having the error.

To fix it I had first to remove all driver I have installed before using :

  • sudo apt-get purge nvidia-*

  • sudo apt-get update

-sudo apt-get autoremove After that I when a head and installed the latest version of it nvidia driver: