Skip to main content

Posts

Showing posts from 2018

Detection Test

 I found a top view traffic video on internet for testing the car detection project.Then i downloaded and test it. Program can't detect the top view cars. Here are the example output.
The project I mentioned in my previous post,as a result of my tests with different inputs. The program can detect the car images from the front but can not detect the images from behind. Here are a few examples of output.

Car Detection and Counting Project

In this post I'll tell about conflicting issues in vehicle detection and counting project on GitHub and its sync and run on Windows. Original project link is here = https://github.com/ahmetozlu/vehicle_counting_tensorflow .This project written by Python language on Linux OS. There are the versions of my PC OS ,Python Language and some Python's Libraries Python 3.5 Windows 10 Pro Opencv 3.4.1.15 Numpy 1.14.5 TensorFlow 1.8.0 Scipy 1.1.0 I used to Visual Studio Code as code editor After the open the original project link click download to project then,at debugging there are the conflicting issues and solutions in ongoing lines step by step: 1.problem = TabError: inconsistent use of tabs and spaces in indentation Solution = on the Visual Studio Code click "Alt + Shift + F"(converting tabs into spaces) 2. problem = No module name "image_utils" Solution = I had the to add the utils directory and subfolders PYTHONPATH 3. problem = ...

Python 'cannot import name' Error

I am running a Python project with the following error. ImportError: cannot import name 'X'  There are people on the internet who are experiencied this error.They wrote as a solution proposal that line sys.path.append('path to folder') I added this to code snippet below the imports but it didn't work. Still working on it.

Install OpenCV and TensorFlow-Python

First i would like to brief you about What is OpenCV and TensorFlow. OpenCV (Open Source Computer Vision) is an open source image processing library.The OpenCV library contains more than 2500 algorithms for image processing and machine learning.With these algorithms, facial recognition, discrimination of objects, detection of human movements, object classification, plate identification, operations on three dimensional image can be done easily.OpenCV is a platform independent library that can run on Windows, Linux, FreeBSD, Android, Mac OS and IOS platforms.OpenCV applications can be easily developed with C ++, C, Python, Java, and Matlab programming languages. TensorFlow is Google's open source machine learning library and is used especially for deep learning.In addition to being open source, TensorFlow is preferred because it has a company like Google behind it, and it uses the Python programming language. Projects developed with many machine learning libraries are usually dev...