<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jon Lopez de Guereña</title>
    <description>The latest articles on DEV Community by Jon Lopez de Guereña (@jonloo).</description>
    <link>https://dev.to/jonloo</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F51467%2F80777c05-575a-4184-a461-5d83c3b824d1.jpg</url>
      <title>DEV Community: Jon Lopez de Guereña</title>
      <link>https://dev.to/jonloo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jonloo"/>
    <language>en</language>
    <item>
      <title>BIM geometries converter</title>
      <dc:creator>Jon Lopez de Guereña</dc:creator>
      <pubDate>Wed, 07 Dec 2022 06:43:44 +0000</pubDate>
      <link>https://dev.to/jonloo/ifc-web-converter-239c</link>
      <guid>https://dev.to/jonloo/ifc-web-converter-239c</guid>
      <description>&lt;p&gt;I made a wrapper around Ifc Open shell, a library that allows you to convert IFC files to other formats (dae, obj, stl, etc) using different options: &lt;a href="https://github.com/jonlo/ifcConverter-web"&gt;github&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It's built on React, Nodejs, three.js and IfcOpenshell.&lt;br&gt;
The backend can be deployed on his own, which can be very useful not only for the web (where there are very good solutions such as ifc.js) but also for unity or unreal applications where plugins for this type of task are quite expensive.&lt;br&gt;
The front allows you to upload and preview your Ifc in a webgl canvas before downloading it.&lt;/p&gt;

&lt;p&gt;It's fully dockerized(into three different containers) and can be deployed anywhere using pm2 to manage the nodejs process, allowing you to work in cluster mode for better perfomance.&lt;/p&gt;

&lt;p&gt;I probably would have done better and faster with gpt3 but I wouldn't have enjoyed the process as much :D&lt;/p&gt;

&lt;p&gt;Give it a try:&lt;br&gt;
&lt;a href="http://ec2-34-249-56-129.eu-west-1.compute.amazonaws.com/ifcconverter"&gt;ifc converter&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>react</category>
      <category>node</category>
      <category>docker</category>
    </item>
    <item>
      <title>I built a website image scraper + AI classifier</title>
      <dc:creator>Jon Lopez de Guereña</dc:creator>
      <pubDate>Fri, 21 Oct 2022 07:56:31 +0000</pubDate>
      <link>https://dev.to/jonloo/i-built-a-website-image-scrapclassifier-llm</link>
      <guid>https://dev.to/jonloo/i-built-a-website-image-scrapclassifier-llm</guid>
      <description>&lt;p&gt;I have been a member of the community in the shadows for many years, and I felt like it was time to write a post 😊.&lt;/p&gt;

&lt;p&gt;As python is one of the vehicular languages in artificial intelligence concerns and it's incredible how AI and ML are improving day by day, I wanted to start learning about this subject.&lt;/p&gt;

&lt;p&gt;At first I thought to start with one of the many python learning websites, but I dont feel like it's the best way to start learning a new lenguage when you already know how to code (just a personal opinion which works for myself). &lt;br&gt;
I prefer to set some goals and then look for the information.⭐&lt;/p&gt;

&lt;p&gt;So I decided to build a tiny pet project to get contextual information about a website based on it's images so i could struggle with python and AI in a more realistic way. &lt;/p&gt;

&lt;p&gt;The application is able to scrap images from any website in order to classify them with tensorflow.&lt;br&gt;
It's built on FastApi to expose a rest api for an easier management, and it's fully dockerized to deploy it anywhere (and not having to fight with CUDA drivers).&lt;/p&gt;

&lt;p&gt;I think it could be useful to create image datasets or just analize websites to get contextual information about them.&lt;/p&gt;

&lt;p&gt;Of course any suggestions are welcome! and feel free to check it out and give it a try 💗&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--566lAguM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/jonlo"&gt;
        jonlo
      &lt;/a&gt; / &lt;a href="https://github.com/jonlo/py-web-image-scraper-classifier"&gt;
        py-web-image-scraper-classifier
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;h1&gt;
py-web-image-scrapper-classifier&lt;/h1&gt;
&lt;h2&gt;
Description&lt;/h2&gt;
&lt;p&gt;This application, exposes an API to scrap and classify images from a given URL.&lt;/p&gt;
&lt;p&gt;It's fully dockerized so you can deploy anywhere.&lt;/p&gt;
&lt;p&gt;You can easily select the tensorflow model to use for the classification by changing the &lt;code&gt;model_name&lt;/code&gt; variable in the imageclassificator.py file.&lt;/p&gt;
&lt;p&gt;The options are:&lt;/p&gt;
&lt;p&gt;/scrap
To scrap the images from the given URL&lt;/p&gt;
&lt;p&gt;/classify
To scrap and classify the images from the given URL&lt;/p&gt;
&lt;p&gt;/image
To get the image from the given URL&lt;/p&gt;
&lt;p&gt;Uses fastapi, tensorflow and uvicorn.&lt;/p&gt;
&lt;h2&gt;
Usage&lt;/h2&gt;
&lt;p&gt;If you have CUDA installed, you can just run uvicorn&lt;/p&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;uvicorn main:app --reload&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;go to &lt;a href="http://localhost:8000/docs" rel="nofollow"&gt;http://localhost:8000/docs&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;
Docker&lt;/h3&gt;
&lt;p&gt;If you don't have CUDA installed, you can use the docker image&lt;/p&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;docker build -t py-web-image-scrapper-classifier &lt;span class="pl-c1"&gt;.&lt;/span&gt;
docker run -p 8000:8000 py-web-image-scrapper-classifier&lt;/pre&gt;

&lt;/div&gt;
&lt;/div&gt;



&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/jonlo/py-web-image-scraper-classifier"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


</description>
      <category>python</category>
      <category>showdev</category>
      <category>programming</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
