All Projects → paroj → ObjRecPoseEst

paroj / ObjRecPoseEst

Licence: other
Object Detection and 3D Pose Estimation

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ObjRecPoseEst

Mtcnn
face detection and alignment with mtcnn
Stars: ✭ 66 (-7.04%)
Mutual labels:  recognition, detection
Lc Finder
An image annotation and object detection tool written in C
Stars: ✭ 163 (+129.58%)
Mutual labels:  recognition, detection
Ccpd
[ECCV 2018] CCPD: a diverse and well-annotated dataset for license plate detection and recognition
Stars: ✭ 1,252 (+1663.38%)
Mutual labels:  recognition, detection
Text Image Augmentation
Geometric Augmentation for Text Image
Stars: ✭ 333 (+369.01%)
Mutual labels:  recognition, detection
timeline
Timeline - A photo organizer
Stars: ✭ 39 (-45.07%)
Mutual labels:  recognition, detection
Tensorflowandroiddemo
TensorFlow android demo 车道线 车辆 人脸 动作 骨架 识别 检测 抽烟 打电话 闭眼 睁眼
Stars: ✭ 589 (+729.58%)
Mutual labels:  recognition, detection
Simpsonrecognition
Detect and recognize The Simpsons characters using Keras and Faster R-CNN
Stars: ✭ 131 (+84.51%)
Mutual labels:  recognition, detection
Labelbox
Labelbox is the fastest way to annotate data to build and ship computer vision applications.
Stars: ✭ 1,588 (+2136.62%)
Mutual labels:  recognition, detection
VideoRecognitionTracking
Real time object or face detection recognition and tracking in video. The Full end-to-end project.
Stars: ✭ 36 (-49.3%)
Mutual labels:  recognition, detection
Hand-Digits-Recognition
Recognize your own handwritten digits with Tensorflow, embedded in a PyQT5 GUI. The Neural Network was trained on MNIST.
Stars: ✭ 11 (-84.51%)
Mutual labels:  recognition, detection
Php Opencv Examples
Tutorial for computer vision and machine learning in PHP 7/8 by opencv (installation + examples + documentation)
Stars: ✭ 333 (+369.01%)
Mutual labels:  recognition, detection
etiketai
Etiketai is an online tool designed to label images, useful for training AI models
Stars: ✭ 63 (-11.27%)
Mutual labels:  recognition, detection
keras cv attention models
Keras/Tensorflow attention models including beit,botnet,CMT,CoaT,CoAtNet,convnext,cotnet,davit,efficientdet,efficientnet,fbnet,gmlp,halonet,lcnet,levit,mlp-mixer,mobilevit,nfnets,regnet,resmlp,resnest,resnext,resnetd,swin,tinynet,uniformer,volo,wavemlp,yolor,yolox
Stars: ✭ 159 (+123.94%)
Mutual labels:  recognition, detection
Tika Python
Tika-Python is a Python binding to the Apache Tika™ REST services allowing Tika to be called natively in the Python community.
Stars: ✭ 997 (+1304.23%)
Mutual labels:  recognition, detection
Labelimg
🖍️ LabelImg is a graphical image annotation tool and label object bounding boxes in images
Stars: ✭ 16,088 (+22559.15%)
Mutual labels:  recognition, detection
DecisionAmbiguityRecognition
Deep learning AI, that recognizes when are people uncertain
Stars: ✭ 16 (-77.46%)
Mutual labels:  recognition, detection
farm-animal-tracking
Farm Animal Tracking (FAT)
Stars: ✭ 19 (-73.24%)
Mutual labels:  recognition, detection
detection
Detection in the form of Yara, Snort and ClamAV signatures.
Stars: ✭ 70 (-1.41%)
Mutual labels:  detection
FCOS.Pytorch
fcos implementation in pytorch1.x
Stars: ✭ 84 (+18.31%)
Mutual labels:  detection
clap-detection
Simple clap rhythm detection on Raspberry Pi using Csound and Python. Toy example.
Stars: ✭ 29 (-59.15%)
Mutual labels:  detection

This is the code used to compute the results for the CVPR paper

