Skip to content

Instantly share code, notes, and snippets.

# nanodet-plus-m_320
# COCO mAP(0.5:0.95) = 0.270
# AP_50 = 0.418
# AP_75 = 0.281
# AP_small = 0.083
# AP_m = 0.278
# AP_l = 0.451
save_dir: workspace/nanodet-plus-m_320
model:
weight_averager:
[net]
# Testing
#batch=1
#subdivisions=1
# Training
batch=1
subdivisions=1
width=640
height=512
channels=3
void GPhoto::initialize(int id) {
connected = false;
GPContext *context;
context = gp_context_new();
CameraList *list;
Camera **cams;
int ret, count;
ret = gp_list_new (&list);
#include "videommalobject.h"
/**
* Initialize static attributes.
*/
//VideoMMALObject* VideoMMALObject::m_instance{nullptr};
//std::mutex VideoMMALObject::m_mutex;
/**
* TODO: ADD exceptions class & throws
#ifndef VIDEOMMALOBJECT_H
#define VIDEOMMALOBJECT_H
#include <mutex>
#include <iostream>
#include <fstream>
#include <functional>
#include "mmal/mmal.h"
@natxopedreira
natxopedreira / setup OpenVINO 2019R3.txt
Created February 22, 2021 21:40 — forked from KunYi/setup OpenVINO 2019R3.txt
install OpenVINO 2019 R3 on Ubuntu 18.04 with Python3 for demo
# install steps for people_counting demo
# for Ubuntu 18.04 AMD64 & OpenVINO 2019R3
sudo apt update
sudo apt install vim curl wget apt-transport-https net-tools python3 python3-pip
cd Download
curl http://registrationcenter-download.intel.com/akdlm/irc_nas/15944/l_openvino_toolkit_p_2019.3.334.tgz
tar -xvzf l_openvino_toolkit_p_2019.3.334.tgz
cd l_openvino_toolkit_p_2019.3.334/
sudo ./install_GUI.sh
cd /opt/intel/openvino/install_dependencies/
/home/natxo/arduino-1.8.13/arduino-builder -dump-prefs -logger=machine -hardware /home/natxo/arduino-1.8.13/hardware -tools /home/natxo/arduino-1.8.13/tools-builder -tools /home/natxo/arduino-1.8.13/hardware/tools/avr -built-in-libraries /home/natxo/arduino-1.8.13/libraries -libraries /home/natxo/Arduino/libraries -fqbn=teensy:avr:teensy31:usb=serial,speed=96,opt=o2std,keys=es-es -ide-version=10813 -build-path /tmp/arduino_build_876421 -warnings=none -build-cache /tmp/arduino_cache_681101 -verbose /home/natxo/Desktop/BSEC-Arduino-library-1.6.1474/examples/basic/basic.ino
/home/natxo/arduino-1.8.13/arduino-builder -compile -logger=machine -hardware /home/natxo/arduino-1.8.13/hardware -tools /home/natxo/arduino-1.8.13/tools-builder -tools /home/natxo/arduino-1.8.13/hardware/tools/avr -built-in-libraries /home/natxo/arduino-1.8.13/libraries -libraries /home/natxo/Arduino/libraries -fqbn=teensy:avr:teensy31:usb=serial,speed=96,opt=o2std,keys=es-es -ide-version=10813 -build-path /tmp/arduino_build_876421 -warnings
/* set_window_front
On EWMH-compliant window managers, sets the _NET_WM_STATE of the given
window to _NET_WM_STATE_ABOVE to make it stay on top of all others besides
_NET_WM_STATE_FULLSCREEN. If the window manager is not EWMH-compliant,
nothing is done.
Arguments:
Display *disp - a pointer to the X display
Window wind - the window being moved to the front
*/
https://qiita.com/PINTO/items/9c39466b8473da2a27e1
https://github.com/jacopomaroli/intel-neural-compute-stick-2-raspberry-pi-zero
https://solarianprogrammer.com/2019/08/07/cross-compile-opencv-raspberry-pi-zero-raspbian/
@natxopedreira
natxopedreira / gist:f5467dea8b9f267e0a39e0cad422e37d
Last active July 4, 2020 14:42
docker compilar openvino opencv
FROM debian:buster
USER root
RUN dpkg --add-architecture armhf && \
apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
crossbuild-essential-armhf \
git \