Try to detect fish with python + OpenCV2.4 (unfinished)

motivation

I decided to participate in the Kaggle Competition. The target of this time is only fish, and the idea is that it may be possible to use a method other than Deep. But is it still Faster RCNN that wins ...

environment

Assuming Ubuntu 14.04

Reference article

-Face detection --Not training -Cat detection --I am also training. It's wonderful that you also collect images of cats yourself.

Program to use

https://github.com/mrnugget/opencv-haar-classifier-training

Thank you for using. Basically, follow the instructions in the README.

Notes

Ignore "1." because the environment has already been constructed. Start with "2." For "3." and "4.", be sure to add the -follow option if the positive_images folder is a symbolic link. Put the cropped fish image in positive_images (Kaggle's dataset is not cropped, so you need to do your best to crop it), and put the image without fish in negative_images and execute the following command! find ./positive_images -follow -iname "*.jpg " > positives.txt If an error occurs, "6." can be solved with the following command. find . -empty | xargs rm -rf

Recommended Posts

Try to detect fish with python + OpenCV2.4 (unfinished)
Try to operate Facebook with Python
Try face recognition with python + OpenCV
I want to detect objects with OpenCV
Try to reproduce color film with Python
Try logging in to qiita with Python
[Python] Try to recognize characters from images with OpenCV and pyocr
Try scraping with Python.
Detect stoop with OpenCV
Binarization with OpenCV / Python
Try to solve the man-machine chart with Python
I tried to detect motion quickly with OpenCV
How to crop an image with Python + OpenCV
Try to make a "cryptanalysis" cipher with Python
Try to automatically generate Python documents with Sphinx
The easiest way to use OpenCV with python
Try to make a dihedral group with Python
[Python] How to handle Japanese characters with openCV
[First API] Try to get Qiita articles with Python
Try to make a command standby tool with python
Try to solve the internship assignment problem with Python
Try projective transformation of images using OpenCV with Python
Try to operate DB with Python and visualize with d3
Try to automate pdf format report creation with Python
Try to factorial with recursion
Connect to BigQuery with Python
"Apple processing" with OpenCV3 + Python3
Try edge detection with OpenCV
Image editing with python OpenCV
Camera capture with Python + OpenCV
Try to understand Python self
Try Python output with Haxe 3.2
Connect to Wikipedia with Python
Post to slack with Python 3
[Python] Using OpenCV with Python (Basic)
Face detection with Python + OpenCV
Switch python to 2.7 with alternatives
Write to csv with Python
Try face recognition with Python
Try OpenCV with Google Colaboratory
Using OpenCV with Python @Mac
Try to display various information useful for debugging with python
[AWS] Try adding Python library to Layer with SAM + Lambda (Python)
Try to bring up a subwindow with PyQt5 and Python
Try to automate the operation of network devices with Python
Convert video to black and white with ffmpeg + python + opencv
It's Halloween so I'll try to hide it with Python
Try to decipher the garbled attachment file name with Python
Shining life with Python and OpenCV
Try scraping with Python + Beautiful Soup
Python: How to use async with
[Python] Using OpenCV with Python (Image Filtering)
[Python] Write to csv file with Python
Create folders from '01' to '12' with python
Nice to meet you with python
[Python] Using OpenCV with Python (Edge Detection)
Try singular value decomposition with Python
Output to csv file with Python
Try to profile with ONNX Runtime
Convert list to DataFrame with python
MP3 to WAV conversion with Python