@inproceedings{wohlhart15,
  author = "Paul Wohlhart and Vincent Lepetit",
  title = {{Learning Descriptors for Object Recognition and 3D Pose Estimation}},
  booktitle = {{Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition}},
  year = 2015
}

or more precisely a refactored but functionally equivalent version thereof.

Thus far, there is no documentation, except for the sporadic, cryptic comments in the code. As soon as people start using this code and get back to me with questions, I will try to assemble a combination of tutorial and FAQ at the project website: https://www.tugraz.at/institute/icg/research/team-lepetit/research-projects/object-detection-and-3d-pose-estimation/

Additionally, I would like to make you aware of the efforts by Yida Wang to implement the above mentioned paper using a combination of opencv and caffe and contributing to both. At this point there is an initial pull request for the triplet loss layer: BVLC/caffe#2603

Disclaimer

This code is released under LPGLv3.0 (see lgpl-3.0.txt)

Additionally, note that running this code might cause unpleasent and unexpected output ranging from killing your kitten to the most unprobable events like turning a nuclear missile into a sperm whale or petunia.

Also, keep in mind this is my first project in python. If you find chunks making you feel "that's not how you do that in python", please go ahead and tell me about it.

Basic Requirements / Installation

  1. You need theano up and running (http://deeplearning.net/software/theano/)

  2. The project consists of two parts: TheanoNetCore and ObjRecPoseEst

    • ObjRecPoseEst is the application containing the logic to load and preprocess data, define a network, train and test it, visualize filters and sample results and output performance curves.
      It builds on TheanoNetCore which needs to be in the PYTHON_PATH to run any of the main routines of ObjRecPoseEst.
    • TheanoNetCore is our attempt to build a CNN specification/training/running framework on top of theano. (Had things like lasagne been around when we started, we would probably just have used that, but now we are stuck with our own stuff, and honestly I dont think its so bad.)
      TheanoNetCore was "designed" (ie. hacked away) with the idea to be very flexible. We dont impose any data-format other than the basic input to a theano function, which is essentially a numpy ndarray. Networks can be specified in config files, but dont have to be. There is functionality to specify, train, save, load and test networks. There are definitions for a number of different kinds of layers. With the recent additional of DAGNetworks (directed acyclic graph) the networks can even be quite complex in structure.
      There is a trainer taking care of training the network. Currently it's doing too much. Optimizers and Cost functions are not yet pulled into separate modular and interchangable entities. (That's a TODO).
      Additionally, there is a MacroBatchManager taking care of swapping in and out sets of minibatches (macro batches) if the whole training set (in addition to the network itself) is too large to fit into GPU all at once.
  3. You need my version of the LineMOD data
    Download the data from our project page https://www.tugraz.at/institute/icg/research/team-lepetit/research-projects/object-detection-and-3d-pose-estimation/
    Additionally you need the color images (colorXXX.jpg) of the test sequences from the original LineMOD dataset: http://campar.in.tum.de/Main/StefanHinterstoisser (median filtered versions of the corresponding depth data are included in the tars as pngs)

Main Workflow - to get the results of the paper

> cd ObjRecPoseEst 
> mkdir data/results/linemod_realandsynth_o15_dagnet
> cd src 

Adjust the path to the LineMOD data (lmDataBase) in linemod_ras_o15_rgbd_dagnet_simple.ini

> python main_train_dagnet.py ../configs/linemod_ras_o15_rgbd_dagnet_simple.ini 
> python main_test.py ../data/results/linemod_realandsynth_o15_dagnet/

For a simple demo on only 3 objects, 3-dim descriptors and only a few epochs of training (and thus to check if everything works) try the config file linemod_ras_o3_rgbd_dagnet.ini

TODO

Things I wanted to get done before releasing the code, but apparently wont get around to

Overall

  • Use logging instead of just printing everywhere

main_train_dagnet.py

  • Use loading and saving of networks, instead of pickling them a as a whole (which makes problems, for instance, when you move them between computers where you dont have the exact same theano version)

TheanoNetCore

  • Introduce Cost layers instead of computing the cost in the trainer
  • Move the optimization scheme from the trainer to reusable and exchangeable Optimizers
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].