'프로그램 사용'에 해당되는 글 2623건

  1. 2025.10.06 ntopng nic 어디서 봐야하나?
  2. 2025.10.06 rtl-sdr v3/v4
  3. 2025.10.05 ntopng 인터페이스 변경
  4. 2025.10.02 얼굴인식 관련 조사
  5. 2025.09.30 ncurse screen size
  6. 2025.09.27 gstreamer gstnavigation
  7. 2025.09.26 wifi sdr - openwifi, antsdr 등등
  8. 2025.09.25 gr-lora with gnuradio 성공!
  9. 2025.09.25 gnuraduio wx gui deprecated
  10. 2025.09.25 qr-lora tutorial
프로그램 사용/ntopng2025. 10. 6. 11:14

 

 

도움말 찾아보면 6.5가 최신인것 같은데 ubuntu 22.04 라 그런가 5.2가 설치된다. 

armbian쪽도   동일하게 깨지는걸 보면 그리 버전이 높지 않았던것 같고..

pfsense가 유독 신버전을 해주는건가?

[링크 : https://www.ntop.org/guides/ntopng/user_interface/network_interface/index.html]

 

+

6.5로 설치하고 나니 상단에 잘나온다.

그나저나 저.. license expires in ... 머냐 이거??

'프로그램 사용 > ntopng' 카테고리의 다른 글

ntopng 유료기능  (0) 2025.10.06
ntopng ubuntu 22.04 신버전 설치  (0) 2025.10.06
ntopng 인터페이스 변경  (0) 2025.10.05
Posted by 구차니
프로그램 사용/rtl-sdr2025. 10. 6. 11:01

용돈도 생겼겠다(?) 질러보고 싶어서 보는데

v3 랑 v4랑 오히려 튜너 칩의 파트명 숫자가 줄어들어서, 오히려 반대 아냐? 싶은 생각에 찾아보는 중.

[링크 : https://www.rtl-sdr.com/rtl-sdr-blog-v4-dongle-initial-release/comment-page-1/]

[링크 : https://www.rtl-sdr.com/buy-rtl-sdr-dvb-t-dongles/]

 

RTL-SDR 블로그 RTL SDR V4 R828D RTL2832U 1PPM TCXO SMA RTLSDR 소프트웨어 정의 라디오 (동글 전용)

[링크 : https://ko.aliexpress.com/item/1005005952682051.html?gatewayAdapt=glo2kor]

 

RTL-SDR 블로그 RTL SDR V3 R860(R820T2) RTL2832U 1PPM TCXO SMA RTLSDR 소프트웨어 정의 라디오(동글만 해당)

[링크 : https://ko.aliexpress.com/item/32939551915.html?gatewayAdapt=glo2kor]

'프로그램 사용 > rtl-sdr' 카테고리의 다른 글

ats mini v4  (0) 2026.03.31
wifi sdr - openwifi, antsdr 등등  (0) 2025.09.26
gr-lora with gnuradio 성공!  (0) 2025.09.25
gnuraduio wx gui deprecated  (0) 2025.09.25
qr-lora tutorial  (0) 2025.09.25
Posted by 구차니
프로그램 사용/ntopng2025. 10. 5. 21:42

odroid-c2에 깔았는데 예상외로 너무 느려서, 원격지에서 접속해야 하나 고민중.

 

docker 에서는 아래와 같이 인터페이스 넘겨주면 된다는데

docker run -it -p 3000:3000 -v $(pwd)/ntopng.license:/etc/ntopng.license:ro --net=host ntop/ntopng:latest -i eth0

[링크 : https://hub.docker.com/r/ntop/ntopng]

 

odroid-c2 / armbian에서는

/etc/ntopng.conf 에 존재하고, 아래의 내용이 있었는데 -i 에 반복적으로 모니터링할 장치들을 넣어주면 된다.

그나저나 odroid c2에서는 왜 eth0가 아니라 end0로 되어있어서 순간 멘붕...

#       -i|--interface
#        Specifies  the  network  interface or collector endpoint to be used by ntopng for network
#        monitoring. On Unix you can specify both the interface name  (e.g.  lo)  or  the  numeric
#        interface id as shown by ntopng -h. On Windows you must use the interface number instead.
#        Note that you can specify -i multiple times in order to instruct ntopng to create  multi-
#        ple interfaces.
#
# -i=eth1
-i=eno1
-i=eno2
-i=lo
-i=tcp://127.0.0.1:5556

[링크 : https://www.ntop.org/guides/ntopng/cli_options/cli_options_example.html]

 

동일 파일이긴 한데.. 이런 설정은 없었으나, 한번 해봐야겠네

0.0.0.0:3000 하면 모두 접속 가능하려나?

# Listen on localhost:3000 only
--http-port=:3000

 

raspi-conf 같은 느낌의 ntopng 설정용 유틸이라는데 이것도 있으면 좋겠네

$ sudo ntopng-config

[링크 : https://www.ntop.org/guides/ntopng/how_to_start/configuration_file.html]

 

+

2025.10.06

$ cat /etc/ntopng.conf 
# This configuration file is similar to the command line, with the exception
# that an equal sign '=' must be used between key and value. Example: -i=p1p2
# or --interface=p1p2 For options with no value (e.g. -v) the equal is also
# necessary. Example: "-v=" must be used.
#
# DO NOT REMOVE the following option, required for daemonization.
-e=

# * Interfaces to sniff on: one interface per line, prefix with -i=
# E.g.
#-i=eth0
#-i=wlan0
# If none is specified, ntopng will try to auto-detect the best interface.
#
# * Port on which ntopng will listen for the web-UI.
-w=3000

 

ntopng-config 는 어디서 설치해야 하냐 -_-

$ ntopng-config
ntopng-config: 명령을 찾을 수 없습니다
$ apt-cache search ntopng-config
$ apt-cache search ntopng
ntopng - High-Speed Web-based Traffic Analysis and Flow Collection Tool
ntopng-data - High-Speed Web-based Traffic Analysis and Flow Collection Tool (data files)
ntopng-doc - High-Speed Web-based Traffic Analysis and Flow Collection Tool (documentation)

'프로그램 사용 > ntopng' 카테고리의 다른 글

ntopng 유료기능  (0) 2025.10.06
ntopng ubuntu 22.04 신버전 설치  (0) 2025.10.06
ntopng nic 어디서 봐야하나?  (0) 2025.10.06
Posted by 구차니

 

2단계: 특징점 추출과 벡터 변환
감지된 얼굴에서 고유한 특징을 추출하는 단계입니다. 눈 코 입의 위치와 형태 얼굴 윤곽선 그리고 각 부위 간의 거리와 비율 등이 수치화됩니다. 현재는 딥러닝 기반의 임베딩(Embedding) 기술을 통해 얼굴의 특징을 고차원 벡터로 변환합니다. 이 벡터는 개인마다 고유한 값을 가지며 얼굴인식의 핵심 데이터가 됩니다.

Siamese Network와 학습 방식
최신 얼굴인증 시스템에서는 Siamese Network 구조가 널리 사용됩니다. 이는 동일한 가중치를 공유하는 두 개의 신경망이 각각 서로 다른 얼굴 이미지를 처리한 후 그 결과를 비교하는 방식입니다. Triplet Loss 함수를 사용하여 같은 사람의 얼굴 간 거리는 가깝게 다른 사람의 얼굴 간 거리는 멀어지도록 학습시킵니다.

[링크 : https://www.alchera.ai/resource/blog/face-authentication-628a0]

 

DeepFace는 2014 년 Facebook 연구 그룹이 만든 심층 컨볼루션 신경망을 기반으로 하는 안면 인식 시스템입니다. 디지털 이미지에서 사람의 얼굴을 식별합니다. 97 %의 정확도로 얼굴 인식에 딥 러닝을 사용하는 것이 큰 도약이었습니다.

DeepID 또는 "Deep hidden IDentity 기능"은 Yi Sun 등에 의해 처음 설명 된 일련의 시스템 (예 : DeepID, DeepID2 등)입니다. 2014 년 논문에서“1 만개의 클래스를 예측하는 심층 학습 얼굴 표현”이라는 제목의 논문에서 시스템은 DeepFace와 유사하게 처음 설명되었지만 대조적인 손실을 통한 교육을 통해 식별 및 검증 작업을 모두 지원하도록 확장되었습니다.

VGGFace (더 나은 이름이 없음)는 Omkar Parkhi 등이 개발했습니다. 옥스포드의 VGG (Visual Geometry Group)의 2015년 논문 인 "Deep Face Recognition (딥 얼굴 인식)"에 설명되어 있습니다. 더 잘 조정 된 모델 외에도 작업의 초점은 매우 큰 훈련 데이터 세트를 수집하고 사용하는 방법에 있었습니다. 이를 통해 얼굴 인식을 위한 매우 깊은 CNN 모델을 훈련시켜 표준 데이터 세트에서 최첨단 결과를 얻을 수 있었습니다.

FaceNet은 2015 년 Google 연구원이 개발한 얼굴 인식 시스템으로, 다양한 얼굴 인식 벤치 마크 데이터 세트에서 최첨단 결과를 달성했습니다. FaceNet 시스템은 모델의 여러 타사 오픈 소스 구현 및 사전 훈련된 모델의 가용성 덕분에 광범위하게 사용할 수 있습니다.

[링크 : https://jjeongil.tistory.com/830]

 

딥러닝을 이용하는 최근의 방법들도 종래의 "PCA(Principle Component Analysis)와 ICA(Independent Component Analysis)"와 유사한 방법을 사용하는데, 오토인코더(Autoencoder)와 같은 인공신경망도 낮은 차원의 벡터로 얼굴 정보를 임베딩(Embedding)하여 차원을 축소한다.<

[링크 : https://mangastorytelling.tistory.com/entry/ITFIND-인공지능과-얼굴-정보-처리-기술]

 

yolo face

[링크 : https://github.com/YapaLab/yolo-face]

 

 

Face PSIM 

[링크 : https://www.axxonsoft.com/products/integration/face-recognition]

 

Physical Security Information Management

[링크 : https://www.ifsecglobal.com/psim/]

 

ResNet-50 / ResNet-100
Inception-ResNet
MobileNetV2 (모바일용)
EfficientNet (경량 고성능)

FaceNet (Google, 2015)
ArcFace (DeepInsight, 2018)
InsightFace (2020~)

[링크 : https://techoutside.co.kr/58]

 

arcface

[링크 :https://blog.naver.com/damtaja/223590383667] learnopencv 번역

 

평균제곱 차이 유사도 - msd(mean squared difference)
코사인 유사도
피어슨 유사도 - 코사인 유사도의 단점 보완

[링크 : https://blog.naver.com/thinkhong99/222629093644]

 

자카드 유사도(jaccard Similarity) - 두 벡터의 교집합/합집합을 구함
코사인 유사도

[링크 : https://blog.naver.com/smmok/222439545464]

 

 

jaccard index
euclidean distance
cosine similarity
- 임베딩이라고 하는 벡터값 필요

TD-IDF
Wiord2vec
Doc2Vec
ELMo (신경망 기반)
BERT (신경망 기반, 자연어 처리 최고 성능)

[링크 : https://medium.com/cdri/머신러닝-모델로-성분-규제-데이터-의미있게-활용하기-be56461eab2c]

 

픽셀 기반 유사도 측정 - MSE(Mean Squared Error)
픽셀 기반 방법 - PSNR (Peak SNR) , MSE 기반으로 SNR 을 계산
구조기반 - SSIM (Structural Similarity Index) - 밝기 대비 구조를 이용
특징기반 - SIFT (Scale-Invariant Feature Transform) - 특징점 추출 매칭
특징기반 - SURF (Speeded Up Robust Features) - SIFT 대안, openCV 3.4.2 이상 비활성화됨(옵션활성화 후 빌드하면 사용가능)
벡터공간 - 코사인 유사도, hamming distance(이진벡터간의 차이를 측정)

[링크 : https://pupbani.tistory.com/285]

 

거리기반
- 유클리디안 거리 (최단거리)
- 맨하튼 거리 (직각거리)
- 체비쇼프 거리 (가징 긴 거리)
- 민코프스키 거리 (?????)
- 하버사인 거리 (구체의 표면 이동 거리)

관계기반
- 코사인 유사도
- 해밍거리 (두 비트열에 서로 다른 기호의 개수로 산출)
- 자카드 인덱스 (합집합과 교집합의 비율로 산출)
- 소렌슨-다이슨 인덱스 (공통 원소 와 평균 원소의 비율)

[링크 : https://blog.skby.net/유사도-측정법-similarity-measure/]

 

 

[링크 : https://t2match.kr/wp-content/uploads/ETRI_AI_01_face_recognition_tech.pdf]

[링크 : https://지산학부산.kr/data/market/367.pdf]

'프로그램 사용 > yolo_tensorflow' 카테고리의 다른 글

QAT, PTQ .. 모델 경량화  (0) 2026.05.14
unet  (0) 2026.05.06
keras - transfer learning / fine tuning  (0) 2025.09.17
keras ssd mobilenet  (0) 2025.09.16
mobilenet 학습시키기 with keras, tensorflow  (0) 2025.09.15
Posted by 구차니
프로그램 사용/ncurses2025. 9. 30. 20:18

nc나 make menuconfig 처럼 실행시 혹은 동적으로 창 크기나 비율을 어떻게 조절하나 궁금해짐

 

Name
getyx, getparyx, getbegyx, getmaxyx - get curses cursor and window coordinates

Synopsis
#include <curses.h>

void getyx(WINDOW *win, int y, int x);
void getparyx(WINDOW *win, int y, int x);
void getbegyx(WINDOW *win, int y, int x);
void getmaxyx(WINDOW *win, int y, int x);

[링크 : https://linux.die.net/man/3/getmaxyx]

[링크 : https://stackoverflow.com/questions/1811955/ncurses-terminal-size]

'프로그램 사용 > ncurses' 카테고리의 다른 글

ncurse 마우스 이벤트 처리  (0) 2026.01.29
ncurse window 관리 함수  (0) 2026.01.28
ncurses 상자 및 색상 적용하기  (0) 2024.12.02
ncurses 예제  (0) 2024.11.30
ncurse example  (0) 2022.05.17
Posted by 구차니

dvb 재생등을 위해 마우스 이벤트를 처리할 수 있을 것 같은데

navigationtest 라는 엘리먼트는 보이는데 이게 gstnavigation과 같은건가 확신이 안선다.

 

[링크 : https://gstreamer.freedesktop.org/documentation/video/gstnavigation.html?gi-language=c]

[링크 : https://gstreamer.freedesktop.org/documentation/plugin-development/advanced/events.html?gi-language=c]

[링크 : https://gstreamer.freedesktop.org/documentation/navigationtest/index.html?gi-language=c]

'프로그램 사용 > gstreamer' 카테고리의 다른 글

GstPipelineStudio on odroidc2  (0) 2025.09.21
GstPipelineStudio install on armbian  (0) 2025.09.20
GstPipelineStudio install 실패  (0) 2025.09.20
gstpipelinestudio  (0) 2025.09.11
gstreamer 기초  (0) 2025.08.27
Posted by 구차니
프로그램 사용/rtl-sdr2025. 9. 26. 12:17

 

openwifi: Linux mac80211 compatible full-stack IEEE802.11/Wi-Fi design based on SDR (Software Defined Radio).


[링크 : https://github.com/open-sdr/openwifi]

[링크 : https://openwifi.tech/]

 

ADALM-PLUTO

reddit에서 검색하다가 얼핏 pluto가 보였는데 이거인듯.

[링크 : https://www.digikey.kr/ko/products/detail/analog-devices-inc/ADALM-PLUTO/6624230]

 

pynq + antsdr

[링크 : https://github.com/MicroPhase/antsdr-pynq]

 

UHD가 The USRP™ Hardware Driver Repository 의 약자인가?

[링크 : https://github.com/EttusResearch/uhd]

 

일종의.. wifi 해킹 펌웨어라고 보면되려나?

Nexmon is our C-based firmware patching framework for Broadcom/Cypress WiFi chips that enables you to write your own firmware patches, for example, to enable monitor mode with radiotap headers and frame injection.

[링크 : https://github.com/seemoo-lab/nexmon]

'프로그램 사용 > rtl-sdr' 카테고리의 다른 글

ats mini v4  (0) 2026.03.31
rtl-sdr v3/v4  (0) 2025.10.06
gr-lora with gnuradio 성공!  (0) 2025.09.25
gnuraduio wx gui deprecated  (0) 2025.09.25
qr-lora tutorial  (0) 2025.09.25
Posted by 구차니
프로그램 사용/rtl-sdr2025. 9. 25. 11:45

bandwidth 와 offset이 주요 포인트였네

채널당 125kHz 라서 bw는 125k로 넣으면 되고

offset은 variable 을 검색해서 추가하고 gqrx 에서 Peak Hold 를 켜주고 나서 어느정도 시간 수집한 이후

중심 주파수를 계산해서 원래의 주파수에서 얼마나 이동했는지를 계산하면 된다.

 

시작 꼭지가 대충 921.417로 측정되고

끝 꼭지가 대충 921.590으로 측정되니

중간은 average() 함수로 계산하고 차를 계산하면 대충 30khz. 물론 실험적으로 조금씩 이동더 시켜서 되긴했는데

이게 가끔(?) 오류나는 이유이려나?

[링크 : https://github.com/rpp0/gr-lora/wiki/Capturing-LoRa-signals-using-an-RTL-SDR-device]

 

wireshark 와 연결하기 위해서는

gnu radio 에서 'A 돋보기' 눌러 "Message Socket Sink"를 찾아 추가하고

LoRa Receiver의 오른쪽 frames와

Message Socket Sink의 왼쪽 in을 연결하고

 

wireshark의 Loopback:lo 에서 열어주면 된다.

 

먼가 파형도 보이고 ping도 보이고. 그런데 간헐적으로 piO/ 식으로 잘못 해석하는데 이유가 멀까나..

 

자세히 보면 내가 설정한 decimation 값과 매칭이 되지 않는걸로 나온다.

bandwidth를 맞춰주면 자동으로 bit per symbol , bins per symbol, samples per symbol, decimation 등이 계산되는 듯.

Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Fitipower FC0012 tuner
Exact sample rate is: 1000000.026491 Hz
Bits (nominal) per symbol:  5
Bins per symbol:  1024
Samples per symbol:  8192
Decimation:  8
Allocating 15 zero-copy buffers
 11 21 00 70 69 6e 67 70 6f 6e 67 70 69 6e 67 70 6f 6e 67 0a (pingpongpingpong)

 

Message Socket Sink에 보면 Layer를 선택가능하게 되어있는데

 

TAP / PHY / MAC 세가지가 나온다.

 

LoRa TAP을 선택하면 아래와 같이 나오는데, 옵션들 중에서는 가장 길다.

아마도 LoRa 패킷 전체를 보여주는데 wireshark에서 해석을 못하는게 아닐뿐인가 생각된다.

 

LoRa PHY을 선택하면 데이터 앞에 11 21 00 정도 추가되어 나오고

 

LoRa MAC을 선택하면 순수한 데이터만 나온다.

 

'프로그램 사용 > rtl-sdr' 카테고리의 다른 글

rtl-sdr v3/v4  (0) 2025.10.06
wifi sdr - openwifi, antsdr 등등  (0) 2025.09.26
gnuraduio wx gui deprecated  (0) 2025.09.25
qr-lora tutorial  (0) 2025.09.25
rtlsdr + gnuradio + lora 일단.. 실패  (0) 2025.09.24
Posted by 구차니
프로그램 사용/rtl-sdr2025. 9. 25. 10:27

gnu radio 3.10 / ubuntu 22.04 사용중인데

wx gui  라는게 안보여서 찾아보니 3.8 오면서 사라졌다고 한다.

대신 qt로 대체 된다고.

 

From 3.7 to 3.8

When a flowgraph which has been generated by version 3.7 is opened in GRC version 3.8, much of the conversion process is done automatically. However, there are certain things which must be updated by hand.
  • WX GUI blocks: Since the WX GUI blocks are deprecated in version 3.8, the user must find corresponding blocks in the QT GUIs.
  • If blocks have different names between versions 3.7 and 3.8, they must be replaced by hand.

[링크 : https://wiki.gnuradio.org/index.php/Porting_Existing_Flowgraphs_to_a_Newer_Version]

[링크 : https://stackoverflow.com/questions/61355913/wx-gui-fft-sink-missing-in-gnc-for-windows]

'프로그램 사용 > rtl-sdr' 카테고리의 다른 글

wifi sdr - openwifi, antsdr 등등  (0) 2025.09.26
gr-lora with gnuradio 성공!  (0) 2025.09.25
qr-lora tutorial  (0) 2025.09.25
rtlsdr + gnuradio + lora 일단.. 실패  (0) 2025.09.24
osmo sdr  (0) 2025.09.22
Posted by 구차니
프로그램 사용/rtl-sdr2025. 9. 25. 00:13

offset을 측정해줘야 하는 듯. 비싼거 쓰면 안해줘도 된다고 하는데 드럽게 비싼녀석들이라 문제  -_-

udp를 통해 wireshark로 날릴수 있음

그나저나 bandwidth는 왜 도움말에는 없는것일까.

 

options에 grlora_rtlsdr 이 WX GUI를 생성하도록 한 것 같은데

 

어느정도 보정은 해주지만 센터에 맞출수 있도록 offset 변수를 추가해서

중심주파수를 잡도록 보정해주어야 하는 듯.

 

[링크 : https://github.com/rpp0/gr-lora/wiki/Capturing-LoRa-signals-using-an-RTL-SDR-device]

'프로그램 사용 > rtl-sdr' 카테고리의 다른 글

gr-lora with gnuradio 성공!  (0) 2025.09.25
gnuraduio wx gui deprecated  (0) 2025.09.25
rtlsdr + gnuradio + lora 일단.. 실패  (0) 2025.09.24
osmo sdr  (0) 2025.09.22
gnuradio lora  (0) 2025.09.21
Posted by 구차니