Pular para o conteúdo principal

Postagens

Mostrando postagens de outubro, 2021

Computer Vision with JavaFX and DJL

Computer Vision is not a new topic in Computer Science, but in the recent years it got a boost due the use of Neural Networks for classification, object detection, instance segmentation and pose prediction. We can make use of these algorithms in Java using a Deep Learning library, such as DL4J  as we already did in this blog with  handwritten digits recognition , and detecting objects in a JavaFX application . However, deep learning is popular mostly among Python developers (one reason is because Python easily wraps on top of native libraries, it will be easier in Java after Project Panama ), so we have much more pre-trained models for Tensorflow and Pytorch libraries. It is possible to import them, but it requires a bit more of work then simply reusing a pre-trained model. Fortunately there is a new library called Deep Java Library  which offers a good set of pre-trained models. It makes use of Jupyter , which makes easier to try the library APIs. Another DJL feature ...