Resolved the bug in v1.

This annotation tool mainly focused on the bug number #6 from the github issue.

The bug is when you annotate the same text from the para which is occurred more than two times, the annotation would be take the same index values for all text.

Code: app.py

from flask import Flask, Response
import cv2
app = Flask(__name__)
video = cv2.VideoCapture(0)
@app.route('/')
def index():
return "Default Message"
def gen(video):
while True:
success, image = video.read()
ret, jpeg = cv2.imencode('.jpg', image)
frame = jpeg.tobytes()
yield (b'--frame\r\n'
b'Content-Type: image/jpeg\r\n\r\n' + frame + b'\r\n\r\n')
@app.route('/video_feed')
def video_feed():
global video…

colab + flask

In this tutorial, I will explain how to expose the rest api using python flask in Google Colab.

I have used ngrok for making the public ip from our local. So download the ngrok and extract it.

!wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip!unzip -o ngrok-stable-linux-amd64.zip

‘!’ command used for run the linux command…

Chat application but it’s a one way messaging system

This is blog explain how to steaming the message using redis. The Redis is a python library to streaming message with publisher and subscriber. This is a one way chat, don’t have the reply option in this application.

Sender only send…

Speed ​​and accuracy are both improved

The Yolov4 released by Alexey Bochkovskiy and there are a huge number of features which are said to improve Convolutional Neural Network (CNN) accuracy. Practical testing of combinations of such features on large datasets, and theoretical justification of the result, is required. Some features…

What is spaCy(v2):

spaCy is an open-source software library for advanced Natural Language Processing, written in the programming languages Python and Cython. The library is published under the MIT license and currently offers statistical neural network models for English, German, Spanish, Portuguese, French, Italian, Dutch and multi-language NER, as well as tokenization for…

Manivannan Murugavel

Artificial Intelligence and Data Science

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store