Skip to content

Commit 6db6590

Browse files
Update README.md
1 parent 830d8cd commit 6db6590

File tree

1 file changed

+22
-25
lines changed

1 file changed

+22
-25
lines changed

README.md

Lines changed: 22 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ A high-performance C++ implementation of the Bilateral Reference Network (**BiRe
3535
---
3636

3737
## 📂 Project Structure
38-
39-
BiRefNet/ ├── include
40-
│ └── birefnet.h # Main BiRefNet class definition
41-
├── src
42-
│ └── birefnet.cpp # Implementation of the BiRefNet class
43-
├── CMakeLists.txt # CMake configuration
44-
└── main.cpp # Demo application
38+
BiRefNet/
39+
├── include
40+
│ └── birefnet.h # Main BiRefNet class definition
41+
├── src
42+
│ └── birefnet.cpp # Implementation of the BiRefNet class
43+
├── CMakeLists.txt # CMake configuration
44+
└── main.cpp #
4545

4646

4747
- **include/birefnet.h**
@@ -62,11 +62,11 @@ A high-performance C++ implementation of the Bilateral Reference Network (**BiRe
6262

6363
1. **Clone the Repository**
6464

65-
git clone https://github.com/hamdiboukamcha/BiRefNet-Cpp-TensorRT.git
66-
cd BiRefNet-Cpp-TensorRT
67-
mkdir build && cd build
68-
cmake ..
69-
make -j$(nproc)
65+
git clone https://github.com/hamdiboukamcha/BiRefNet-Cpp-TensorRT.git
66+
cd BiRefNet-Cpp-TensorRT
67+
mkdir build && cd build
68+
cmake ..
69+
make -j$(nproc)
7070

7171

7272
## 📦 Dependencies
@@ -108,24 +108,21 @@ BiRefNet::postprocess(...)
108108
Reshapes the raw output into meaningful image data, typically an 8-bit or 32-bit matrix for segmentation.
109109

110110
## 🎬 Usage
111-
Prepare Your Engine
112-
113-
Convert your model to ONNX, then build a TensorRT engine (e.g., using trtexec or a custom builder).
111+
Prepare Your Engine
112+
Convert your model to ONNX, then build a TensorRT engine (e.g., using trtexec or a custom builder).
114113
trtexec --onnx=birefnet_model.onnx --saveEngine=BiRefNet-tiny.engine --fp16
115114

116115
## 📞 Contact
117-
For further inquiries or advanced usage discussions:
118116

119-
Email: your.email@example.com
120-
LinkedIn: Your Name
117+
For advanced inquiries, feel free to contact me on LinkedIn: <a href="https://www.linkedin.com/in/hamdi-boukamcha/" target="_blank"> <img src="assets/blue-linkedin-logo.png" alt="LinkedIn" width="32" height="32"></a>
121118

122119
## 📜 Citation
123120
If you use BiRefNet C++ TENSORRT in your academic work or research, please cite:
124121

125-
@misc{Boukamcha2025BiRefNet,
126-
author = {Hamdi Boukamcha},
127-
title = {BiRefNet C++ TENSORRT},
128-
year = {2025},
129-
publisher = {GitHub},
130-
howpublished = {\url{https://github.com/hamdiboukamcha/BiRefNet-Cpp-TensorRT}}
131-
}
122+
@misc{Boukamcha2025BiRefNet,
123+
author = {Hamdi Boukamcha},
124+
title = {BiRefNet C++ TENSORRT},
125+
year = {2025},
126+
publisher = {GitHub},
127+
howpublished = {\url{https://github.com/hamdiboukamcha/BiRefNet-Cpp-TensorRT}}
128+
}

0 commit comments

Comments
 (0)