All Projects → qiyinghua → CSI-Tool-Camera-Shooting

qiyinghua / CSI-Tool-Camera-Shooting

Licence: MIT license
CSI Tool同步拍照系统 Support Linux 802.11n CSI Tool and Atheros CSI Tool.This program automatically takes a photo with the camera and attaches the current CSI Packet ID to the photo.

Programming Languages

c
50402 projects - #5 most used programming language
C++
36643 projects - #6 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to CSI-Tool-Camera-Shooting

CsiGAN
An implementation for our paper: CsiGAN: Robust Channel State Information-based Activity Recognition with GANs (IEEE Internet of Things Journal, 2019), which is the semi-supervised Generative Adversarial Network (GAN) for Channel State Information (CSI) -based activity recognition.
Stars: ✭ 23 (+53.33%)
Mutual labels:  csi
quobyte-csi
Quobyte CSI driver
Stars: ✭ 15 (+0%)
Mutual labels:  csi
linode-blockstorage-csi-driver
Container Storage Interface (CSI) Driver for Linode Block Storage
Stars: ✭ 50 (+233.33%)
Mutual labels:  csi
carina
Carina: an high performance and ops-free local storage for kubernetes
Stars: ✭ 256 (+1606.67%)
Mutual labels:  csi
aws-fsx-csi-driver
CSI Driver of Amazon FSx for Lustre https://aws.amazon.com/fsx/lustre/
Stars: ✭ 102 (+580%)
Mutual labels:  csi
csi-nfs
A Container Storage Interface (CSI) plug-in that provides network file system (NFS) support.
Stars: ✭ 32 (+113.33%)
Mutual labels:  csi
vsphere-kubernetes-drivers-operator
vSphere Kubernetes Driver Operator to simplify and automate the lifecycle management of CSI and CPI for Kubernetes cluster running on vSphere
Stars: ✭ 21 (+40%)
Mutual labels:  csi
Data-Science-Resources
A guide to getting started with Data Science and ML.
Stars: ✭ 17 (+13.33%)
Mutual labels:  csi
scaleway-csi
Container Storage Interface (CSI) Driver for https://www.scaleway.com/block-storage/
Stars: ✭ 52 (+246.67%)
Mutual labels:  csi
CSI-KJSCEOfficial
CSI-KJSCE's official android application
Stars: ✭ 14 (-6.67%)
Mutual labels:  csi
csi-driver-nfs
This driver allows Kubernetes to access NFS server on Linux node.
Stars: ✭ 227 (+1413.33%)
Mutual labels:  csi
cstor-csi
cStor CSI Driver
Stars: ✭ 24 (+60%)
Mutual labels:  csi
freenas-iscsi-provisioner
FreeNAS iscsi provisioner
Stars: ✭ 30 (+100%)
Mutual labels:  csi
k8s-csi-lvm
Kubernetes CSI drivers for LVM
Stars: ✭ 25 (+66.67%)
Mutual labels:  csi
moosefs-csi
Container Storage Interface (CSI) for MooseFS
Stars: ✭ 44 (+193.33%)
Mutual labels:  csi
vsphere-csi-driver
vSphere storage Container Storage Interface (CSI) plugin
Stars: ✭ 176 (+1073.33%)
Mutual labels:  csi
juicefs-csi-driver
JuiceFS CSI Driver
Stars: ✭ 117 (+680%)
Mutual labels:  csi
linux-l4t
Linux kernel 3.10 forked from Nvidia Linux4Tegra for the TX1. Branches for L4T 24.2.1. Also available: 23.1 (DEPRECATED), 24.1 (DEPRECATED).
Stars: ✭ 21 (+40%)
Mutual labels:  csi
Data-Structures-and-Algorithms--A-Comprehensive-Guide
Data Structures & Algorithms - A Comprehensive Guide
Stars: ✭ 15 (+0%)
Mutual labels:  csi
synology-csi
Container Storage Interface (CSI) for Synology
Stars: ✭ 136 (+806.67%)
Mutual labels:  csi

CSI-Tool-Camera-Shooting

Support Linux 802.11n CSI Tool and Atheros CSI Tool

What is it used for?

This program is based on Linux 802.11n CSI Tool and Atheros CSI Tool. This program automatically takes a photo with the camera and attaches the current CSI Packet ID to the photo. These photos are saved in a folder with the same name as your CSI data file.

Screenshot

Detail

Install

This code is based on Linux 802.11n CSI Tool http://dhalperi.github.io/linux-80211n-csitool/ or Atheros CSI Tool http://wands.sg/research/wifi/AtherosCSI/. Make sure you have installed it and can use it properly.

Download this project and install Opencv firstly.If you have already installed Opencv, go directly to Step 6.If you fail to install Opencv according to Step1-Step5, please find other installation help on the Internet. Please make sure you have successfully installed Opencv before running Step6.

Step 1. Install package

sudo apt-get install build-essential
sudo apt-get install libgtk2.0-dev
sudo apt-get install pkg-config 
sudo apt-get install cmake

Step 2. Unzip Opencv

   Run commands under CSI-Tool-Camera-Shooting folder:

unzip opencv-2.4.13.6.zip
cd opencv-2.4.13.6/install

Step 3. Compile and install Opencv

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
cmake ..
make
sudo make install

Step 4. Configuration Opencv

sudo gedit /etc/ld.so.conf.d/opencv.conf

   Then add the /usr/local/lib command to the file.

sudo ldconfig
sudo gedit /etc/bash.bashrc

   Then add the following command to the end of file:

PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig

export PKG_CONFIG_PATH

Step 5. Reboot and finish install Opencv

sudo reboot

Step 6. Compile User APP [ For Linux 802.11n CSI Tool ]

   Use the netlink folder in this code replace to linux-80211n-csitool-supplementary/netlink folder.

   Run commands under linux-80211n-csitool-supplementary/netlink folder:

make

Step 6. Compile User APP [ For Atheros CSI Tool ]

   Use the recvCSI folder in this code replace to Atheros-CSI-Tool-UserSpace-APP/recvCSI folder.

   Run commands under Atheros-CSI-Tool-UserSpace-APP/recvCSI folder:

make

Usage

Parameter: [Camera ID] [Pic Save Interval] [Whether Auto Exit]

[Camera ID]: This parameter controls which camera to use when the computer has multiple cameras.When set to 0, the program will use the first camera.When set to 1, the program will use the second camera. And so on.

[Pic Save Interval]: This parameter controls the speed at which images are saved. When set to 0, the program will save each frame of the camera. When set to 1, the program will save an image every other frame. And so on.

[Whether Auto Exit]: This parameter controls whether the program automatically exits when CSI collect stops.When set to 0,This program will always run. When set to 1,This program will automatically exit when no CSI is acquired within 1 second.

For Linux 802.11n CSI Tool

   So,Run commands under linux-80211n-csitool-supplementary/netlink folder:

./camera 0 0 1

   Then,Start CSI collection program.The camera program will automatically create a new folder with the same name as your CSI data file and save the image to this folder.

sudo ./log_to_file test.dat

For Atheros CSI Tool

   So,Run commands under Atheros-CSI-Tool-UserSpace-APP/recvCSI folder:

./camera 0 0 1

   Then,Start CSI collection program.The camera program will automatically create a new folder with the same name as your CSI data file and save the image to this folder.

sudo ./recvCSI test.dat

Warning 1: You must open or restart camera program firstly,Then start running the CSI collect program.

Warning 2: The program will automatically create a folder to save the image, but cannot be the same as the existing folder name.Otherwise, the program will report an error and automatically exit.

Warning 3: Not all cameras work properly under Linux .

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].