With the development community leaning a lot towards front-end, and framework like Rails mostly moving to mostly serve back-end, it is important to keep this separation clean and straightforward in a Production environment as well.
We have seen how to build a custom object detector using Faster RCNN with PyTorch. That model performed pretty decently with the IOU of 71%, this can further be improved with little tweaks in training and inference.
With so much advancement in technology and computing power, we are at ease in dealing with many of the supervised learning problems. This learning method requires tons of labeled data and we train our model on this data over and over to learn the pattern. This is effective and extremely performant. But we won’t be having the luxury of labeled data always. In many real-time cases, we will always have unlabeled data and need lots of time and effort to label this manually.
Object Detection is always a hot topic in computer vision and is applied in many areas such as security, surveillance, autonomous vehicle systems, and machine inspection. Widely used object detector algorithms are either region-based detection algorithms (Faster R-CNN, R-FCN, FPN) or single-shot detection algorithms(SSD and YOLO).
Refactoring is nothing but restructuring the existing code such that the existing behavior that is accessed through the outside world, remain the same. It’s often referred to as “under the hood” changes.
One of the sexy features of capistrano if you had used it with Rails is how super simple it is deploy a Rails project. The DSL (Domain Specific Language) it uses is very straightforward for even a beginner to understand. However, with time, Rails at least in our experience has moved mostly to serve the backend alone with the Front end being taken over by the likes of Vue, React etc.,
In a short while, I might be describing what this article is going to be about. But before that, let me tell what this article is “not” about. This is not about service workers or PWA and the caching headaches that come along with it. The problem that we faced is with more of a vanilla Vue JS front end, not able to refresh itself whenever a new deployment happens. Let me try to explain it in a more lucid way.
One might feel limited in Selenium being unable to verify certain things that interacts through XHR Ajax Requests especially when they are http POST calls. This could be applicable when you are trying to crawl a particular website and you are not able to get a certain datapoint because it is hiding behind a XHR Post in the page.