サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
猫
note.sonots.com
Objective-C Wrappers for C++ Classes <概要> Mac の開発業務では、C++ で記述されたライブラリを、 Objective-C 言語から利用したくなることが多々あります。 この時、通常は次の2つのアプローチのうち、どちらかを選びます。 1. 主開発言語を Objective-C ではなく Objective-C++ としてしまう。 2. 主開発言語はObjective-C のままで、C++ への橋渡しをするラッパー部分だけ Objective-C++ を使用する。 手法 1. は簡単に実現できますが、全体を Objective-C++ で開発することにしてしまうと、 2つのスタイルのオブジェクト指向言語が混ざり、設計が複雑、かつデバグが難しくなります(と思っています)。 手法 2. を実現するためには、多少複雑なトリックを必要とします。 やっとのこと
getopt for windows This is a port of UNIX getopt for Visual C++ (probably works in others too though). wingetopt.h /* POSIX getopt for Windows AT&T Public License Code given out at the 1985 UNIFORUM conference in Dallas. */ #ifdef __GNUC__ #include <getopt.h> #endif #ifndef __GNUC__ #ifndef _WINGETOPT_H_ #define _WINGETOPT_H_ #ifdef __cplusplus extern "C" { #endif extern int opterr; extern int opt
Initial Settings All emacsen ;; ;;; M-x shell の設定 ;; ;;; Cygwin の bash を使う場合 ;(setq explicit-shell-file-name "bash.exe") ;(setq shell-file-name "sh.exe") ;(setq shell-command-switch "-c") ;(add-hook 'shell-mode-hook ; (lambda () ; (set-buffer-process-coding-system 'japanese-shift-jis-unix ; 'japanese-shift-jis-unix))) ;(add-hook 'shell-mode-hook ; (lambda () ; (set-buffer-process-coding-system '
Abstract This utility merges vec files created by OpenCV haartraining/createsamples utility. Tag: OpenCV haartraining How to use mergevec.exe <collection_file_of_vecs> <output_vec_filename> [-show] [-w <sample_width = 24>] [-h <sample_height = 24>] Tips: You may execute a find command as $ find <dir> -name '*.vec' > <collection_file_of_vecs> to create a collection file. Examples $ find samples/ -n
Objective The OpenCV library provides us a greatly interesting demonstration for a face detection. Furthermore, it provides us programs (or functions) that they used to train classifiers for their face detection system, called HaarTraining, so that we can create our own object classifiers using these functions. It is interesting. However, I could not follow how OpenCV developers performed the haar
Naotoshi Seo Welcome to my note site. SciSoftware Scientific software or projects or experiments on my graduate days TechNotes Notes for computing things. MathNotes Mathematical notes. Undergrad Software(s) developed on my undergrad days. About About Me RecentChanges Recently changed pages
このページを最初にブックマークしてみませんか?
『Naotoshi Seo』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く