semvec/pypi-packages huggingface dataset:
yolov7-easy 0.0.1
Packaged version of the Yolov7 repository
License: MIT
Requires Python: >=3.6
Keywords: machine-learning,deep-learning,pytorch,vision,image-classification,object-detection,yolov7,detector,yolov5

<div align="center">
<h2>
  Yolov7-Pip: Packaged version of the Yolov7 repository  
</h2>
<h4>
    <img width="500" alt="teaser" src="docs/paper.png">
</h4>
</div>

## <div align="center">Overview</div>

This repo is a packaged version of the [Yolov7](https://github.com/WongKinYiu/yolov7) model.
### Installation
```
pip install yolov7detect
```

### Yolov7 Inference
```python
import yolov7

# load pretrained or custom model
model = yolov7.load('yolov7.pt')

# set model parameters
model.conf = 0.25  # NMS confidence threshold
model.iou = 0.45  # NMS IoU threshold
model.classes = None  # (optional list) filter by class

# set image
imgs = 'inference/images'

# perform inference
results = model(imgs)

# inference with larger input size and test time augmentation
results = model(img, size=1280, augment=True)

# parse results
predictions = results.pred[0]
boxes = predictions[:, :4] # x1, y1, x2, y2
scores = predictions[:, 4]
categories = predictions[:, 5]

# show detection bounding boxes on image
results.show()
```
### Citation
```bibtex
@article{wang2022yolov7,
  title={{YOLOv7}: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors},
  author={Wang, Chien-Yao and Bochkovskiy, Alexey and Liao, Hong-Yuan Mark},
  journal={arXiv preprint arXiv:2207.02696},
  year={2022}
}
```
### Acknowledgement
A part of the code is borrowed from [Yolov5-pip](https://github.com/fcakyon/yolov5-pip). Many thanks for their wonderful works.
flask-json-db 0.0.1
A flask extension to log a python object in json file
License: MIT
Requires Python: >=3.7
Keywords: flask-extension,log-variable

flask-json-db
=============

A flask extension to log a variable value inside view in a JSON file


Installation
============

For stable version 
   - pip install flask-json-db

For developement 
   - git clone https://github.com/Agent-Hellboy/flask-json-db
   - cd flask-json-db
   - python -m venv .venv 
   - source .venv/bin/activate

Example
=======

.. code:: py

    from flask import Flask
    from flask_json_db import JSONDB

    app = Flask(__name__)
    app.config["JSONFILE"] = "custom.json" #optional 
    json_db = JSONDB(app)

    @app.route('/')
    def hello_world():
        json_db.write({"landing_view_var":"landing_view_var_value"})
        return 'Hello World'

    @app.route("/home")
    def home():
        json_db.write({"home_var":["jshajdhjs"]})
        return 'ghj'

    @app.route("/new_home")
    def new_home():
        db.write({"new_home_var": "new_home_var_value"})
        return "hjk"

    if __name__ == '__main__':
        app.run()

    open the custom.json and get to know about these variable values

General Info
============

   - I don't know how can it be helpful but it is helpful for me :)

   
Contributing
============

Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.